FindBoost is a bit of a pain to get working.<div><br></div><div>I&#39;m wondering if the REQUIRED and 1.46 in the find_package() is causing it to skip 1.46.1?   You could clear your cache and try changing the version to 1.46.1 or remove the REQUIRED.</div>
<div><br></div><div>If that&#39;s not it, try clearing your cache, setting Boost_DEBUG On and having a look at the output and/or pasting it in here.</div><div><br></div><div><div><div><div class="gmail_quote">On Sun, May 1, 2011 at 5:18 PM, Robert Nelson <span dir="ltr">&lt;<a href="mailto:boardmaster357@gmail.com">boardmaster357@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I just tried adding<br>
<div class="im">SET(Boost_ADDITIONAL_VERSIONS 1.46.1)<br>
</div>clearing the cache, and running configure again.  I still get the same<br>
error message as before.  While I agree that your addition is<br>
necessary to make it work, it seems that something else is also<br>
needed.<br>
<br>
<br>
PROJECT(schema)<br>
cmake_minimum_required(VERSION 2.8.4)<br>
<div class="im"><br>
<br>
SET( Boost_NO_SYSTEM_PATHS true )<br>
SET( BOOST_INCLUDEDIR &quot;C:/Boost/include/boost-1_46_1&quot; )<br>
SET( BOOST_LIBRARYDIR &quot;C:/Boost/lib&quot; )<br>
SET(Boost_ADDITIONAL_VERSIONS &quot;1.46.1&quot; )<br>
find_package(Boost 1.46 COMPONENTS regex program_options pthread<br>
filesystem REQUIRED)<br>
<br>
</div><div class="im">link_directories(${Boost_LIBRARY_DIRS} )<br>
include_directories( ${Boost_INCLUDE_DIRS} )<br>
<br>
#if you don&#39;t want the full compiler output, remove the following line<br>
SET(CMAKE_VERBOSE_MAKEFILE ON)<br>
<br>
add_executable(schema<br>
main.cpp<br>
</div><div><div></div><div class="h5">)<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>