Hi,<br><br>I have CMakeLists.txt file which I have run on my personal linux machine and workstation, Celertias. I get different outputs, on my personal machine I get the executables linked to the boost libraries and on celeritas i get those libraries NOT FOUND.<br>
<br>ON
the Problem machine even though the boost libraries and such have been
installed in globally addressable space /usr/local/{lib,include} and
/usr/{lib,include}<br><br>The CMakeLists.txt line : <br>find_package(Boost 1.35.0 COMPONENTS date_time filesystem graph regex serialization thread system signals)<br><br>doesnt find the corresponding libraries on celeritas(problem machine) that it does on my linux box.. <br>
I dont understand this inconsistency<br><br>I m providing the CMakeCache.txt files on both my machine and on Celeritas.<br><br>any help???<br>__________________________________________________________<br>#CMakeLists.txt<br>
project (hpx)<br><br># We need to use Boost<br>find_package(Boost 1.35.0 COMPONENTS date_time filesystem graph regex serialization thread system signals)<br><br># We need to include the hpx directory for includes<br>include_directories (${hpx_SOURCE_DIR})<br>
include_directories (${hpx_SOURCE_DIR}/external/coroutine)<br>include_directories (${hpx_SOURCE_DIR}/external/exception)<br>include_directories (${hpx_SOURCE_DIR}/external/endian)<br>include_directories (${hpx_SOURCE_DIR}/external/logging)<br>
include_directories (${hpx_SOURCE_DIR}/external/singleton)<br><br>if(WIN32)<br> add_definitions(-D_WIN32_WINNT=0x0501)<br> add_definitions(-D_SCL_SECURE_NO_WARNINGS)<br> add_definitions(-D_CRT_SECURE_NO_WARNINGS)<br>
add_definitions(-D_SCL_SECURE_NO_DEPRECATE)<br> add_definitions(-D_CRT_SECURE_NO_DEPRECATE)<br>endif(WIN32)<br><br>add_subdirectory (src)<br>add_subdirectory (examples)<br>add_subdirectory (runtime)<br><b><br></b>**************************************************************<br>
<b>Working CMake Cache on my linux box: <br></b>**************************************************************<br><br>Standard cmake 2.6 installation from source in /usr/local/<br>Standard boost 1.35.0 installed from source in /usr/local/<br>
CMake makefile generation messages : <br>cdekate@px06:~/parallex/trunk/hpx$ cmake .<br>-- The C compiler identification is GNU<br>-- The CXX compiler identification is GNU<br>-- Check for working C compiler: /usr/bin/gcc<br>
-- Check for working C compiler: /usr/bin/gcc -- works<br>-- Detecting C compiler ABI info<br>-- Detecting C compiler ABI info - done<br>-- Check for working CXX compiler: /usr/bin/c++<br>-- Check for working CXX compiler: /usr/bin/c++ -- works<br>
-- Detecting CXX compiler ABI info<br>-- Detecting CXX compiler ABI info - done<br>-- Found The Following Boost Libraries:<br>-- date_time<br>-- filesystem<br>-- graph<br>-- regex<br>-- serialization<br>-- thread<br>
-- system<br>-- signals<br>-- Boost Version: 1.35.0<br>-- Configuring done<br>-- Generating done<br>-- Build files have been written to: /home/cdekate/parallex/trunk<div id="1es9" class="ArwC7c ckChnd">/hpx<br>cdekate@px06:~/parallex/trunk/hpx$ <br>
<br>Corresponding CMakeCache file :<br>
<a href="http://www.cct.lsu.edu/%7Ecdekate/Working_CMakeCache.txt" target="_blank">http://www.cct.lsu.edu/~cdekate/Working_CMakeCache.txt</a><br><br>**************************************************************<br><b>Celeritas (Problem Machine)<br>
</b>**************************************************************<br><b><br></b>
Standard cmake 2.6 installation from source in /usr/local/<br>
Standard boost 1.35.0 installed from source in /usr/local/<br>cdekate@celeritas hpx]$ cmake .<br>-- The C compiler identification is GNU<br>-- The CXX compiler identification is GNU<br>-- Check for working C compiler: /home/packages/gcc-4.2.1/bin/gcc<br>
-- Check for working C compiler: /home/packages/gcc-4.2.1/bin/gcc -- works<br>-- Detecting C compiler ABI info<br>-- Detecting C compiler ABI info - done<br>-- Check for working CXX compiler: /home/packages/gcc-4.2.1/bin/c++<br>
-- Check for working CXX compiler: /home/packages/gcc-4.2.1/bin/c++ -- works<br>-- Detecting CXX compiler ABI info<br>-- Detecting CXX compiler ABI info - done<br>-- Configuring done<br>-- Generating done<br>-- Build files have been written to: /home/cdekate/hpx<br>
[cdekate@celeritas hpx]$ <br><br>Corresponding CMakeCache file:<br><a href="http://www.cct.lsu.edu/%7Ecdekate/Problem_CMakeCache.txt" target="_blank">http://www.cct.lsu.edu/~cdekate/Problem_CMakeCache.txt</a><br><br clear="all">
<br><br>Regards,<br>Ravi Tej<br><br></div>