Can you grab the FindBoost.cmake with CMake 2.8.3, then set the following (new) variable and paste the debug output again?  This will at least prevent it from finding stuff in /usr/lib which has been an issue for some people.  Also there is more debugging now.<div>
<a href="http://cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/FindBoost.cmake;h=3ae4e1410b9ec04b81dc76ddf822601f17f173c1;hb=b58e44edfb8e4267028a4754a25114d3bfad0abe">http://cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/FindBoost.cmake;h=3ae4e1410b9ec04b81dc76ddf822601f17f173c1;hb=b58e44edfb8e4267028a4754a25114d3bfad0abe</a></div>
<div><br><div>set(Boost_NO_SYSTEM_PATHS TRUE)</div><div><br></div><div>Offhand, I think you&#39;re on the right track using BOOST_LIBRARYDIR to override the search path for your 32 vs. 64 bit directories.  That should show up first in the search path list.  </div>
<div><br></div><div><br></div><div><br></div><div><div><div class="gmail_quote">On Thu, Nov 4, 2010 at 3:37 PM, Knox, Kent <span dir="ltr">&lt;<a href="mailto:Kent.Knox@amd.com">Kent.Knox@amd.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">[Michael]<br>
<div class="im"># set( Boost_DEBUG ON )<br>
Uncomment that and send the output. Yes, it will be A LOT of output but I am trying to figure out what is going wrong.<br>
<br>
</div>[Kent] I took out the explicit setting of BOOST_LIBRARYDIR:<br>
<div class="im"><br>
kknox@ux2 ~/code/clAMD/trunk/bin/linux32<br>
</div>561 &gt; InitCmake.sh<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>
-- UNICODE feature disabled on linux<br>
-- 64-bit build<br>
-- [ FindBoost.cmake:373 ] Boost not in cache<br>
-- [ FindBoost.cmake:376 ] _boost_TEST_VERSIONS = 1.44;1.44.0;1.41.0;1.41;1.40.0;1.40;1.39.0;1.39;1.38.0;1.38;1.37.0;1.37;1.36.1;1.36.0;1.36;1.35.1;1.35.0;1.35;1.34.1;1.34.0;1.34;1.33.1;1.33.0;1.33<br>
-- [ FindBoost.cmake:378 ] Boost_USE_MULTITHREADED = ON<br>
-- [ FindBoost.cmake:380 ] Boost_USE_STATIC_LIBS = ON<br>
-- [ FindBoost.cmake:439 ] Declared as CMake or Environmental Variables:<br>
-- [ FindBoost.cmake:441 ]   BOOST_ROOT = /home/kknox/sdk/boost_1_44_0<br>
-- [ FindBoost.cmake:443 ]   BOOST_INCLUDEDIR =<br>
-- [ FindBoost.cmake:445 ]   BOOST_LIBRARYDIR =<br>
-- [ FindBoost.cmake:447 ] _boost_TEST_VERSIONS = 1.44;1.44.0;1.41.0;1.41;1.40.0;1.40;1.39.0;1.39;1.38.0;1.38;1.37.0;1.37;1.36.1;1.36.0;1.36;1.35.1;1.35.0;1.35;1.34.1;1.34.0;1.34;1.33.1;1.33.0;1.33<br>
-- [FindBoost.cmake:496 ] Include debugging info:<br>
-- [FindBoost.cmake:498 ]   _boost_INCLUDE_SEARCH_DIRS = /home/kknox/sdk/boost_1_44_0/include;/home/kknox/sdk/boost_1_44_0;C:/boost/include;C:/boost;/boost/include;/boost;/sw/local/include<br>
-- [ FindBoost.cmake:500 ]   _boost_PATH_SUFFIXES = boost-1_44;boost-1_44_0;boost-1_41_0;boost-1_41;boost-1_40_0;boost-1_40;boost-1_39_0;boost-1_39;boost-1_38_0;boost-1_38;boost-1_37_0;boost-1_37;boost-1_36_1;boost-1_36_0;boost-1_36;boost-1_35_1;boost-1_35_0;boost-1_35;boost-1_34_1;boost-1_34_0;boost-1_34;boost-1_33_1;boost-1_33_0;boost-1_33<br>

-- [FindBoost.cmake:524 ] location of version.hpp: /home/kknox/sdk/boost_1_44_0/boost/version.hpp<br>
-- [FindBoost.cmake:543 ] version.hpp reveals boost 1.44.0<br>
-- [FindBoost.cmake:634 ] guessed _boost_COMPILER = -gcc44<br>
-- [FindBoost.cmake:644 ] _boost_MULTITHREADED = -mt<br>
-- [FindBoost.cmake:661 ] _boost_STATIC_TAG =<br>
-- [FindBoost.cmake:663 ] _boost_ABI_TAG = d<br>
-- [FindBoost.cmake:696 ] _boost_LIBRARIES_SEARCH_DIRS = /home/kknox/sdk/boost_1_44_0/lib;/home/kknox/sdk/boost_1_44_0/stage/lib;/home/kknox/sdk/boost_1_44_0/lib;/home/kknox/sdk/boost_1_44_0/../lib;C:/boost/lib;C:/boost;/boost            /boost_1_44_0/lib;/boost/boost_1_44/lib;/boost/lib;/boost;/sw/local/lib<br>

-- [ FindBoost.cmake:830 ] Boost_FOUND = TRUE<br>
<div class="im">-- Boost version: 1.44.0<br>
-- Found the following Boost libraries:<br>
--   program_options<br>
-- Boost_PROGRAM_OPTIONS_LIBRARY: /usr/lib/libboost_program_options-mt.a<br>
</div>-- Found FFTW: /usr/lib/libfftw3f.so<br>
-- Found GTest: /usr/lib/libgtest.so<br>
-- Detected GNU fortran compiler.<br>
-- CMAKE_CXX_COMPILER flags: -m64<br>
-- CMAKE_CXX_COMPILER debug flags: -g<br>
-- CMAKE_CXX_COMPILER release flags: -O3 -DNDEBUG<br>
-- CMAKE_CXX_COMPILER relwithdebinfo flags: -O2 -g<br>
-- CMAKE_EXE_LINKER link flags:<br>
-- Boost_LIBRARIES: /usr/lib/libboost_program_options-mt.a<br>
<div class="im">-- Boost_PROGRAM_OPTIONS_LIBRARY: /usr/lib/libboost_program_options-mt.a<br>
</div>-- Configuring done<br>
-- Generating done<br>
-- Build files have been written to: /home/kknox/code/clAMD/trunk /bin/linux32<br>
<br>
I&#39;ve shortened the FindBoost.cmake path to make it more readable: originally [/home/kknox/bin/cmake-2.8.2-Linux-i386/share/cmake-2.8/Modules/FindBoost.cmake]<br>
<div><div></div><div class="h5"><br>
Kent<br>
<br>
<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Philip Lowman<br>
</div></div></div>