[vtkusers] Problem compiling VTK on Windows XP using VS 9 2008

Caleb Johnston cjj37 at cornell.edu
Thu Jan 21 23:16:27 EST 2010


I am trying to compile VTK 5.4 using CMake 2.8 (with GUI) but I have a
problem if I select VTK_USE_GUISUPPORT and VTK_USE_QVTK. I am trying to
compile with support for QT 4.6. It can never find my Qt installation but
when I supply the path to qmake.exe (using windows-style back-slashes) I get
an error with the following output:

CMake Error at C:/Program Files/CMake
2.8/share/cmake-2.8/Modules/FindQt4.cmake:771 (MESSAGE):

It appears you're trying to use Visual Studio with Qt built by mingw

Call Stack (most recent call first):

GUISupport/Qt/CMakeLists.txt:14 (INCLUDE)

However, I cannot successfully build using MingW (or anything else) and I'm
not sure how to resolve the issue. Any suggestions would be greatly
appreciated..

thanks,
Caleb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100121/e944cd74/attachment.htm>


More information about the vtkusers mailing list