[Cmake] Problem with LoadCommand
John Biddiscombe
jbiddiscombe at skippingmouse.co.uk
Sun Jan 5 16:50:53 EST 2003
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
More information about the CMake
mailing list