> While I've got the TCL version to work, the Xt version won't compile. It 
> bombs out (as expected) with references to tcl in svg.c:
> 
> svg.c: At top level:
> svg.c:1068: error: expected declaration specifiers or ‘...’ before 
> ‘Tcl_Interp’
> svg.c:1069: error: expected declaration specifiers or ‘...’ before ‘Tcl_Obj’
> svg.c: In function ‘xctcl_svg’:
> svg.c:1078: error: ‘objv’ undeclared (first use in this function)
> svg.c:1078: error: (Each undeclared identifier is reported only once
> svg.c:1078: error: for each function it appears in.)
> svg.c:1078: warning: assignment makes pointer from integer without a cast
> svg.c:1083: error: ‘interp’ undeclared (first use in this function)
> svg.c:1084: error: ‘TCL_ERROR’ undeclared (first use in this function)
> 
> Is this a quick fix perhaps? I'm using latest 3.6.

OK, there is a quick fix: just enclose the xctcl_ helper in #ifdef TCL_WRAPPER
And it works. Doesn't look as pretty as the Tk version, obviously.

Does the Xt variant have same functionality as the Tk variant (excluding Tcl 
scripting, of course)?

Cheers, Kuba
_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev

Reply via email to