I am working on a project that uses boost (Version 1.43.0). I am using date_time (to_iso_extended_string() method) in my code. When I do a release build of the project, the build succeeds. But when I do a debug build, I am getting the linker error.
mismatch detected for '_MSC_VER': value '1600' doesn't match value '1900' in mocs_compilation.obj
Error LNK2019 unresolved external symbol "private: static void __cdecl std::locale::facet::_Facet_Register..........
and many more linker errors...
So I included the lib libboost_date_time-vc141-mt-gd-1_43.lib in 'Additional Dependencies' in VS2017, but no success. Project uses cmake, Visual Studio 2017.
Can someone guide me on how to resolve this linker error.
Thanks.
Aucun commentaire:
Enregistrer un commentaire