No subject
Tue Jun 23 12:19:35 EDT 2009
<br>
<br>
list(APPEND _boost_PATH_SUFFIXES "boost-${_boost_BOOSTIFIED_VERSION}&q=
uot;)<br>
if(WIN32)<br>
# For BoostPro's underscores (and others?)<br>
=A0list(APPEND _boost_PATH_SUFFIXES "boost_${_boost_BOOSTIFIED_VERSIO=
N}")<br>
endif()<br>
</blockquote><div><br>Interesting; I used the BoostPro installer so it is i=
ndeed all underscores (boost_1_38).<br><br></div><blockquote class=3D"gmail=
_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt=
0pt 0.8ex; padding-left: 1ex;">
Do you actually have the Dynamic multi-threaded boost libs installed?<br>
</blockquote><div><br>Yep, I have all types (single threaded vs. multi-thre=
aded, static vs. shared) installed.<br>=A0</div><blockquote class=3D"gmail_=
quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt =
0pt 0.8ex; padding-left: 1ex;">
Also, Looking at the CMakeLists.txt file it seems you are trying to
parse the Boost_THREAD library variable for something? If you are
trying to differentiate between the Release and Debug versions there
are the following variables 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></blockquote></div><br>Thanks, I didn't know about=
Boost_THREAD_LIBRARY_DEBUG. That helps me eliminate a little bit of code.<=
br><br>Anyway, Arnaud Gelas and I took a look at FindBoost.cmake, and disco=
vered the problem. FIND_PATH is called to populate Boost_INCLUDE_DIR, but n=
ot until line 478 (CMake 2.6-patch4), whereas the components are checked be=
fore that (e.g., around line 303 there is an "IF(Boost_INCLUDE_DIR)&qu=
ot; block that never executes).<br>
<br>Andreas, shouldn't FIND_PATH be called right away, and once the Boo=
st_INCLUDE_DIR is known, then subsequently check for individual components =
of Boost?<br><br>-Curtis<br><br><div class=3D"gmail_quote">On Tue, Jun 23, =
2009 at 2:21 PM, Michael Jackson <span dir=3D"ltr"><<a href=3D"mailto:mi=
ke.jackson at bluequartz.net" target=3D"_blank">mike.jackson at bluequartz.net</a=
>></span> wrote:<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;">I use the boost p=
re-compiled all the time and I don't have any of these issues BUT I do =
set the BOOST_ROOT environment variable in "My Computer->Advanced S=
ettings" after I install which may be the difference. I use threads, p=
rogram_options, testing, filesystem and system.<br>
<br>
I did notice in the FindBoost that there is a subtle difference in how the =
directory names are generated:<br>
<br>
I think one has boost_1_38 while another has boost-1_38 depending on window=
s or unix.<br>
<br>
More information about the CMake
mailing list