[Cmake] Problem with LoadCommand
John Biddiscombe
John Biddiscombe" <jbiddiscombe at skippingmouse . co . uk
Sun, 5 Jan 2003 21:50:53 -0000
When a project uses vtk by loading the FindVTK module and then inclusing the
correct USE_VTK file, the use vtk stuff doesn't load any custom commands
that vtk uses, like VTK_WRAP_TCL2.
I'vce tried loading this myself, but it access violates every time I try.
Could someone advise what I need to do. I'm currently doing
LOAD_COMMAND(VTK_WRAP_TCL2 "D:/cmakebuild/vtkDebug/CMake" "don't know what
this one is")
the directory is correct for the dll
when I use this
LOAD_COMMAND(VTK_WRAP_TCL2
"D:/cmakebuild/vtkDebug/CMake/cmVTK_WRAP_TCL2.dll"
"D:/cmakebuild/vtkDebug/CMake/cmVTK_WRAP_TCL2.dll")
it says, "attempt to load command failled from ...dll"
What is the correct syntax. I'm afraid the docs aren't much help and looking
at the code I can't see the problem.
JB