search for: tclhelloworld

Displaying 1 result from an estimated 1 matches for "tclhelloworld".

2011 Feb 08
1
Compiling a Tcl extension for an R package
...ntu, however my attempts to compile this C function under Windows or OSX have all failed. I provide a minimal self contained example at the end of this post. I also wrapped this example in a minimal R package (less than 20 lines of code!) and it can be downloaded at http://www.waddell.ch/RnavGraph/TclHelloWorld.zip Can somebody help me to get this package to compile correctly under Linux, Windows and OSX? (i.e. writing a configure script with the correct compile commands). Thanks, Adrian Waddell ########################### C Code (save as hello.c): #include <tcl.h> static int Hello_Cmd(Clien...