R
Ricky Corsi
hello everybody,
I have an application that uses a 3D engine library compiled as a
static library called EnRG.lib. My own code is normally compiled
against the MS Visual C implementation of the stl, and everything
works fine.
I wanted to try to link the same code against the stlport. but I get a
lot of linking errors (i report one of those at the end of the
message) and I don't understand why...
could it be because the EnRG lib is compiled with the MS's stl?? being
it a static lib, shouldn't it incorporate the code it needs and leave
me free to link my own code against the library that I prefer?
any hint??
thank you
Ricky
error example:
cameraUtils.obj : error LNK2001: unresolved external symbol
"public: bool __thiscall
EnRG::Graphics::Win32DisplayManager::RegisterWndClass(class_STL::basic_string<char,class
_STL::char_traits<char>,class _STL::allocator<char> > const &,unsigned
long,unsigned long,unsigned long,unsigned long)"
(?RegisterWndClass@Win32DisplayManager@Graphics@EnRG@@QAE_NABV?$basic_string@DV?$char_traits@D@_STL@
@V?$allocator@D@2@@_STL@@KKKK@Z)
I have an application that uses a 3D engine library compiled as a
static library called EnRG.lib. My own code is normally compiled
against the MS Visual C implementation of the stl, and everything
works fine.
I wanted to try to link the same code against the stlport. but I get a
lot of linking errors (i report one of those at the end of the
message) and I don't understand why...
could it be because the EnRG lib is compiled with the MS's stl?? being
it a static lib, shouldn't it incorporate the code it needs and leave
me free to link my own code against the library that I prefer?
any hint??
thank you
Ricky
error example:
cameraUtils.obj : error LNK2001: unresolved external symbol
"public: bool __thiscall
EnRG::Graphics::Win32DisplayManager::RegisterWndClass(class_STL::basic_string<char,class
_STL::char_traits<char>,class _STL::allocator<char> > const &,unsigned
long,unsigned long,unsigned long,unsigned long)"
(?RegisterWndClass@Win32DisplayManager@Graphics@EnRG@@QAE_NABV?$basic_string@DV?$char_traits@D@_STL@
@V?$allocator@D@2@@_STL@@KKKK@Z)