I've used BOOST_ALL_STATIC_LINK
I've declared my path to the static libs,
And also, I have the errors :
Error 2 error LNK2005: "public: class std::basic_string & __thiscall
std::basic_string::operator=(class std::basic_string const &)"
(??4?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@
@QAEAAV01@ABV01@@Z) already defined in
libboost_filesystem-vc80-mt-sgd-1_35.lib(operations.obj) msvcprtd.lib
[...]
And what's more this error :
Error 26 fatal error LNK1104: cannot open file
'libboost_filesystem-vc80-mt-gd-1_35.lib' makePatch
Why is it still searching a dynamic lib ??? nevermind dynamic libs !!!
I have only 7 files in my program, it's not complicated to check all.
What is the boost concept of autolink ?
My static libs have been installed by the exe distributed with all libs
(static dyn, debug not debg.. and so on)
2008/9/4 Olaf Peter
Thanks to all answers, I'm using really cmake. Obviously I have to go more
into the deep since the cmake macro does a bad job here. Define
BOOST_ALL_DYN_LINK works for this time since I want static linkage.
<OT>
How can I set the English locale for MSVC compiler cl.exe inside VS IDE?
which should be in current locale.
</OT>
Thanks,
Olaf
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users