OpenCppCoverage Build Errors

Mar 15, 2016 at 8:56 AM
My Requirement :
I want to compile OpenCppCoverage source code using Microsoft visual studio Express 2103 for Windows Desktop.

Steps followed
-> Downloaded OpenCppCoverage source code from https://opencppcoverage.codeplex.com
-> Downloaded boost library and included in project properties as below:
  1. Properties ->Configuration Properties ->C/C++ ->General -> Additional Include Directories
     Browsed path : D:\Boost\boost_1_60_0\boost
  2. Properties ->Configuration Properties ->Linker ->Additional Library Directories
     Browsed Path : C:\BOOST\boost_1_59_0\libs
    ->Clicked on Build
I got the below errors:
  1. error C1083: Cannot open include file: 'boost/log/trivial.hpp': No such file or directory d:\opencppcoverage\tools\Log.hpp 21 1 Tools
  2. Error 1 error C2027: use of undefined type 'boost::filesystem::path' d:\opencppcoverage\testcoveragesharedlib\testcoveragesharedlib.cpp 40 1 TestCoverageSharedLib
  3. 53 IntelliSense: cannot open source file "boost/log/expressions.hpp" d:\OPENCPPCOVERAGE\Tools\Log.cpp 20 1 Tools
  4. 54 IntelliSense: cannot open source file "boost/log/utility/setup/file.hpp" d:\OPENCPPCOVERAGE\Tools\Log.cpp 21 1 Tools
  5. 55 IntelliSense: cannot open source file "boost/log/utility/setup/console.hpp" d:\OPENCPPCOVERAGE\Tools\Log.cpp 22 1 Tools
  6. 56 IntelliSense: cannot open source file "boost/log/utility/setup/common_attributes.hpp" d:\OPENCPPCOVERAGE\Tools\Log.cpp 23 1 Tools
Kindly give me solution to resolve these build errors.
Coordinator
Mar 18, 2016 at 12:58 PM
Hello,

Please have a look to my answer here: https://opencppcoverage.codeplex.com/discussions/652487.
Note: You cannot mix headers from boost 1.60 with libraries from 1.59.

Hope that help,

OpenCppCoverage
Marked as answer by OpenCppCoverage on 3/22/2016 at 2:15 PM