Boost logo

Boost-Build :

Subject: [Boost-build] 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
From: Justin Wilson (jawhster_at_[hidden])
Date: 2017-09-13 15:30:40


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/76. BOOST_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_at_unit_test_at_boost@@HQEAPEAD_at_Z)
referenced in function main C:\Users\wilson\Desktop\
04AustonProject\ROOTv3\spaint\build\apps\spaintgui\unit_test_main.obj
spaintgui

[image: Inline image 1]

Thanks,
Justin




boostBuildError.png

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk