It looks like you built your Qt 32 bits and are trying to link it into a 64 bit VTK. You need to rebuild Qt using the "Visual Studio <version> x64 Win64 Command Prompt". I am not sure if Nokia provides 64bit libraries on their website.<br>
<br><div class="gmail_quote">On Fri, Nov 12, 2010 at 1:43 AM, Xiaopeng Yang <span dir="ltr"><<a href="mailto:yxp233@postech.ac.kr">yxp233@postech.ac.kr</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">Hello everyone,</p><p class="MsoNormal"> </p><p class="MsoNormal">I am trying to reinstall QT, VTK, ITK using 64 bit version.</p><p class="MsoNormal">
</p><p class="MsoNormal">The software version I used: CMake: 2.8.3, QT: 4.6.2, VTK: 5.6.1, and ITK: 3.20.0.</p><p class="MsoNormal"> </p><p class="MsoNormal">When I tried to build VTK, the following errors occurred:</p>
<p class="MsoNormal" style="text-autospace:none">
<span style="font-size:8.0pt;font-family:"Courier New"">31>Linking...</span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:"Courier New"">30>D:/Toolbox/VTK/vtk/GUISupport/Qt/Q4VTKWidgetPlugin.h(57): Error: Undefined interface</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:"Courier New"">30>Project : error PRJ0019: A tool returned an error code from "Generating moc_Q4VTKWidgetPlugin.cxx"</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:"Courier New"">30>Build log was saved at "file://d:\Toolbox\VTK\bin\GUISupport\Qt\QVTKWidgetPlugin.dir\Release\BuildLog.htm"</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Courier New"">30>QVTKWidgetPlugin - 1 error(s), 0 warning(s)</span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:"Courier New"">27>Linking...</span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:"Courier New"">27>QtGui4.lib(QtGui4.dll) : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:"Courier New"">27>Build log was saved at "file://d:\Toolbox\VTK\bin\GUISupport\Qt\Chart\vtkQtChart.dir\Release\BuildLog.htm"</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Courier New"">27>vtkQtChart - 1 error(s), 530 warning(s)</span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:"Courier New"">49>LINK : fatal error LNK1181: cannot open input file '..\..\..\bin\Release\vtkRendering.lib'</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:"Courier New"">47>Generating vtkVolumeTextureMapper3D_TwoDependentShadeFP.cxx, vtkVolumeTextureMapper3D_TwoDependentShadeFP.h</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:"Courier New"">49>Build log was saved at "file://d:\Toolbox\VTK\bin\Rendering\Testing\Cxx\TimeRenderer.dir\Release\BuildLog.htm"</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:"Courier New"">48>LINK : fatal error LNK1181: cannot open input file '..\..\bin\Release\vtkRendering.lib'</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:"Courier New"">49>TimeRenderer - 1 error(s), 0 warning(s)</span></p><p class="MsoNormal" style="text-autospace:none">
<span style="font-size:8.0pt;font-family:"Courier New"">48>Build log was saved at "file://d:\Toolbox\VTK\bin\GUISupport\MFC\vtkMFC.dir\Release\BuildLog.htm"</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Courier New"">48>vtkMFC - 1 error(s), 0 warning(s)</span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:"Courier New"">50>Linking...</span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:"Courier New"">50>LINK : fatal error LNK1181: cannot open input file '..\..\..\bin\Release\vtkRendering.lib'</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:"Courier New"">50>Build log was saved at "file://d:\Toolbox\VTK\bin\Rendering\Testing\Cxx\TestFBOImplementation.dir\Release\BuildLog.htm"</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Courier New"">50>TestFBOImplementation - 1 error(s), 0 warning(s)</span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:"Courier New"">52>LINK : fatal error LNK1181: cannot open input file '..\..\..\bin\Release\vtkRendering.lib'</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:"Courier New"">52>Build log was saved at "file://d:\Toolbox\VTK\bin\Rendering\Testing\Cxx\VTKBenchMark.dir\Release\BuildLog.htm"</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Courier New"">52>VTKBenchMark - 1 error(s), 0 warning(s)</span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:"Courier New"">53>LINK : fatal error LNK1181: cannot open input file '..\..\..\bin\Release\vtkRendering.lib'</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:"Courier New"">53>Build log was saved at "file://d:\Toolbox\VTK\bin\Imaging\Testing\Cxx\ImagingCxxTests.dir\Release\BuildLog.htm"</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Courier New"">53>ImagingCxxTests - 1 error(s), 0 warning(s)</span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:"Courier New"">57>LINK : fatal error LNK1181: cannot open input file '..\..\..\bin\Release\vtkParallel.lib'</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:"Courier New"">58>LINK : fatal error LNK1181: cannot open input file '..\..\..\bin\Release\vtkParallel.lib'</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:"Courier New"">58>Build log was saved at "file://d:\Toolbox\VTK\bin\Parallel\Testing\Cxx\SocketClient.dir\Release\BuildLog.htm"</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:"Courier New"">57>Build log was saved at "file://d:\Toolbox\VTK\bin\Parallel\Testing\Cxx\SocketServer.dir\Release\BuildLog.htm"</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:"Courier New"">58>SocketClient - 1 error(s), 0 warning(s)</span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Courier New"">57>SocketServer - 1 error(s), 0 warning(s)</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Courier New""> </span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Courier New"">Etc.</span></p><p class="MsoNormal">
<span style="font-size:8.0pt;font-family:"Courier New""> </span></p><p class="MsoNormal">Does anybody know why these errors occur and how to solve the problems? Could anybody provide specific introduction of installing QT, VTK, and ITK 64 bit versions?</p>
<p class="MsoNormal"> </p><p class="MsoNormal">Thank you very much!</p><p class="MsoNormal">Xiaopeng</p></div></div><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><br>
<br></blockquote></div><br>