[vtkusers] cmake for kwwidget

flavio flaviosime at yahoo.it
Thu Apr 10 07:54:11 EDT 2008


thanks
for your answer.
Now paths are right , but still don't work cause  "Tcl Wrapping Init"
error :-)
--Build: 2 succeeded, 20 failed, 1 up-to-date, 0 skipped --

Can anyone send me his/her cmake config for kwwidget ?

thanks
Flavio


> Hi Flavio,
>
> The TCL_INCLUDE_PATH and TK_INCLUDE_PATH should be set to the 
> directories containing tcl.h and tk.h, respectively. Look for these 
> two files in the directory tree where you installed Tcl. On my 
> machine, they're both in the same directory: c:/Tcl/include.
>
> - Amy
>
> flavio wrote:
>> hello,everybody,
>> I downloaded the last version of kwwidget-cvs and i tried to install 
>> with cmake for vc++2005
>> but during compilation occur this error:
>>
>> 1>Project : error PRJ0019: A tool returned an error code from "Tcl 
>> Wrapping Init"
>> 1>Build log was saved at 
>> "file://c:\kwidget\KWWBin\KWWidgets.dir\Debug\BuildLog.htm"
>> 1>KWWidgets - 1 error(s), 0 warning(s)
>>
>> I post this question to KWWidget mailing list also, without answer.
>> I use vtk-5.0.4 and tcl\tk 8.4 (wrapped with vtk) and I didn't change 
>> cmake tag (from autocheck values) to create the project
>> my tcl\tk tag for cmake are:
>>
>>    * vtk_dir                             C:/VTK/vtkVC8build
>>    * TCL_INCLUDE_PATH  C:/Tcl/bin/../include   (this dir not exist)
>>    * Tcl_library                        C:/Tcl/lib/tcl84.lib
>>    * tcl_stub_library                 C:/Tcl/lib/tclstub84.lib
>>    * tcl_tclsh                            C:/Tcl/bin/tclsh.exe
>>    * TK_INCLUDE_PATH    C:/Tcl/bin/../include   (this dir not exist)
>>    * Tk_library                        C:/Tcl/lib/tk84.lib
>>    * tk_stub_library                 C:/Tcl/lib/tkstub84.lib
>>    * TK_wish                         C:/Tcl/bin/wish.exe
>>
>>
>> Can you help me?
>> What I should insert into TCL_INCLUDE_PATH ?
>> anybody knows tcl\tk parameteres for cmake ?
>>
>> thanks
>> Flavio Simonetti




More information about the vtkusers mailing list