Hi,
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:
(1) This is what I get when I run cmake ./
[EMAIL PROTECTED]:~/Work/fers-beta1$ sudo cmake ./
[sudo] password for shital:
-- found PYTHONLIBS_FOUND FALSE
-- Could NOT find PythonLibs
-- found PYTHONLIBS_FOUND FALSE
-- Could NOT find PythonLibs
-- found PYTHONLIBS_FOUND FALSE
-- Could NOT find PythonLibs
-- found PYTHONLIBS_FOUND FALSE
-- Could NOT find PythonLibs
-- Configuring done
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.
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.
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.
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.
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.
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.
-- Generating done
-- Build files have been written to: /home/shital/Work/fers-beta1

(2) Then when I run make , I get the following errors messages:
[EMAIL PROTECTED]:~/Work/fers-beta1$ make
/usr/bin/cmake -H/home/shital/Work/fers-beta1 -B/home/shital/Work/fers-beta1
--check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start
/home/shital/Work/fers-beta1/CMakeFiles 66
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/home/shital/Work/fers-beta1'
make -f tinyxml/CMakeFiles/tinyxml.dir/build.make
tinyxml/CMakeFiles/tinyxml.dir/depend
make[2]: Entering directory `/home/shital/Work/fers-beta1'
make[2]: Nothing to be done for `tinyxml/CMakeFiles/tinyxml.dir/depend'.
make[2]: Leaving directory `/home/shital/Work/fers-beta1'
make -f tinyxml/CMakeFiles/tinyxml.dir/build.make
tinyxml/CMakeFiles/tinyxml.dir/build
make[2]: Entering directory `/home/shital/Work/fers-beta1'
make[2]: Nothing to be done for `tinyxml/CMakeFiles/tinyxml.dir/build'.
make[2]: Leaving directory `/home/shital/Work/fers-beta1'
/usr/bin/cmake -E cmake_progress_report
/home/shital/Work/fers-beta1/CMakeFiles  1 2 3
[  6%] Built target tinyxml
make -f fftwcpp/CMakeFiles/fftwcpp.dir/build.make
fftwcpp/CMakeFiles/fftwcpp.dir/depend
make[2]: Entering directory `/home/shital/Work/fers-beta1'
make[2]: Nothing to be done for `fftwcpp/CMakeFiles/fftwcpp.dir/depend'.
make[2]: Leaving directory `/home/shital/Work/fers-beta1'
make -f fftwcpp/CMakeFiles/fftwcpp.dir/build.make
fftwcpp/CMakeFiles/fftwcpp.dir/build
make[2]: Entering directory `/home/shital/Work/fers-beta1'
/usr/bin/cmake -E cmake_progress_report
/home/shital/Work/fers-beta1/CMakeFiles 4
[  6%] Building CXX object fftwcpp/CMakeFiles/fftwcpp.dir/fftwcpp.o
/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
In file included from /home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:11:
/usr/local/include/boost-1_36/boost/thread/mutex.hpp:12:44: error:
boost/thread/detail/platform.hpp: No such file or directory
/usr/local/include/boost-1_36/boost/thread/mutex.hpp:18:2: error: #error
"Boost threads unavailable on this platform"
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:16: error: 'boost' has not
been declared
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:16: error: expected
constructor, destructor, or type conversion before 'plannerMutex'
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp: In constructor
'FFTComplex::FFTComplex(int, Complex*, Complex*,
FFTComplex::fft_direction)':
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:158: error: 'boost' has not
been declared
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:158: error: expected `;'
before 'lock'
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp: In destructor
'FFTComplex::~FFTComplex()':
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:167: error: 'boost' has not
been declared
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:167: error: expected `;'
before 'lock'
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp: In constructor
'FFTRealForward::FFTRealForward(int, double*, Complex*)':
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:187: error: 'boost' has not
been declared
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:187: error: expected `;'
before 'lock'
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp: In destructor
'FFTRealForward::~FFTRealForward()':
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:195: error: 'boost' has not
been declared
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:195: error: expected `;'
before 'lock'
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp: In constructor
'FFTRealInverse::FFTRealInverse(int, Complex*, double*)':
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:215: error: 'boost' has not
been declared
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:215: error: expected `;'
before 'lock'
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp: In destructor
'FFTRealInverse::~FFTRealInverse()':
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:223: error: 'boost' has not
been declared
/home/shital/Work/fers-beta1/fftwcpp/fftwcpp.cpp:223: error: expected `;'
before 'lock'
make[2]: *** [fftwcpp/CMakeFiles/fftwcpp.dir/fftwcpp.o] Error 1
make[2]: Leaving directory `/home/shital/Work/fers-beta1'
make[1]: *** [fftwcpp/CMakeFiles/fftwcpp.dir/all] Error 2
make[1]: Leaving directory `/home/shital/Work/fers-beta1'
make: *** [all] Error 2

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/
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to