[Rd] Customized Makefiles (C++ and R)

Selwyn-Lloyd McPherson smcphers at stanford.edu
Mon Aug 7 00:50:59 CEST 2006


Hi everyone,

I am writing a package for R and implementing a collection of C++  
scripts with it. Unfortunately, I did not write the C++ files, so I  
am dependent on using the supplied makefile that came with it. This  
works fine for compiling the program outside of R, but in trying to  
create the package, the .o files are created but at the end I run  
into this error:

cp: *.so: No such file or directory
ERROR: compilation failed for package 'chpoly'


I think this is because the .so file is never created, but I might be  
wrong. Is there something I have to add to the makefile to ensure  
that everything works out okay?

Thanks so much in advance!
Selwyn-Lloyd McPherson



More information about the R-devel mailing list