[vtk-developers] error compiling against vtk-5.7

Dave Partyka dave.partyka at kitware.com
Tue Nov 16 17:41:23 EST 2010


My guess is that whatever target that compiles vtkKWApplicationTcl.cxx needs
include_directories(${TCL_INCLUDE_PATH})

On Tue, Nov 16, 2010 at 5:11 PM, Dean Inglis <dean.inglis at camris.ca> wrote:

> I'm running into the following error while doing a static compile of
> latest cvs KWWidgets against latest git vtk-5.7 with MSVS 2005 Express
> on Win Vista, CMake 2.8.2:
>
> Scanning dependencies of target KWWidgets
> [ 27%] Building CXX object
> CMakeFiles/KWWidgets.dir/vtkKWApplicationTcl.cxx.obj
> vtkKWApplicationTcl.cxx
> D:\Developer\Releases\VS\STATIC\Install\include\vtk-5.7\vtkTcl.h(26) :
> fatal err
> or C1083: Cannot open include file: 'tcl.h': No such file or directory
> NMAKE : fatal error U1077: 'C:\PROGRA~1\MID05A~1\VC\bin\cl.exe' : return
> code '0
> x2'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> 8\VC\BIN\n
> make.exe"' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> 8\VC\BIN\n
> make.exe"' : return code '0x2'
> Stop.
>
> the paths to the static tcl/tk build are properly set in the CMakeCache.txt
> file for both
> KWWidgets and VTK
>
> I'm not sure if this is a CMake, a VTK, or a KWWidgts issue (apologies for
> cross-posting).
> Until CTK matures more, I'm staying with KWWidgets for GUI coding.
> I'm hoping support for this toolkit still exists!
>
> Dean
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20101116/32028836/attachment.html>


More information about the vtk-developers mailing list