To compile a C ++ Net Lib project on Windows, with Visual Studio 2008, I need to disable Concept Check (see this topic: https://groups.google.com/forum/#!msg/cpp-netlib/G-hM25EnCWA/ gdsHBaVfmggJ>)
Compilation works in Release, but not in Debug (failure while compiling .cpp)
I managed to get the header compilation successfully by specifying NDEBUG before including the client header. Be that as it may, this fails later when the linker wants to link the release version of the Boost.system version: while I use Debug. I get this error:
6> LINK: fatal error LNK1104: cannot open file 'libboost_system-vc90-mt-1_50.lib'
I wanted to prevent this with BOOST_SYSTEM_NO_LIB, but he still wants links against the version (my PROJET links against "libboost_system-vc90-mt-Gd-1_50.lib" (debug library))
Is there a simple macro to determine before including the header and which will disable the Boost.ConceptCheck stuff, as is done in the Release assembly? I did not find any information in the Boost documentation, nor in the header files themselves.
Thank you very much
Gaetan
source share