[vtkusers] Error during compiling QT, VTK, ITK 64 bit versions

Dave Partyka dave.partyka at kitware.com
Fri Nov 12 06:14:56 EST 2010


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.

On Fri, Nov 12, 2010 at 1:43 AM, Xiaopeng Yang <yxp233 at postech.ac.kr> wrote:

> Hello everyone,
>
>
>
> I am trying to reinstall QT, VTK, ITK using 64 bit version.
>
>
>
> The software version I used: CMake: 2.8.3, QT: 4.6.2, VTK: 5.6.1, and ITK:
> 3.20.0.
>
>
>
> When I tried to build VTK, the following errors occurred:
>
> 31>Linking...
>
> 30>D:/Toolbox/VTK/vtk/GUISupport/Qt/Q4VTKWidgetPlugin.h(57): Error:
> Undefined interface
>
> 30>Project : error PRJ0019: A tool returned an error code from "Generating
> moc_Q4VTKWidgetPlugin.cxx"
>
> 30>Build log was saved at
> "file://d:\Toolbox\VTK\bin\GUISupport\Qt\QVTKWidgetPlugin.dir\Release\BuildLog.htm"
>
> 30>QVTKWidgetPlugin - 1 error(s), 0 warning(s)
>
>
>
> 27>Linking...
>
> 27>QtGui4.lib(QtGui4.dll) : fatal error LNK1112: module machine type 'X86'
> conflicts with target machine type 'x64'
>
> 27>Build log was saved at
> "file://d:\Toolbox\VTK\bin\GUISupport\Qt\Chart\vtkQtChart.dir\Release\BuildLog.htm"
>
> 27>vtkQtChart - 1 error(s), 530 warning(s)
>
>
>
> 49>LINK : fatal error LNK1181: cannot open input file
> '..\..\..\bin\Release\vtkRendering.lib'
>
> 47>Generating vtkVolumeTextureMapper3D_TwoDependentShadeFP.cxx,
> vtkVolumeTextureMapper3D_TwoDependentShadeFP.h
>
> 49>Build log was saved at
> "file://d:\Toolbox\VTK\bin\Rendering\Testing\Cxx\TimeRenderer.dir\Release\BuildLog.htm"
>
> 48>LINK : fatal error LNK1181: cannot open input file
> '..\..\bin\Release\vtkRendering.lib'
>
> 49>TimeRenderer - 1 error(s), 0 warning(s)
>
> 48>Build log was saved at
> "file://d:\Toolbox\VTK\bin\GUISupport\MFC\vtkMFC.dir\Release\BuildLog.htm"
>
> 48>vtkMFC - 1 error(s), 0 warning(s)
>
>
>
> 50>Linking...
>
> 50>LINK : fatal error LNK1181: cannot open input file
> '..\..\..\bin\Release\vtkRendering.lib'
>
> 50>Build log was saved at
> "file://d:\Toolbox\VTK\bin\Rendering\Testing\Cxx\TestFBOImplementation.dir\Release\BuildLog.htm"
>
> 50>TestFBOImplementation - 1 error(s), 0 warning(s)
>
>
>
> 52>LINK : fatal error LNK1181: cannot open input file
> '..\..\..\bin\Release\vtkRendering.lib'
>
> 52>Build log was saved at
> "file://d:\Toolbox\VTK\bin\Rendering\Testing\Cxx\VTKBenchMark.dir\Release\BuildLog.htm"
>
> 52>VTKBenchMark - 1 error(s), 0 warning(s)
>
>
>
> 53>LINK : fatal error LNK1181: cannot open input file
> '..\..\..\bin\Release\vtkRendering.lib'
>
> 53>Build log was saved at
> "file://d:\Toolbox\VTK\bin\Imaging\Testing\Cxx\ImagingCxxTests.dir\Release\BuildLog.htm"
>
> 53>ImagingCxxTests - 1 error(s), 0 warning(s)
>
>
>
> 57>LINK : fatal error LNK1181: cannot open input file
> '..\..\..\bin\Release\vtkParallel.lib'
>
> 58>LINK : fatal error LNK1181: cannot open input file
> '..\..\..\bin\Release\vtkParallel.lib'
>
> 58>Build log was saved at
> "file://d:\Toolbox\VTK\bin\Parallel\Testing\Cxx\SocketClient.dir\Release\BuildLog.htm"
>
> 57>Build log was saved at
> "file://d:\Toolbox\VTK\bin\Parallel\Testing\Cxx\SocketServer.dir\Release\BuildLog.htm"
>
> 58>SocketClient - 1 error(s), 0 warning(s)
>
> 57>SocketServer - 1 error(s), 0 warning(s)
>
>
>
> Etc.
>
>
>
> 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?
>
>
>
> Thank you very much!
>
> Xiaopeng
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101112/e6169d8a/attachment.htm>


More information about the vtkusers mailing list