No subject


Tue Jun 23 12:19:35 EDT 2009


<br>
<br>
list(APPEND _boost_PATH_SUFFIXES &quot;boost-${_boost_BOOSTIFIED_VERSION}&q=
uot;)<br>
if(WIN32)<br>
# For BoostPro&#39;s underscores (and others?)<br>
 =A0list(APPEND _boost_PATH_SUFFIXES &quot;boost_${_boost_BOOSTIFIED_VERSIO=
N}&quot;)<br>
endif()<br>
<br>
Do you actually have the Dynamic multi-threaded boost libs installed?<br>
<br>
Also, Looking at the CMakeLists.txt file it seems you are trying to parse t=
he Boost_THREAD library variable for something? If you are trying to differ=
entiate between the Release and Debug versions there are the following vari=
ables for each boost library.<br>





<br>
Boost_PROGRAM_OPTIONS_LIBRARY<br>
Boost_PROGRAM_OPTIONS_LIBRARY_DEBUG<br>
Boost_PROGRAM_OPTIONS_LIBRARY_RELEASE<br>
<br>
Any of that help?<br>
<br>
_________________________________________________________<br>
Mike Jackson =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<a href=3D"mailto:mike.jack=
son at bluequartz.net" target=3D"_blank">mike.jackson at bluequartz.net</a><br>
BlueQuartz Software =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<a href=3D"http:=
//www.bluequartz.net" target=3D"_blank">www.bluequartz.net</a><br>
Principal Software Engineer =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Dayton, Ohio=
<div><div></div><div><br>
<br>
<br>
<br>
On Jun 23, 2009, at 1:35 PM, Curtis Rueden wrote:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Andreas,<br>
<br>
Well, then most probably the layout of that binary installation differs<br>
from what the FindBoost.cmake file expects. So where is the boost thread<br=
>
library and how is it named?<br>
<br>
The latest available version of Boost offered by BoostPro is v1.38. The lib=
raries are placed in:<br>
<br>
 =A0C:\Program Files\boost\boost_1_38\lib<br>
<br>
The strange thing is that FindBoost *does* find Boost, but only if first ru=
n with no arguments, followed by explicitly setting BOOST_ROOT.<br>
<br>
Looking at this:<br>
<br>
&gt; <a href=3D"https://skyking.microscopy.wisc.edu/svn/java/trunk/componen=
ts/native/bf-cpp/CMakeLists.txt" target=3D"_blank">https://skyking.microsco=
py.wisc.edu/svn/java/trunk/components/native/bf-cpp/CMakeLists.txt</a><br>





<br>
The layout of that package seems to be utterly broken.<br>
<br>
Do you mean bf-cpp, or some other package? How is it &quot;broken&quot;? I =
am new to the CMake way of doing things, so would appreciate any advice for=
 improvement.<br>
<br>
Thanks,<br>
Curtis<br>
<br>
On Tue, Jun 23, 2009 at 1:26 PM, Andreas Pakulat &lt;<a href=3D"mailto:apak=
u at gmx.de" target=3D"_blank">apaku at gmx.de</a>&gt; wrote:<br>
On 23.06.09 13:09:25, Curtis Rueden wrote:<br>
&gt; First, I installed Boost using BoostPro&#39;s precompiled binaries at<=
br>
&gt; <a href=3D"http://www.boostpro.com/download" target=3D"_blank">http://=
www.boostpro.com/download</a>.<br>
&gt;<br>
&gt; Then I tried the following CMakeLists.txt file:<br>
&gt;<br>
&gt; ----------<br>
&gt; # Simple CMake build file for testing FindBoost. Fails on Windows with=
<br>
&gt; # Boost binaries from BoostPro computing (<a href=3D"http://www.boostp=
ro.com/" target=3D"_blank">http://www.boostpro.com/</a>).<br>
&gt;<br>
&gt; cmake_minimum_required(VERSION 2.6)<br>
&gt;<br>
&gt; project(boostFail1)<br>
&gt;<br>
&gt; message(STATUS &quot;-- Boost:&quot;)<br>
&gt; set(Boost_USE_STATIC_LIBS OFF)<br>
&gt; set(Boost_USE_MULTITHREAD ON)<br>
&gt;<br>
&gt; find_package(Boost COMPONENTS thread REQUIRED)<br>
&gt;<br>
&gt; message(STATUS &quot;Boost_INCLUDE_DIR =A0 =A0: ${Boost_INCLUDE_DIR}&q=
uot;)<br>
&gt; message(STATUS &quot;Boost_THREAD_LIBRARY : ${Boost_THREAD_LIBRARY}&qu=
ot;)<br>
&gt; ----------<br>
&gt;<br>
&gt; The error message I see is:<br>
&gt;<br>
&gt; ----------<br>
&gt; -- Boost:<br>
&gt; CMake Error at C:/Program Files/CMake<br>
&gt; 2.6/share/cmake-2.6/Modules/FindBoost.cmake:868 (message):<br>
&gt; =A0 Unable to find the requested Boost libraries.<br>
&gt;<br>
&gt; =A0 Boost version: 1.38.0<br>
&gt;<br>
&gt; =A0 Boost include path: C:/Program Files/boost/boost_1_38<br>
&gt;<br>
&gt; =A0 The following Boost libraries could not be found:<br>
&gt;<br>
&gt; =A0 =A0 =A0 =A0 =A0 boost_thread<br>
&gt;<br>
&gt; =A0 No Boost libraries were found. =A0You may need to set Boost_LIBRAR=
YDIR to<br>
&gt; the<br>
&gt; =A0 directory containing Boost libraries or BOOST_ROOT to the location=
 of<br>
&gt; =A0 Boost.<br>
&gt; Call Stack (most recent call first):<br>
&gt; =A0 CMakeLists.txt:16 (find_package)<br>
&gt;<br>
&gt;<br>
&gt; Boost_INCLUDE_DIR =A0 =A0: C:/Program Files/boost/boost_1_38<br>
&gt; Boost_THREAD_LIBRARY : Boost_THREAD_LIBRARY-NOTFOUND<br>
&gt; ----------<br>
&gt;<br>
&gt; The problem does not occur on Linux or Mac OS X.<br>
<br>
Well, then most probably the layout of that binary installation differs<br>
from what the FindBoost.cmake file expects. So where is the boost thread<br=
>
library and how is it named? Looking at this:<br>
<br>
&gt; <a href=3D"https://skyking.microscopy.wisc.edu/svn/java/trunk/componen=
ts/native/bf-cpp/CMakeLists.txt" target=3D"_blank">https://skyking.microsco=
py.wisc.edu/svn/java/trunk/components/native/bf-cpp/CMakeLists.txt</a><br>





<br>
The layout of that package seems to be utterly broken.<br>
<br>
Andreas<br>
<br>
<br>
</blockquote>
<br></div></div><div><div></div><div>
_______________________________________________<br>
Powered by <a href=3D"http://www.kitware.com" target=3D"_blank">www.kitware=
.com</a><br>
<br>
Visit other Kitware open-source projects at <a href=3D"http://www.kitware.c=
om/opensource/opensource.html" target=3D"_blank">http://www.kitware.com/ope=
nsource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href=3D"http:/=
/www.cmake.org/Wiki/CMake_FAQ" target=3D"_blank">http://www.cmake.org/Wiki/=
CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href=3D"http://www.cmake.org/mailman/listinfo/cmake" target=3D"_blank">h=
ttp://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br>

--001e680f12dcc43637046d09ae42--


More information about the CMake mailing list