[vtkusers] build vtk 5.0 on window error QVTK

Jens Frederich jfrederich at gmail.com
Sun Jan 29 06:44:16 EST 2006


Hi all,

I would compile vtk 5.0 for windows with VS .Net 2003 and QT 4.1 and cmake 2.2.3

It's compiled and linked all lib other than QVTK.
I become follow error message. I don't understand the message

------ Build started: Project: QVTKWidgetPlugin, Configuration:
RelWithDebInfo Win32 ------

Building Custom Rule
D:/work/pace/3rdparty/src/vtk-5.0.0/build/GUISupport/Qt/moc_QVTKWidget.cxx
The system cannot find the path specified.
Project : error PRJ0019: A tool returned an error code from "Building
Custom Rule D:/work/pace/3rdparty/src/vtk-5.0.0/build/GUISupport/Qt/moc_QVTKWidget.cxx"


Here the log file:


Creating temporary file
"d:\work\pace\3rdparty\src\vtk-5.0.0\build\GUISupport\Qt\QVTKWidgetPlugin.dir\RelWithDebInfo\BAT000003.bat"
with contents
[
@echo off
D\bin\moc.exe -DWIN32 -D_WINDOWS -DQVTKWidgetPlugin_EXPORTS
-D"VTK_IN_VTK" -D"QT_DLL" -D"QT_CORE_LIB" -D"QT_GUI_LIB" -D"QT_PLUGIN"
-D"QT_NO_DEBUG" -D -I"D:\work\pace\3rdparty\src\vtk-5.0.0\build"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\build\Utilities"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\build\VolumeRendering"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\build\Rendering"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Parallel"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\VolumeRendering"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Hybrid"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Widgets"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Rendering"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Rendering\Testing\Cxx"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\IO"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Imaging"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Graphics"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\GenericFiltering"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Filtering"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Common"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Utilities"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Common\Testing\Cxx"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\build\Utilities\DICOMParser"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Utilities\DICOMParser"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\build\Utilities\vtkfreetype\include"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Utilities\vtkfreetype\include"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\build\Utilities\vtknetcdf"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Utilities\vtknetcdf"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\build\Utilities\vtkexodus2\include"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Utilities\vtkexodus2\include"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\GUISupport\Qt"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\build\Utilities\vtkfreetype"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Utilities\ftgl\src"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\build\Utilities\ftgl"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\build\GUISupport\Qt"
-I"D:\work\pace\3rdparty\qt\include"
-I"D:\work\pace\3rdparty\qt\include\QtCore"
-I"D:\work\pace\3rdparty\qt\include\QtGui" -I"."
"D:\work\pace\3rdparty\src\vtk-5.0.0\GUISupport\Qt\QVTKWidget.h" -o
"D:\work\pace\3rdparty\src\vtk-5.0.0\build\GUISupport\Qt\moc_QVTKWidget.cxx"

if errorlevel 1 goto VCReportError
goto VCEnd
:VCReportError
echo Project : error PRJ0019: A tool returned an error code from
"Building Custom Rule
D:/work/pace/3rdparty/src/vtk-5.0.0/build/GUISupport/Qt/moc_QVTKWidget.cxx"
exit 1
:VCEnd
]
Creating command line
""d:\work\pace\3rdparty\src\vtk-5.0.0\build\GUISupport\Qt\QVTKWidgetPlugin.dir\RelWithDebInfo\BAT000003.bat""
Creating temporary file
"d:\work\pace\3rdparty\src\vtk-5.0.0\build\GUISupport\Qt\QVTKWidgetPlugin.dir\RelWithDebInfo\BAT000004.bat"
with contents
[
@echo off
D\bin\moc.exe -DWIN32 -D_WINDOWS -DQVTKWidgetPlugin_EXPORTS
-D"VTK_IN_VTK" -D"QT_DLL" -D"QT_CORE_LIB" -D"QT_GUI_LIB" -D"QT_PLUGIN"
-D"QT_NO_DEBUG" -D -I"D:\work\pace\3rdparty\src\vtk-5.0.0\build"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\build\Utilities"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\build\VolumeRendering"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\build\Rendering"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Parallel"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\VolumeRendering"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Hybrid"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Widgets"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Rendering"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Rendering\Testing\Cxx"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\IO"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Imaging"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Graphics"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\GenericFiltering"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Filtering"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Common"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Utilities"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Common\Testing\Cxx"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\build\Utilities\DICOMParser"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Utilities\DICOMParser"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\build\Utilities\vtkfreetype\include"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Utilities\vtkfreetype\include"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\build\Utilities\vtknetcdf"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Utilities\vtknetcdf"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\build\Utilities\vtkexodus2\include"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Utilities\vtkexodus2\include"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\GUISupport\Qt"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\build\Utilities\vtkfreetype"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\Utilities\ftgl\src"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\build\Utilities\ftgl"
-I"D:\work\pace\3rdparty\src\vtk-5.0.0\build\GUISupport\Qt"
-I"D:\work\pace\3rdparty\qt\include"
-I"D:\work\pace\3rdparty\qt\include\QtCore"
-I"D:\work\pace\3rdparty\qt\include\QtGui" -I"."
"D:\work\pace\3rdparty\src\vtk-5.0.0\GUISupport\Qt\Q4VTKWidgetPlugin.h"
-o "D:\work\pace\3rdparty\src\vtk-5.0.0\build\GUISupport\Qt\moc_Q4VTKWidgetPlugin.cxx"

if errorlevel 1 goto VCReportError
goto VCEnd
:VCReportError
echo Project : error PRJ0019: A tool returned an error code from
"Building Custom Rule
D:/work/pace/3rdparty/src/vtk-5.0.0/build/GUISupport/Qt/moc_Q4VTKWidgetPlugin.cxx"
exit 1
:VCEnd
]
Creating command line
""d:\work\pace\3rdparty\src\vtk-5.0.0\build\GUISupport\Qt\QVTKWidgetPlugin.dir\RelWithDebInfo\BAT000004.bat""





Jens



More information about the vtkusers mailing list