Hi!
I'm trying to use Boost.Log 2.0 in my project which is based on Open Babel.
I'm currently compiling at Windows with Visual C++ 2010 and linkage fails
with the following message
libboost_log-vc100-mt-gd-1_54.lib(exceptions.obj) : error LNK2005: "public:
virtual __thiscall std::basic_stringbuf<char,struct
std::char_traits<char>,class std::allocator<char>
>::~basic_stringbuf<char,struct std::char_traits<char>,class
std::allocator<char> >(void)" (??1?$basic_stringbuf@DU?$char_traits@D@std@
@V?$allocator@D@2@@std@@UAE@XZ) already defined in
openbabel-2.lib(openbabel-2.dll)
libboost_log-vc100-mt-gd-1_54.lib(exceptions.obj) : error LNK2005: "public:
__thiscall std::basic_stringbuf<char,struct std::char_traits<char>,class
std::allocator<char> >::basic_stringbuf<char,struct
std::char_traits<char>,class std::allocator<char> >(int)"
(??0?$basic_stringbuf@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@H@Z)
already defined in openbabel-2.lib(openbabel-2.dll)
fatal error LNK1169: one or more multiply defined symbols found
Seems like both openbabel-2.dll and libboost_log-vc100-mt-gd-1_54.lib
exporting same symbols.
Boost binaries are from official sourceforge.net page and openbabel-2.dll
was built by myself, but the same symbols are exported by openbabel-2.dll
from official binaries.
Does anyone knows how to fix that?
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss