   lnk2005 with stlport...
  g'day!i have some serious linker trouble here which drives me nuts:first of all, i have a static win32 lib which makes use of the stlport 4.6.2 library which compiles just fine.secondly, i have a dll which links to the above mentioned static library and has some more methods which also use the stlport libraries. now comes the trouble:i get a bunch of LNK2005 linker errors about several multiple defined symbols which are mostly some std::basic_string-methods (like the destructor, the 'c_str()'-method and so on). i think i should mention that all my libs, dlls and whatnots compile using the 'multithreaded debug'-standard libs and i'm using visual c++ .net 2003.i know the trouble is because the std::basic_string methods are 'implemented' in the static lib and then implemented in the dll code again, but i have no idea how i can solve this problem. i put up the build log at http://antimensch.ath.cx, in case you're interested in that. the static lib is called 'ce_debug.lib', which is found very early, a few lines later, the 'stlport_vc71.lib' causes the trouble (why is it not static?)any help is absolutely appreciated and will be rewarded with a bottle of fresh 'koelsch' beer in my home... if you like... =)thanks in advance,flix   
  Check and make sure you are not linking the stlport library in the build of your dll, and only in the final application.   ;  well, let's assume there's no final application... something like a 3ds max plugin or something. the dll should compile stand-alone, anyway.i found out that when i compile a standard win32 app, it links to my static lib and then to 'stlport_vc71_static.lib', which seems different from 'stlport_vc71.lib' and doesn't produce these linker errors. unfortunately, i still don't know how to solve this...flix   ;  almost forgot: i've put up the build log at http://antimensch.ath.cx for your convenience... =)thx,flix--- edit ---oh well, i've said that before.oh well, i should have used the 'edit' feature in the last post too.it's too early in the morning =)[Edited by - Morlith on April 23, 2005 3:19:14 AM]