Irrlicht and the STL
-
- Posts: 6
- Joined: Thu May 20, 2004 9:40 pm
Irrlicht and the STL
I tried to use the STL with Irrlicht; "BOOM" and ~100 error messages + stopped compilation. I do know there is a nice vector class in Irrlicht, but this does not compensate for a lot of other containers the STL provides such as the std::map. Is there anyway I get them to work together in DevCpp? I assume this has something to do with the static libraries... Maybe I can download a 3rd party STL implmentation and link with it?
-
- Posts: 6
- Joined: Thu May 20, 2004 9:40 pm
I know this is an old post and I apologize in advance for bringing it back up, but I had encountered a similar problem this morning. Just make sure you include the header you wanted to use before you include the irrlicht header.
ie
That should work it out.
ie
Code: Select all
#include <vector>
...
#include <irrlicht.h>