Hi all!
I have an application which uses STLport 5.0.0, libtorrent (which in
turn uses Boost). What I have done is that I have compiled the boost
libraries for msvc7.1-stlport. I only uses three, i.e. filesystem,
date_time and thread. My boost version is 1.33.1
So the problem occurs when my application is linking. Then I get a lot
of LNK2005 link errors. I have no problems with compiling my code and
use the boost libraries it's only when I'm about to link it fails. The
errors says, in general, that a lot of things already are defined in
libboost_xxx_mt-sp...
I guess that if I post some of my errors it will be easier for those who
wants to help me :) So here we go...
1.
msvcprtd.lib(MSVCP71D.dll) : error LNK2005: "public: class
std::basic_string
I'm not sure if my suggestions are any helpful, but are you sure that you use only one runtime lib? In Windows it is very important that you define always the same runtime lib in all of your modules ( libs ). Do you set the boost libs yourselfs in the project settings? Or do you use the autolink feature? Greets, Christian
participants (2)
-
Christian Henning
-
Marcus Krantz