[vtkusers] VTK 5.0 installation on Windows leads to cmVTK_WRAP_TCL2 LOAD_COMMAND failure for VTK projects
Charl P. Botha
cpbotha at cpbotha.net
Tue Mar 7 17:23:23 EST 2006
Dear list,
I've configured, built and installed VTK 5.0 on Windows XP with VS.NET
2003 with TCL and Python wrappings. It's an out of source build which
I then install in a third directory, in my case c:\opt\VTK. The build
target is RelWithDebInfo.
Attempting to configure a client project, such as
VTK/Examples/Build/vtkMy with CMake 2.2.3, results in a slew of
errors, starting with this:
CMake Error: Error in cmake code at
c:/opt/VTK/lib/vtk-5.0/CMake/vtkLoadCMakeExtensions.cmake:7:
LOAD_COMMAND Attempt to load command failed from file:
cmVTK_WRAP_TCL2.dll
and so forth.
After a bit more digging around, it turns out the INSTALL target did
not copy four crucial DLLs from VTK-build-dir\CMake\debug to
VTK-install-dir\lib\vtk-5.0\CMake:
cmVTK_WRAP_TCL2.dll, cmVTK_WRAP_PYTHON2.dll, cmVTK_WRAP_JAVA2.dll and
cmVTK_GENERATE_JAVA_DEPENDENCIES.dll. Copying these files by hand
solved all problems above, and the vtkMy project could be successfully
configured.
Could somebody with a better understanding of the VTK CMake INSTALL
setup take a look at this and fix the installation?
Thanks,
Charl
More information about the vtkusers
mailing list