BGL linking on Win32
Hi!
whenever I use libbgl-viz.lib to read graphviz files, I get a linker errors like
this:
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: __thiscall
std::basic_string ::basic_string It was Ok to add "/NODEFAULTLIB:msvcrt" to the compiler options, but now I need
that library! So if I don't add this option, I get errors like the one above, if
I do add it, I get errors "unresolved symbols"...
What is probably(or definitely) wrong?
Thanks in advance,
--
Maxim
Hello maxx,
Wednesday, April 14, 2004, 3:22:30 PM, you wrote:
mdmr> Hi!
mdmr> whenever I use libbgl-viz.lib to read graphviz files, I get a linker errors like
mdmr> this:
mdmr> msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: __thiscall
mdmr> std::basic_string ::basic_string mdmr> It was Ok to add "/NODEFAULTLIB:msvcrt" to the compiler options, but now I need
mdmr> that library! So if I don't add this option, I get errors like the one above, if
mdmr> I do add it, I get errors "unresolved symbols"...
mdmr> What is probably(or definitely) wrong?
mdmr> Thanks in advance,
mdmr> --
mdmr> Maxim
mdmr> _______________________________________________
mdmr> Boost-users mailing list
mdmr> Boost-users@lists.boost.org
mdmr> http://lists.boost.org/mailman/listinfo.cgi/boost-users
Probably libbgl-viz.lib linked with static version of MS CPP runtime
library. You can try to link your application also with static version
of MS CPP runtime library (compiler options /ML for single-threaded or
/MT for multi-threaded). Static libraries are LIBC.lib and LIBCP.lib
(single-threaded) and LIBCMT.lib and LIBCPMT.lib (multi-threaded).
--
Best regards,
Владимир mailto:vkrasovsky@yandex.ru
participants (2)
-
maxx@dgap.mipt.ru
-
Владимир Красовский