<div class="gmail_quote">On Sat, Dec 11, 2010 at 10:52 PM, Hong Yi <span dir="ltr"><<a href="mailto:hongyi@renci.org">hongyi@renci.org</a>></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">Thanks, Jeff. </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">I don’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;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:</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:Consolas">8>BoostArrayLogWeighting.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class vtkBoostLogWeighting * __cdecl vtkBoostLogWeighting::New(void)" (__imp_?New@vtkBoostLogWeighting@@SAPAV1@XZ) referenced in function "public: static class vtkSmartPointer<class vtkBoostLogWeighting> __cdecl vtkSmartPointer<class vtkBoostLogWeighting>::New(void)" (?New@?$vtkSmartPointer@VvtkBoostLogWeighting@@@@SA?AV1@XZ)</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:Consolas">8>BoostArrayRandomSparseArraySource.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class vtkBoostRandomSparseArraySource * __cdecl vtkBoostRandomSparseArraySource::New(void)" (__imp_?New@vtkBoostRandomSparseArraySource@@SAPAV1@XZ) referenced in function "public: static class vtkSmartPointer<class vtkBoostRandomSparseArraySource> __cdecl vtkSmartPointer<class vtkBoostRandomSparseArraySource>::New(void)" (?New@?$vtkSmartPointer@VvtkBoostRandomSparseArraySource@@@@SA?AV1@XZ)</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:Consolas">8>BoostArrayRandomSparseArraySource.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall vtkBoostRandomSparseArraySource::SetExtents(class vtkArrayExtents const &)" (__imp_?SetExtents@vtkBoostRandomSparseArraySource@@QAEXABVvtkArrayExtents@@@Z) referenced in function "int __cdecl BoostArrayRandomSparseArraySource(int,char * * const)" (?BoostArrayRandomSparseArraySource@@YAHHQAPAD@Z)</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:Consolas">8>C:\Users\hongyi.HONGYI-W510\VTK-CMake\bin\RelWithDebInfo\InfovisBoostArrayCxxTests.exe : fatal error LNK1120: 3 unresolved externals</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">Any suggestions on what additional libs I should include in the link property setup to make above three symbols resolved?</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"></span></p></div></div></blockquote><div><br></div><div>It would seem that vtkInfovis is not building with vtkBoostLogWeighting and vtkBoostRandomSparseArraySource, but they should if you have VTK_USE_N_WAY_ARRAYS and VTK_USE_BOOST on. If either is not on, then the executable InfovisBoostArrayCxxTests should not be built, so I'm not sure what the issue is here.</div>
<div><br></div><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">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 “this application has failed to start because the application configuration is incorrect. Review the manifest file for possible errors.” 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.</span></p>
</div></div></blockquote><div><br></div><div>You may want to start a new thread on this topic.</div></div>