May 30, 2008 DMC & STL | ||||
---|---|---|---|---|
| ||||
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
|
June 17, 2008 Re: DMC & STL | ||||
---|---|---|---|---|
| ||||
Posted in reply to Robert M. Münch | 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. > |
Copyright © 1999-2021 by the D Language Foundation