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 &quot;Visual Studio &lt;version&gt; x64 Win64 Command Prompt&quot;. 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">&lt;<a href="mailto:yxp233@postech.ac.kr">yxp233@postech.ac.kr</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">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:&quot;Courier New&quot;">31&gt;Linking...</span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">30&gt;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:&quot;Courier New&quot;">30&gt;Project : error PRJ0019: A tool returned an error code from &quot;Generating moc_Q4VTKWidgetPlugin.cxx&quot;</span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">30&gt;Build log was saved at &quot;file://d:\Toolbox\VTK\bin\GUISupport\Qt\QVTKWidgetPlugin.dir\Release\BuildLog.htm&quot;</span></p>

<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">30&gt;QVTKWidgetPlugin - 1 error(s), 0 warning(s)</span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;"> </span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">27&gt;Linking...</span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">27&gt;QtGui4.lib(QtGui4.dll) : fatal error LNK1112: module machine type &#39;X86&#39; conflicts with target machine type &#39;x64&#39;</span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">27&gt;Build log was saved at &quot;file://d:\Toolbox\VTK\bin\GUISupport\Qt\Chart\vtkQtChart.dir\Release\BuildLog.htm&quot;</span></p>

<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">27&gt;vtkQtChart - 1 error(s), 530 warning(s)</span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;"> </span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">49&gt;LINK : fatal error LNK1181: cannot open input file &#39;..\..\..\bin\Release\vtkRendering.lib&#39;</span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">47&gt;Generating vtkVolumeTextureMapper3D_TwoDependentShadeFP.cxx, vtkVolumeTextureMapper3D_TwoDependentShadeFP.h</span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">49&gt;Build log was saved at &quot;file://d:\Toolbox\VTK\bin\Rendering\Testing\Cxx\TimeRenderer.dir\Release\BuildLog.htm&quot;</span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">48&gt;LINK : fatal error LNK1181: cannot open input file &#39;..\..\bin\Release\vtkRendering.lib&#39;</span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">49&gt;TimeRenderer - 1 error(s), 0 warning(s)</span></p><p class="MsoNormal" style="text-autospace:none">
<span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">48&gt;Build log was saved at &quot;file://d:\Toolbox\VTK\bin\GUISupport\MFC\vtkMFC.dir\Release\BuildLog.htm&quot;</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">48&gt;vtkMFC - 1 error(s), 0 warning(s)</span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;"> </span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">50&gt;Linking...</span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">50&gt;LINK : fatal error LNK1181: cannot open input file &#39;..\..\..\bin\Release\vtkRendering.lib&#39;</span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">50&gt;Build log was saved at &quot;file://d:\Toolbox\VTK\bin\Rendering\Testing\Cxx\TestFBOImplementation.dir\Release\BuildLog.htm&quot;</span></p>

<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">50&gt;TestFBOImplementation - 1 error(s), 0 warning(s)</span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;"> </span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">52&gt;LINK : fatal error LNK1181: cannot open input file &#39;..\..\..\bin\Release\vtkRendering.lib&#39;</span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">52&gt;Build log was saved at &quot;file://d:\Toolbox\VTK\bin\Rendering\Testing\Cxx\VTKBenchMark.dir\Release\BuildLog.htm&quot;</span></p>

<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">52&gt;VTKBenchMark - 1 error(s), 0 warning(s)</span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;"> </span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">53&gt;LINK : fatal error LNK1181: cannot open input file &#39;..\..\..\bin\Release\vtkRendering.lib&#39;</span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">53&gt;Build log was saved at &quot;file://d:\Toolbox\VTK\bin\Imaging\Testing\Cxx\ImagingCxxTests.dir\Release\BuildLog.htm&quot;</span></p>

<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">53&gt;ImagingCxxTests - 1 error(s), 0 warning(s)</span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;"> </span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">57&gt;LINK : fatal error LNK1181: cannot open input file &#39;..\..\..\bin\Release\vtkParallel.lib&#39;</span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">58&gt;LINK : fatal error LNK1181: cannot open input file &#39;..\..\..\bin\Release\vtkParallel.lib&#39;</span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">58&gt;Build log was saved at &quot;file://d:\Toolbox\VTK\bin\Parallel\Testing\Cxx\SocketClient.dir\Release\BuildLog.htm&quot;</span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">57&gt;Build log was saved at &quot;file://d:\Toolbox\VTK\bin\Parallel\Testing\Cxx\SocketServer.dir\Release\BuildLog.htm&quot;</span></p>

<p class="MsoNormal" style="text-autospace:none"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">58&gt;SocketClient - 1 error(s), 0 warning(s)</span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">57&gt;SocketServer - 1 error(s), 0 warning(s)</span></p>

<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;"> </span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Courier New&quot;">Etc.</span></p><p class="MsoNormal">

<span style="font-size:8.0pt;font-family:&quot;Courier New&quot;"> </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>