<div>Did you build boost as a set of static libraries? If so you'll need to set the Boost_USE_STATIC_LIBS=ON CMake variable.</div><div><br></div>Another note: given you're building with VS2008 you're going to run into a different problem once you get past the boost library issue you're having: see this
<a href="https://github.com/alanxz/SimpleAmqpClient/issues/1">https://github.com/alanxz/SimpleAmqpClient/issues/1</a> for what the issue is and a workaround.<div><br></div><div>-Alan<br><br><div class="gmail_quote">On Tue, Mar 6, 2012 at 9:43 AM, Lorenzo Rossi <span dir="ltr"><<a href="mailto:l.rossi.cons@vitrociset.it">l.rossi.cons@vitrociset.it</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="IT" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="EN-US">Dear Experts,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I’m trying to build SimpleAmqpClient (v2.0-beta-2) in Windows (VS 2008), but when I execute CMake, there are errors regarding boost:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US">CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindBoost.cmake:1128 (message):<u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US">Unable to find the requested Boost libraries.<u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt">
<span lang="EN-US">Boost version: 1.48.0<u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt">
<span lang="EN-US">Boost include path: C:/Applicazioni/boost<u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt">
<span lang="EN-US">The following Boost libraries could not be found:<u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt">
<span lang="EN-US">boost_chrono<u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US">boost_system<u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt">
<span lang="EN-US">No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the<u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US">directory containing Boost libraries or BOOST_ROOT to the location of<u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US">Boost.<u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US">Call Stack (most recent call first):<u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt">CMakeLists.txt:8 (FIND_PACKAGE)<u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I add manually the filepath for chrono and system to Boost_Chrono_Library_Debug, Boost_Chrono_Library_Release, Boost_System_Library_Debug, Boost_ System_Library_Release, but still it doesn’t find anything. I also create
the BOOST_ROOT but still it doesn’t work.<u></u><u></u></span></p>
<p class="MsoNormal">Any suggestion?<u></u><u></u></p>
<p class="MsoNormal"><br>
Best,<u></u><u></u></p>
<p class="MsoNormal"><br>
Lorenzo<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Consolas">Lorenzo Rossi<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Consolas">_________________________________________<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Consolas">Vitrociset S.p.A.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Consolas">Via Tiburtina, 1020 - 00156 Roma - Italia<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Consolas"><a href="tel:%2B39%2006%208820%203047" value="+390688203047" target="_blank">+39 06 8820 3047</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Consolas"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Consolas">Questa e-mail ed ogni suo allegato sono confidenziali. Se li aveste ricevuti per errore, vogliate cortesemente darcene comunicazione subito e distruggere il messaggio ricevuto erroneamente
dal Vostro sistema informatizzato. Per piacere non li utilizzate per nessun fine, o diffondete il loro contenuto a nessun altra persona: fare ciò comporta violare le regole sulla privacy si cui al D. L.vo n. 196 /2003.
</span><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas">Grazie per la cooperazione.<u></u><u></u></span></p>
<p class="MsoNormal"><i><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas">This e-mail and any attachment are confidential. If you have received them in error, you are on notice of their status. Please notify us immediately by replying e-mail
and then delete this message from your system. Please do not copy or use them for any purposes, or disclose their contents to any other person: to do so could be a breach of the Italian Privacy D. L.vo 196/2003.
</span></i><i><span style="font-size:10.5pt;font-family:Consolas">Thank you for your co-operation<u></u><u></u></span></i></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>