<div>The flag is only available if you turn on certain other flags, so it sounds like it is not on. What library is being linked when you get this error?</div><div><br></div><div>Jeff<br><br><div class="gmail_quote">On Fri, Dec 10, 2010 at 12:08 PM, Hong Yi <span dir="ltr">&lt;<a href="mailto:hongyi@renci.org">hongyi@renci.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">I did not find VTK_USE_PARALLEL_BGL flag, only find VTK_USE_PARALLEL flag which is turned off. Two relevant flags, VTK_USE_BOOST and VTK_USE_TEXT_ANALYSIS flags, are turned on with VTK_USE_PARALLEL flag off. I am using CMake 2.8.3 and VTK 5.6. Is there an exact flag called VTK_USE_PARALLEL_BGL? I checked a couple of times but could not find it, for some reason…</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Many thanks for the info,</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Hong</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> Jeff Baumes [mailto:<a href="mailto:jeff.baumes@kitware.com" target="_blank">jeff.baumes@kitware.com</a>] <br>
<b>Sent:</b> Friday, December 10, 2010 11:20 AM<br><b>To:</b> Hong Yi<br><b>Cc:</b> VTK Users<br><b>Subject:</b> Re: [vtkusers] Link error when building VTK with boost support in Visual Studio 2010</span></p><div><div></div>
<div class="h5"><p class="MsoNormal"> </p><p class="MsoNormal">Did you turn on VTK_USE_PARALLEL_BGL for processing graphs in parallel? That is the only reason it should be looking for the serialization library. If you turn off that flag it should be fine (in case you turned it on accidentally).</p>
<div><p class="MsoNormal"> </p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt">Jeff</p><div><p class="MsoNormal">On Fri, Dec 10, 2010 at 10:37 AM, Hong Yi &lt;<a href="mailto:hongyi@renci.org" target="_blank">hongyi@renci.org</a>&gt; wrote:</p>
<div><div><p class="MsoNormal">Hello,</p><p class="MsoNormal"> </p><p class="MsoNormal">I am trying to build VTK with boost support in Visual Studio 2010. I generated VTK solution/projects successfully using CMake, but when I build VTK solution in VS 2010, I got the following link error:</p>
<p class="MsoNormal"> </p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:Consolas">fatal error LNK1104: cannot open file &#39;libboost_serialization-vc100-mt-gd-1_44.lib&#39;</span></p>
<p class="MsoNormal"> </p><p class="MsoNormal">I installed boost C++ library (version 1.44) using <a href="http://www.boostpro.com/products/free" target="_blank">installer</a> provided by <a href="http://www.boostpro.com" target="_blank">BoostPro Computing</a>. I selected all multi-threaded build variants when installing boost.</p>
<p class="MsoNormal"> </p><p class="MsoNormal">I cannot find any useful suggestions by googling to solve this link error and hope to get some advice from the list.</p><p class="MsoNormal"> </p><p class="MsoNormal">Thanks,</p>
<p class="MsoNormal"> </p><p class="MsoNormal"><span style="color:#888888">Hong</span></p></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><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 VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a></p></div><p class="MsoNormal" style="margin-bottom:12.0pt">
 </p></div></div></div></div></div></blockquote></div>
</div>