error LNK2019: unresolved external symbol "class boost::unit_test::test_suite * __cdecl init_unit_test_suite(int, char * * const)" (?init_unit_test_suite@@YAPEAVtest_suite@unit_test@boost@@HQEAPEAD@Z) referenced in function main

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

error LNK2019: unresolved external symbol "class boost::unit_test::test_suite * __cdecl init_unit_test_suite(int, char * * const)" (?init_unit_test_suite@@YAPEAVtest_suite@unit_test@boost@@HQEAPEAD@Z) referenced in function main

Boost - Build mailing list
Any ideas on how to resolve the below error? This issue is also posted on Github as last few comments at URL https://github.com/victorprad/InfiniTAM/issues/76BOOST_ALL_NO_LIB is defined in UseBoost.cmake and I added output messages around the definition statement to make sure that definition is being executed when configuring and generating with CMake GUI. I also checked that the definition is available in Visual Studio spaintgui project properties (see screenshot attached). Based on the other link you shared, it says "It sounds like both the boost test monitor and SDL2main.lib need to be moved into the manual-link directory" but I'm not sure how to do that. 

Error 3 error LNK2019: unresolved external symbol "class boost::unit_test::test_suite * __cdecl init_unit_test_suite(int,char * * const)" (?init_unit_test_suite@@YAPEAVtest_suite@unit_test@boost@@HQEAPEAD@Z) referenced in function main C:\Users\wilson\Desktop\04AustonProject\ROOTv3\spaint\build\apps\spaintgui\unit_test_main.obj spaintgui

Inline image 1

Thanks,
Justin

_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
Reply | Threaded
Open this post in threaded view
|

Re: error LNK2019: unresolved external symbol "class boost::unit_test::test_suite * __cdecl init_unit_test_suite(int, char * * const)" (?init_unit_test_suite@@YAPEAVtest_suite@unit_test@boost@@HQEAPEAD@Z) referenced in function main

Boost - Build mailing list
This list is for Boost Build the build system, aka B2. Not for problems using Boost. You should post to the Boost User list or to the Boost Dev list <http://www.boost.org/community/groups.html>. And make sure to follow the discussion policies. Particularly the effective posting suggestions <http://www.boost.org/community/policy.html#effective>. And good luck with getting your problem resolved.

--
-- Rene Rivera
-- Grafik - Don't Assume Anything
-- Robot Dreams - http://robot-dreams.net
-- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail

_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build