what would be more useful would be the file name of the boost date_time (for example) library on both the personal and the workstation. The FindBoost looks for a pretty particular filename for the boost libraries.

--
Mike Jackson   Senior Research Engineer
Innovative Management & Technology Services


On Jun 25, 2008, at 3:23 PM, Ravi Tej Kavalipati wrote:

Hi,

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.

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}

The CMakeLists.txt line :
find_package(Boost 1.35.0 COMPONENTS date_time filesystem graph regex serialization thread system signals)

doesnt find the corresponding libraries on celeritas(problem machine) that it does on my linux box..
I dont understand this inconsistency

I m providing the CMakeCache.txt files on both my machine and on Celeritas.

any help???
__________________________________________________________
#CMakeLists.txt
project (hpx)

# We need to use Boost
find_package(Boost 1.35.0 COMPONENTS date_time filesystem graph regex serialization thread system signals)

# We need to include the hpx directory for includes
include_directories (${hpx_SOURCE_DIR})
include_directories (${hpx_SOURCE_DIR}/external/coroutine)
include_directories (${hpx_SOURCE_DIR}/external/exception)
include_directories (${hpx_SOURCE_DIR}/external/endian)
include_directories (${hpx_SOURCE_DIR}/external/logging)
include_directories (${hpx_SOURCE_DIR}/external/singleton)

if(WIN32)
    add_definitions(-D_WIN32_WINNT=0x0501)
    add_definitions(-D_SCL_SECURE_NO_WARNINGS)
    add_definitions(-D_CRT_SECURE_NO_WARNINGS)
    add_definitions(-D_SCL_SECURE_NO_DEPRECATE)
    add_definitions(-D_CRT_SECURE_NO_DEPRECATE)
endif(WIN32)

add_subdirectory (src)
add_subdirectory (examples)
add_subdirectory (runtime)

**************************************************************
Working CMake Cache on my linux box:
**************************************************************

Standard cmake 2.6 installation from source in /usr/local/
Standard boost 1.35.0 installed from source in /usr/local/
CMake makefile generation messages :
[EMAIL PROTECTED]:~/parallex/trunk/hpx$ cmake .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found The Following Boost Libraries:
--   date_time
--   filesystem
--   graph
--   regex
--   serialization
--   thread
--   system
--   signals
-- Boost Version: 1.35.0
-- Configuring done
-- Generating done
-- Build files have been written to: /home/cdekate/parallex/trunk
/hpx
[EMAIL PROTECTED]:~/parallex/trunk/hpx$

Corresponding CMakeCache file :
http://www.cct.lsu.edu/~cdekate/Working_CMakeCache.txt

**************************************************************
Celeritas (Problem Machine)
**************************************************************

Standard cmake 2.6 installation from source in /usr/local/
Standard boost 1.35.0 installed from source in /usr/local/
[EMAIL PROTECTED] hpx]$ cmake .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /home/packages/gcc-4.2.1/bin/gcc
-- Check for working C compiler: /home/packages/gcc-4.2.1/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /home/packages/gcc-4.2.1/bin/c++
-- Check for working CXX compiler: /home/packages/gcc-4.2.1/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/cdekate/hpx
[EMAIL PROTECTED] hpx]$

Corresponding CMakeCache file:
http://www.cct.lsu.edu/~cdekate/Problem_CMakeCache.txt



Regards,
Ravi Tej

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to