<div dir="ltr">Hi,<br>I am trying to install a software that uses boost and some other programs as well. I am using cmake to build the environment. However, I get the following error messages:<br>(1) This is what I get when I run cmake ./<br>
shital@shital-laptop:~/Work/fers-beta1$ sudo cmake ./<br>[sudo] password for shital: <br>-- found PYTHONLIBS_FOUND FALSE<br>-- Could NOT find PythonLibs<br>-- found PYTHONLIBS_FOUND FALSE<br>-- Could NOT find PythonLibs<br>
-- found PYTHONLIBS_FOUND FALSE<br>-- Could NOT find PythonLibs<br>-- found PYTHONLIBS_FOUND FALSE<br>-- Could NOT find PythonLibs<br>-- Configuring done<br>Warning: Ignoring path found in link libraries for target: fers, path is: /usr/local/lib. Expected a library name or a full path to a library name.<br>
Warning: Ignoring path found in link libraries for target: fers, path is: /usr/local/lib. Expected a library name or a full path to a library name.<br>Warning: Ignoring path found in link libraries for target: clock_test, path is: /usr/local/lib. Expected a library name or a full path to a library name.<br>
Warning: Ignoring path found in link libraries for target: filter_test, path is: /usr/local/lib. Expected a library name or a full path to a library name.<br>Warning: Ignoring path found in link libraries for target: noisegen_test, path is: /usr/local/lib. Expected a library name or a full path to a library name.<br>
Warning: Ignoring path found in link libraries for target: timing_test, path is: /usr/local/lib. Expected a library name or a full path to a library name.<br>-- Generating done<br>-- Build files have been written to: /home/shital/Work/fers-beta1<br>
<br>(2) Then when I run make , I get the following errors messages:<br>shital@shital-laptop:~/Work/fers-beta1$ make <br>/usr/bin/cmake -H/home/shital/Work/fers-beta1 -B/home/shital/Work/fers-beta1 --check-build-system CMakeFiles/Makefile.cmake 0<br>
/usr/bin/cmake -E cmake_progress_start /home/shital/Work/fers-beta1/CMakeFiles 66<br>make -f CMakeFiles/Makefile2 all<br>make[1]: Entering directory `/home/shital/Work/fers-beta1'<br>make -f tinyxml/CMakeFiles/tinyxml.dir/build.make tinyxml/CMakeFiles/tinyxml.dir/depend<br>
make[2]: Entering directory `/home/shital/Work/fers-beta1'<br>make[2]: Nothing to be done for `tinyxml/CMakeFiles/tinyxml.dir/depend'.<br>make[2]: Leaving directory `/home/shital/Work/fers-beta1'<br>make -f tinyxml/CMakeFiles/tinyxml.dir/build.make tinyxml/CMakeFiles/tinyxml.dir/build<br>
make[2]: Entering directory `/home/shital/Work/fers-beta1'<br>make[2]: Nothing to be done for `tinyxml/CMakeFiles/tinyxml.dir/build'.<br>make[2]: Leaving directory `/home/shital/Work/fers-beta1'<br>/usr/bin/cmake -E cmake_progress_report /home/shital/Work/fers-beta1/CMakeFiles 1 2 3<br>
[ 6%] Built target tinyxml<br>make -f fftwcpp/CMakeFiles/fftwcpp.dir/build.make fftwcpp/CMakeFiles/fftwcpp.dir/depend<br>make[2]: Entering directory `/home/shital/Work/fers-beta1'<br>make[2]: Nothing to be done for `fftwcpp/CMakeFiles/fftwcpp.dir/depend'.<br>
make[2]: Leaving directory `/home/shital/Work/fers-beta1'<br>make -f fftwcpp/CMakeFiles/fftwcpp.dir/build.make fftwcpp/CMakeFiles/fftwcpp.dir/build<br>make[2]: Entering directory `/home/shital/Work/fers-beta1'<br>
/usr/bin/cmake -E cmake_progress_report /home/shital/Work/fers-beta1/CMakeFiles 4<br>[ 6%] Building CXX object fftwcpp/CMakeFiles/fftwcpp.dir/fftwcpp.o<br>/usr/bin/c++ -g -Wall -pthread -O2 -ffast-math -g -I/home/shital/Work/fers-beta1/fftwcpp -I/home/shital/Work/fers-beta1 -D_REENTRANT -o fftwcpp/CMakeFiles/fftwcpp.dir/fftwcpp.o -c /home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp<br>
In file included from /home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:11:<br>/usr/local/include/boost-1_36/boost/thread/mutex.hpp:12:44: error: boost/thread/detail/platform.hpp: No such file or directory<br>/usr/local/include/boost-1_36/boost/thread/mutex.hpp:18:2: error: #error "Boost threads unavailable on this platform"<br>
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:16: error: 'boost' has not been declared<br>/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:16: error: expected constructor, destructor, or type conversion before 'plannerMutex'<br>
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp: In constructor 'FFTComplex::FFTComplex(int, Complex*, Complex*, FFTComplex::fft_direction)':<br>/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:158: error: 'boost' has not been declared<br>
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:158: error: expected `;' before 'lock'<br>/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp: In destructor 'FFTComplex::~FFTComplex()':<br>/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:167: error: 'boost' has not been declared<br>
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:167: error: expected `;' before 'lock'<br>/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp: In constructor 'FFTRealForward::FFTRealForward(int, double*, Complex*)':<br>
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:187: error: 'boost' has not been declared<br>/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:187: error: expected `;' before 'lock'<br>/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp: In destructor 'FFTRealForward::~FFTRealForward()':<br>
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:195: error: 'boost' has not been declared<br>/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:195: error: expected `;' before 'lock'<br>/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp: In constructor 'FFTRealInverse::FFTRealInverse(int, Complex*, double*)':<br>
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:215: error: 'boost' has not been declared<br>/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:215: error: expected `;' before 'lock'<br>/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp: In destructor 'FFTRealInverse::~FFTRealInverse()':<br>
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:223: error: 'boost' has not been declared<br>/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:223: error: expected `;' before 'lock'<br>make[2]: *** [fftwcpp/CMakeFiles/fftwcpp.dir/fftwcpp.o] Error 1<br>
make[2]: Leaving directory `/home/shital/Work/fers-beta1'<br>make[1]: *** [fftwcpp/CMakeFiles/fftwcpp.dir/all] Error 2<br>make[1]: Leaving directory `/home/shital/Work/fers-beta1'<br>make: *** [all] Error 2<br><br>
My understanding of these errors is that it is unable to detect the path for the boost include and library files which is at /usr/local/<br>
<br></div>