I have come across an issue when attempting to install sinvict. I have downloaded, compiled and installed Boost 1_62 and G++-6.1.0. Prerequisites for this code are g++ version: 4.8.3 and Boost version: 1_53.
(Manual can be found here - https://github.com/sfu-compbio/sinvict//blob/master/README.md)
Below is a fatal error that occurs when I attempt the make command in the sinvict directory.
$ make g++ -c -g -std=c++0x main.cpp -o main.o g++ -c -g -std=c++0x Sample.cpp -o Sample.o g++ -c -g -std=c++0x ReadcountEntry.cpp -o ReadcountEntry.o g++ -c -g -std=c++0x Allele.cpp -o Allele.o main.cpp:1:10: fatal error: 'boost/program_options/options_description.hpp' file not found include
1 error generated. make: * [main.o] Error 1 make: * Waiting for unfinished jobs....
Thanks so much in advance, and please let me know if you need to know anything more.
And does the file
boost/program_options/options_description.hpp
exist somewhere? Based on the error, it either doesn't exist or isn't found.I followed the path through the boost files, and it is definitely there.
You may need to add the boost library path to LIBRARY_PATH.
How would I do that? (Sorry, I 'm relatively new to command line).
Here are the paths to the boost libraries:
Below are the paths to Boost.
/Users/kerriwolf/boost_1_62_0/boost/program_options/options_description.hpp /Users/kerriwolf/boost_1_62_0/stage/lib/libboost_program_options.a /Users/kerriwolf/boost_1_62_0/stage/lib/libboost_program_options.dylib
You appear to be using MacOS.
Did you use one of these methods to install boost?