|
From: Haejoong L. <hae...@ld...> - 2007-02-28 17:28:53
|
sub Jean wrote:
>Hello,
>I try to compile the tcl_wrapper of the aglib! When trying to compile the
>ag.cc in the ag_wrapper/tcl directory it gives me the following error:
>
>error: 'Tcl_GetString' was not declared in this scope
>
>The file tcl.h is in /usr/include, but there is actually no
>Tcl_GetString defined. Do I have to use a specific version tclsh? I
>tried it with 8.0, 8.3 and 8.5. Gives the same error.
>
>I simply don't know anymore where to look. Does anyne has an Idea?
>
>
Tcl_GetString is found in tclDecls.h on my machine. I think the
following command will find you where it is declared in most cases.
grep "Tcl_GetString\b" /usr/{,local/}include/{,tcl*/}*.h
This file gets included into tcl.h. So, it should be available once
tcl.h is successfully included in the ag.cc file.
-Haejoong
|