<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks, Jeff. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I don&#8217;t get this error (i.e., </span><span style='font-size:9.0pt;font-family:Consolas'>fatal error LNK1104: cannot open file 'libboost_serialization-vc100-mt-gd-1_44.lib')</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> any more after I turned off Windows 7 Account Access Control and rebuilt everything, so this error was caused by windows 7 Account Access Control. However, I got the following 3 linking errors:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:Consolas'>8&gt;BoostArrayLogWeighting.obj : error LNK2019: unresolved external symbol &quot;__declspec(dllimport) public: static class vtkBoostLogWeighting * __cdecl vtkBoostLogWeighting::New(void)&quot; (__imp_?New@vtkBoostLogWeighting@@SAPAV1@XZ) referenced in function &quot;public: static class vtkSmartPointer&lt;class vtkBoostLogWeighting&gt; __cdecl vtkSmartPointer&lt;class vtkBoostLogWeighting&gt;::New(void)&quot; (?New@?$vtkSmartPointer@VvtkBoostLogWeighting@@@@SA?AV1@XZ)<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:Consolas'>8&gt;BoostArrayRandomSparseArraySource.obj : error LNK2019: unresolved external symbol &quot;__declspec(dllimport) public: static class vtkBoostRandomSparseArraySource * __cdecl vtkBoostRandomSparseArraySource::New(void)&quot; (__imp_?New@vtkBoostRandomSparseArraySource@@SAPAV1@XZ) referenced in function &quot;public: static class vtkSmartPointer&lt;class vtkBoostRandomSparseArraySource&gt; __cdecl vtkSmartPointer&lt;class vtkBoostRandomSparseArraySource&gt;::New(void)&quot; (?New@?$vtkSmartPointer@VvtkBoostRandomSparseArraySource@@@@SA?AV1@XZ)<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:Consolas'>8&gt;BoostArrayRandomSparseArraySource.obj : error LNK2019: unresolved external symbol &quot;__declspec(dllimport) public: void __thiscall vtkBoostRandomSparseArraySource::SetExtents(class vtkArrayExtents const &amp;)&quot; (__imp_?SetExtents@vtkBoostRandomSparseArraySource@@QAEXABVvtkArrayExtents@@@Z) referenced in function &quot;int __cdecl BoostArrayRandomSparseArraySource(int,char * * const)&quot; (?BoostArrayRandomSparseArraySource@@YAHHQAPAD@Z)<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:Consolas'>8&gt;C:\Users\hongyi.HONGYI-W510\VTK-CMake\bin\RelWithDebInfo\InfovisBoostArrayCxxTests.exe : fatal error LNK1120: 3 unresolved externals<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Any suggestions on what additional libs I should include in the link property setup to make above three symbols resolved?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Another not-directly-related question: I have written a simple example using VTK and QT and it only works with release configuration with VTK built and installed with release configuration also. When I run the example with debug configuration, I got an error message &#8220;this application has failed to start because the application configuration is incorrect. Review the manifest file for possible errors.&#8221; I am new to VTK and read from the web that VTK should be installed with release configuration since the debug configuration does not work well, is that a true statement? I am currently using visual studio 2010 to build VTK 5.6 version. If I want my VTK+QT example to work with debug configuration, is there anything special I should do and be aware of? Thanks for any suggestions and guidelines on this.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hong<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> &nbsp;&nbsp;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Jeff Baumes [mailto:jeff.baumes@kitware.com] <br><b>Sent:</b> Friday, December 10, 2010 1:00 PM<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<o:p></o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><p class=MsoNormal>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?<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Jeff<o:p></o:p></p><div><p class=MsoNormal>On Fri, Dec 10, 2010 at 12:08 PM, Hong Yi &lt;<a href="mailto:hongyi@renci.org">hongyi@renci.org</a>&gt; wrote:<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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&#8230;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>Many thanks for the info,</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>Hong</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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><o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Did you turn on&nbsp;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).<o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'>Jeff<o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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:<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hello,<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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:<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span style='font-size:9.0pt;font-family:Consolas'>fatal error LNK1104: cannot open file 'libboost_serialization-vc100-mt-gd-1_44.lib'</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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.<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I cannot find any useful suggestions by googling to solve this link error and hope to get some advice from the list.<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Thanks,<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#888888'>Hong</span><o:p></o:p></p></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;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><o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'>&nbsp;<o:p></o:p></p></div></div></div></div></div></div></div></div></body></html>