<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi Andreas.<div><br></div><div>This totally fixed my problem.</div><div><br></div><div><font color="#2a2a2a" face="'Segoe UI', Tahoma, Verdana, Arial, sans-serif"><span style="line-height: 17px;">Cmake was using the wrong version of Mingw and the boost version document was also wrong. So it was looking for the wrong files in both version and compiler.</span></font></div><div><font color="#2a2a2a" face="'Segoe UI', Tahoma, Verdana, Arial, sans-serif"><span style="line-height: 17px;">Aka:</span></font></div><div><span style="color: rgb(42, 42, 42); font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; line-height: 17px; background-color: rgb(255, 255, 255); ">libboost_thread-mgw44-mt-1_47.dll</span>
</div><div><span style="color: rgb(42, 42, 42); font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; line-height: 17px; background-color: rgb(255, 255, 255); ">Instead of:</span></div><div><span style="color: rgb(42, 42, 42); font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; line-height: 17px; background-color: rgb(255, 255, 255); ">libboost_thread-mgw46-mt-1_49.dll</span>&nbsp;<font color="#2a2a2a" face="'Segoe UI', Tahoma, Verdana, Arial, sans-serif"><span style="line-height: 17px;"><br></span></font><br><br>SET (Boost_COMPILER &nbsp;"-mgw46") &nbsp;<span style="font-size: 10pt; ">and changing the version document to the correct version fixed it.</span></div><div><br></div><div>Thanks alot!</div><div><br></div><div>Joeri.</div><div><br></div><div><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Thu, 12 Apr 2012 11:43:55 +0200<br>From: Andreas-Naumann@gmx.net<br>To: cmake@cmake.org<br>Subject: Re: [CMake] CMake 2.7.8 cannot find boost installation While building PCL files.<br><br>


<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
  
  <title></title>


Hi,<br>
<br>
you could set Boost_DEBUG and Boost_DETAILED_FAILURE_MSG to true and
have a look at the messages. <br>
<br>
I hope, this helps you.<br>
<br>
Andreas<br>
<br>
Am 12.04.2012 11:06, schrieb Joeri Friederich:
<blockquote cite="mid:SNT115-W20980A4B0E64A4D6E27C5B823A0@phx.gbl">
  <style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

</style>
  <div dir="ltr">
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)">Hi</div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)"><br>
  </div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)">Im
trying to build PCL (Point cloud library) files using Cmake.</div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)">It
needs a bunch if dependencies one of which is boost.</div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)">It
finds all other dependencies without a hitch but it gives this error
for boost:</div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)"><br>
  </div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)"><font style="line-height:normal" color="#ff0000">The following Boost
libraries could not be found:</font></div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)"><font style="line-height:normal" color="#ff0000">boost_system</font></div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)"><font style="line-height:normal" color="#ff0000">boost_filesystem</font></div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)"><font style="line-height:normal" color="#ff0000">boost_thread</font></div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)"><font style="line-height:normal" color="#ff0000">boost_date_time</font></div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)"><font style="line-height:normal" color="#ff0000">boost_iostreams</font></div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)">I
have been trying to fix &nbsp;this for 2 days now.</div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)"><br>
  </div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)"><br>
  </div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)"><b>What
I did:</b></div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)">I
build my own libraries with boost.build using the following commands:</div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)">&gt;b2</div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)">&gt;toolset=gcc</div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)">&gt;--build-dir=C:\boost</div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)">&gt;--build-type=complete</div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)">This
build the library successfully.</div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)"><br>
  </div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)">Adding
the files (libboost_thread-mgw46-mt-1_49.dll) &nbsp;etc to the lib folder in
my boost installation doesn't allow cmake to find them though.</div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)">It
does however find the include directory without a hitch.</div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)">Even
manually linking Cmake &nbsp;to the (correct) libraries doesn't allow it to
find them.</div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)"><br>
  </div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)">How
do I get cmake to find these lib's?&nbsp;</div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)"><br>
  </div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)"><b>Also:</b></div>
  <div style="line-height:17px;font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)"><span style="color:rgb(255, 0, 0);line-height:normal">boost_thread </span><span style="line-height:normal">doesnt exist on my computer but</span><span style="color:rgb(255, 0, 0);line-height:normal">&nbsp;"</span><span style="color:rgb(42, 42, 42);font-size:10pt">libboost_thread-mgw46-mt-1_49.dll"
and 20 different versions of it with different letters at mt do.</span></div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)">is
there a way that I can see what file Cmake is looking for exactly?
  </div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)"><br>
  </div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)"><br>
  </div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)"><b>Version
etc:</b></div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)">Cmake:2.8.7</div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)">Cmake
generator: Mingw makefiles</div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)">Compiler:
GCC.</div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)">Boost
v:1.49.0</div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)">Windows
7</div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)"><br>
  </div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)">Thanks
for any help,</div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)"><br>
  </div>
  <div style="line-height:17px;color:rgb(42, 42, 42);font-family:'Segoe UI',Tahoma,Verdana,Arial,sans-serif;background-color:rgb(255, 255, 255)">Joeri.</div>
  </div>
  <pre><fieldset class="ecxmimeAttachmentHeader"></fieldset>
--

Powered by <a class="ecxmoz-txt-link-abbreviated" href="http://www.kitware.com" target="_blank">www.kitware.com</a>

Visit other Kitware open-source projects at <a class="ecxmoz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the CMake FAQ at: <a class="ecxmoz-txt-link-freetext" href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a>

Follow this link to subscribe/unsubscribe:
<a class="ecxmoz-txt-link-freetext" href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a></pre>
</blockquote>
<br>


<br>--

Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake</div></div>                                               </div></body>
</html>