On 13/03/2014 10:24 AM, binbin lu wrote:
Hi,

I am trying to compile a package, in which C code is used.

When I was checking the package with the dll file under the sub-folder
"SRC", a WARNING msg was returned:
"Source packages should not contain undeclared executable files."

When I exclued it from the folder, I got an ERROR msg:

Error in library.dynam(lib, package, package.lib) :
   DLL 'Cs2g' not found: maybe not installed for this architecture?


Anyone knows how to solve this problem? Sorry for this naive question but I
am really confused. Many thanks.

Put the C code for the DLL in "src" (not "SRC"). R will compile it for the platform where your package is being installed.

Duncan Murdoch

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to