My guess is that whatever target that compiles vtkKWApplicationTcl.cxx needs include_directories(${TCL_INCLUDE_PATH})<br><br><div class="gmail_quote">On Tue, Nov 16, 2010 at 5:11 PM, Dean Inglis <span dir="ltr"><<a href="mailto:dean.inglis@camris.ca">dean.inglis@camris.ca</a>></span> wrote:<br>

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