www.digitalmars.com         C & C++   DMDScript  

c++.stl - DMC & STL

reply =?iso-8859-1?Q?Robert_M=2E_M=FCnch?= <robert.muench robertmuench.de> writes:
Hi, I need to compile some C++ code that uses the STL. I have two  
directories for my DMC installation:

	- STL
	- STLport

It has been some time since I used all the stuff. Some questions:

1. Do I need both of them in that I need to add a -I to both directories?  
In which order?

2. Do I need to build STLport? How?

3. I get an error stating: _alloc.h (134) undefined identifiert __stl_new

IIRC I can configure the STLport stuff somehow. Any hints?

Thanks a lot.

-- 
Robert M. Münch
Management & IT Freelancer
http://www.robertmuench.de
May 30 2008
parent Arjan <arjan ask.me> writes:
Since a while DMC includes/uses stlport.

Upgrade the compiler and tools to the latest/greatest versions and 
download STLPORT through the website. 
http://ftp.digitalmars.com/Digital_Mars_C++/STL/stlport.zip

The zip includes instructions how to use it.

I normally just add the include dir to the sc.ini.

HTH
Arjan Knepper

Robert M. Münch wrote:
 Hi, I need to compile some C++ code that uses the STL. I have two 
 directories for my DMC installation:
 
     - STL
     - STLport
 
 It has been some time since I used all the stuff. Some questions:
 
 1. Do I need both of them in that I need to add a -I to both 
 directories? In which order?
 
 2. Do I need to build STLport? How?
 
 3. I get an error stating: _alloc.h (134) undefined identifiert __stl_new
 
 IIRC I can configure the STLport stuff somehow. Any hints?
 
 Thanks a lot.
 

Jun 17 2008