Displaying 4 results from an estimated 4 matches for "foo_r".
Did you mean:
foo_
2008 Mar 31
1
Compile dll in Windows XP
...quot; I receive the following message in my Command prompt:
making foo.d from foo.c
make: [foo.d] Error 255 (ignored)
cat: foo.d: No such file or directory
make: [makeMakedeps] Error 1 (ignored)
windres --preprocessor = "gcc-sjlj -E -xc -DRC_INVOKED" -I C:/Progra~1/R/R-26~1.2/
include -i foo_res.rc -o foo_res.o
c:\MinGW\bin\windres.exe: unknown format type 'C:/PROGRA~1/R/R-26~1.2/include'
c:\MinGW\bin\windres.exe: supported formats: rc res coff
make: ***[foo_res.o] Error 1
Could someone please help me with what's going wrong? Thank you in advance.
*-*-*-*-*-*-*-*-*-*-*-*-*...
2008 Dec 10
1
Linking a library with init(argc,argv) function
...=""))
I am facing a difficulty with loading a library depending on a library
(libMesh) which needs an initialization function (libMesh::init(argc,
argv);).
Conventionally, the way to make a bridge between R and C is :
___________________________________
extern "C" {
void foo_R(double* output, double* S, double* K){
*output = foo(*S,*K,*r,*sigma,*time);
};
}
___________________________________
This way, it doesn't seem possible to put arguments argc and argv. To
go further and link LibMesh, an "int main( int argc, char** argv )"
might have to...
2009 Oct 29
2
Makevars, cc files in multiple directories
Hello,
In the src folder of my R package I have
a.cc
b.cc
f/g/x.cc
my Makevars.in has
all: $(SHLIB)
upon installing only, a.o and b.o is build and the final dll is
comprised of a.o and b.o
How can I instruct $(SHLIB) to pick up its source files from all
subdirectories (or maybe a subset, though here it will be all)
in src ?
Much thanks
Saptarshi
2009 Mar 24
1
[PATCH] "Include" option for ssh configs
...immediately in place and bad option counts are unique to each
file. In this implementation, files that cannot be opened are error()d and ssh
exits.
There is rough documentation added to ssh_config.5. I haven't tested if the
markup is correct as I don't know nroff.
? Note that I have used FOO_r functions. I will rewrite the patch if this does
not fit your portability requirements or threads are not an issue or some
such.
? I've never heard of this happening...
--
Gavin Beatty
SEMPER UBI SUB UBI
-------------- next part --------------
A non-text attachment was scrubbed...
Name:...