An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-devel/attachments/20080331/6e925233/attachment.pl
Compile dll in Windows XP
3 messages · Pavlidis, Polykarpos, Duncan Murdoch
On 31/03/2008 4:59 PM, Pavlidis, Polykarpos wrote:
This is my first attempt to call a C function from R. I have installed Rtools,MinGW and Perl and I have included them in my system path. I am trying to compile a toy function that can be called in R but when I type "RCMD SHLIB foo.c" I receive the following message in my Command prompt:
Show us your path. "Including" the tools is not good enough; the order matters. Rtools needs to be first. (See the instructions that come with the Rtools.)
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
Rtools wouldn't normally put MinGW there. Are you sure you're using a current version? Duncan Murdoch
make: ***[foo_res.o] Error 1 Could someone please help me with what's going wrong? Thank you in advance. *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- Polykarpos Pavlidis William E. Simon Graduate School of Business University of Rochester PhD Candidate, Marketing Carol Simon Bld 4-339 585-2753702 [[alternative HTML version deleted]]
______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-devel/attachments/20080331/4eaaf843/attachment.pl