search for: tcl_interp

Displaying 10 results from an estimated 10 matches for "tcl_interp".

2011 Feb 08
1
Compiling a Tcl extension for an R package
...ebody 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(ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) { Tcl_SetObjResult(interp, Tcl_NewStringObj("Hello, World!", -1)); return TCL_OK; } int DLLEXPORT Hello_Init(Tcl_Interp *interp) { Tcl_CreateObjCommand(interp, "hello", Hello_Cmd, NULL, NULL); return TCL_OK; } which can be compi...
2009 Jan 25
2
[LLVMdev] -O4 -fvisibility=hidden
...sw/lib/llvm-gcc-4.2/lib -lgfortran -llapack -lblas -L/Users/howarth/xplor-nih-2.21/bin.Darwin_9_x86/ \ Undefined symbols: "_xplorwrapproc_slave_", referenced from: llvm bitcode in xplor.o "_python_interp_", referenced from: llvm bitcode in xplor.o "_tcl_interp_", referenced from: llvm bitcode in xplor.o ld: symbol(s) not found These are all defined as extern as follows... extern "C" void FORTRAN(tcl_interp) (const long& canReturn, long& qterm, lon...
2011 Aug 14
2
Problem installing R Commander plugin...
...us config.status: creating src/Makevars ** libs gcc -I/usr/share/R/include -I/usr/include/tcl8.5 -I/usr/include/tcl8.5 -fpic -std=gnu99 -O3 -pipe -g -c tcltkimg.c -o tcltkimg.o tcltkimg.c:2:16: error: tk.h: No such file or directory tcltkimg.c:103: error: expected specifier-qualifier-list before ?Tcl_Interp? tcltkimg.c:114: error: expected specifier-qualifier-list before ?Tk_Window? tcltkimg.c: In function ?GetRplotImage?: tcltkimg.c:164: error: ?TCL_ERROR? undeclared (first use in this function) tcltkimg.c:164: error: (Each undeclared identifier is reported only once tcltkimg.c:164: error: for each f...
2009 Jan 25
0
[LLVMdev] -O4 -fvisibility=hidden
...-llapack - > lblas -L/Users/howarth/xplor-nih-2.21/bin.Darwin_9_x86/ \ > > Undefined symbols: > "_xplorwrapproc_slave_", referenced from: > llvm bitcode in xplor.o > "_python_interp_", referenced from: > llvm bitcode in xplor.o > "_tcl_interp_", referenced from: > llvm bitcode in xplor.o > ld: symbol(s) not found > > These are all defined as extern as follows... > > extern "C" void > FORTRAN(tcl_interp) (const long& canReturn, > long& qte...
2012 May 14
0
phyloclim could not be installed in linux - problems on tkrplot dependence
...tatus config.status: creating src/Makevars ** libs gcc -std=gnu99 -I/ebio/abt6/jmao/R/R-2.15.0/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -c tcltkimg.c -o tcltkimg.o tcltkimg.c:2:16: error: tk.h: No such file or directory tcltkimg.c:103: error: expected specifier-qualifier-list before ‘Tcl_Interp’ tcltkimg.c:114: error: expected specifier-qualifier-list before ‘Tk_Window’ tcltkimg.c: In function ‘GetRplotImage’: tcltkimg.c:164: error: ‘TCL_ERROR’ undeclared (first use in this function) tcltkimg.c:164: error: (Each undeclared identifier is reported only once tcltkimg.c:164: error: for each f...
2018 Jul 06
0
Re: [PATCH nbdkit] Add Tcl plugin, for writing plugins in Tcl.
...<load>, C<unload>, C<name>, C<version>, C<longname>, C<description>, C<config_help> > + > +These are not yet supported. If you don't want to support can_zero/can_fua yet, should you document them here? > +++ b/plugins/tcl/tcl.c > +static Tcl_Interp *interp; > +static const char *script; > + > +static void > +tcl_load (void) > +{ > + //Tcl_FindExecutable ("nbdkit"); Is this comment intentional? Otherwise LGTM -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qem...
2009 Jan 25
2
[LLVMdev] -O4 -fvisibility=hidden
...howarth/xplor-nih-2.21/bin.Darwin_9_x86/ \ > > > > Undefined symbols: > > "_xplorwrapproc_slave_", referenced from: > > llvm bitcode in xplor.o > > "_python_interp_", referenced from: > > llvm bitcode in xplor.o > > "_tcl_interp_", referenced from: > > llvm bitcode in xplor.o > > ld: symbol(s) not found > > > > These are all defined as extern as follows... > > > > extern "C" void > > FORTRAN(tcl_interp) (const long& canReturn, > >...
2018 Jul 01
2
[PATCH nbdkit] Add Tcl plugin, for writing plugins in Tcl.
...POSSIBILITY OF + * SUCH DAMAGE. + */ + +#include <config.h> + +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <unistd.h> +#include <errno.h> +#include <assert.h> + +#include <tcl.h> + +#include <nbdkit-plugin.h> + +static Tcl_Interp *interp; +static const char *script; + +static void +tcl_load (void) +{ + //Tcl_FindExecutable ("nbdkit"); + interp = Tcl_CreateInterp (); + if (Tcl_Init (interp) != TCL_OK) { + nbdkit_error ("cannot initialize Tcl interpreter: %s", + Tcl_GetStringResult (...
2010 Jun 12
1
sharing experience - installing R Spatial Views
...===================== 5: In install.packages(pkgs, repos = views[[i]]$repository, ... : installation of package 'tkrplot' had non-zero exit status message error: tcltkimg.c:2:16: tk.h: No such file or directory ............ tcltkimg.c:469: error: expected declaration specifiers before ?Tcl_Interp? tcltkimg.c:468: warning: type of ?interp? defaults to ?int? make: *** [tcltkimg.o] Error 1 solved: apt-get install tk8.5-dev ================================================================================================ 6: In install.packages(pkgs, repos = views[[i]]$repository, ... : ins...
2010 Feb 03
2
Installation woes for rattle (and other packages)
...ration of function ?Tk_CreateImageType? tcltkimg.c:463: error: ?RplotImageType? undeclared (first use in this function) tcltkimg.c:465: warning: implicit declaration of function ?Tcl_PkgProvide? tcltkimg.c: In function ?Rplot_SafeInit?: tcltkimg.c:469: error: expected declaration specifiers before ?Tcl_Interp? tcltkimg.c:470: warning: type of ?interp? defaults to ?int? make: *** [tcltkimg.o] Error 1 ERROR: compilation failed for package ?tkrplot? * removing ?/usr/local/lib/R/site-library/tkrplot? * installing *source* package ?rgl? ... checking for gcc... gcc -std=gnu99 checking for C compiler default o...