I'm trying to use STLPort in one of my projects for PocketPC. I turned off all iostream references in the user config file, but I'm getting some archaic linker errors. The 2 classes that I'm using are <string> and <map>. The linker errors that I get are something similar to:
Looks like it can't find the _S_oom_malloc function. Are the <string> and <map> classes somehow tied to the iostream library or is there some #define that I need to add to get rid of these messages?
Hope someone can help.
-Mark
- Code:
TilesetManager.obj : error LNK2019: unresolved external symbol "private: static void *
__cdecl _STL::__malloc_alloc<0>::_S_oom_malloc
(unsigned int)" (?_S_oom_malloc@?
$__malloc_alloc@$0A@@_STL@@CAPAXI@Z) referenced
in function "public: static void *
__cdecl _STL::__malloc_alloc<0>::allocate(unsigned
int)" (?allocate@?$__malloc_alloc@$0A@@_STL@@SAPAXI@Z)World.obj :
Looks like it can't find the _S_oom_malloc function. Are the <string> and <map> classes somehow tied to the iostream library or is there some #define that I need to add to get rid of these messages?
Hope someone can help.
-Mark