Why I can't build this solution?

Apr 22, 2015 at 1:33 PM
I've added the boost to project, but still compile error, the error log like this:
Error 1 error LNK1104: cannot open file 'boost_filesystem-vc120-mt-gd-1_57.lib'
Can you help me?
Thank you!
May 1, 2015 at 6:00 PM

If you look in PropertySheets folder, you have Boost.props and Boost.64.props files that contain the paths where boost library should be located. It is the same for other dependencies.
  • Boost.props (For 32 bits): $(BOOST_FOLDER)/stage/lib/x86
  • Boost.64.props (For 64 bits): $(BOOST_FOLDER)/stage/lib/x64
You need to define BOOST_FOLDER environment variable (restart Visual Studio to reload the environment variable) and check that the file exists in right folder ($(BOOST_FOLDER)/stage/lib/x86 or $(BOOST_FOLDER)/stage/lib/x64).

Boost must be compiled with Visual Studio 2013.

I compile OpenCppCoverage with boost-1.55 but it should also work with boost-1.57 (otherwise you will have a compilation error).

Hope that help,

Marked as answer by OpenCppCoverage on 11/15/2015 at 3:35 AM