[Rd] R CMD check linking errors, when interfacing c++

2012-05-09 Thread Zalan Szakolci
Hi there, I am trying to interface c++ code in R and make a package. With R CMD SHLIB the dll was created, but when I try R CMD check, I am getting 'undefined reference to..' linkage error messages. The relevant c++ source from conf-infomap.cpp: #include "conf-infomap.h" #include "R.h" // R fu

Re: [Rd] R CMD check linking errors, when interfacing c++

2012-05-09 Thread Dirk Eddelbuettel
On 9 May 2012 at 00:35, Zalan Szakolci wrote: | Hi there, | | I am trying to interface c++ code in R and make a package. With R CMD SHLIB | the dll was created, but when I try R CMD check, I am getting 'undefined | reference to..' linkage error messages. | | The relevant c++ source from conf-inf

Re: [Rd] R CMD check linking errors, when interfacing c++

2012-05-09 Thread Zalan Szakolci
Hi, Thanks for the suggestions. I've forgotten to point out, that R CMD COMPILE and R CMD SHLIB works fine, the dll file was indeed created. I get these undefined references when I'm trying to run R CMD INSTALL. I've read through the "Writing R extensions" and the archives, but I really don't

Re: [Rd] R CMD check linking errors, when interfacing c++

2012-05-09 Thread Simon Urbanek
On May 9, 2012, at 9:10 AM, Zalan Szakolci wrote: > Hi, > > Thanks for the suggestions. I've forgotten to point out, that > > R CMD COMPILE and > R CMD SHLIB > > works fine, the dll file was indeed created. I get these undefined > references when I'm trying to run R CMD INSTALL. > ... which

Re: [Rd] R CMD check linking errors, when interfacing c++

2012-05-09 Thread Zalan Szakolci
Yes, you were right guys, I've deleted my Makefile from the directory, and everything goes fine. Many thanks. On 9 May 2012 15:16, Simon Urbanek wrote: > > On May 9, 2012, at 9:10 AM, Zalan Szakolci wrote: > > > Hi, > > > > Thanks for the suggestions. I've forgotten to point out, that > > > >

[Rd] R Installation Manual - ATLAS BLAS guidance that is not in the current version

2012-05-09 Thread Adler, Avraham
Good afternoon. I am trying to compile a version of Rblas.dll based on ATLAS for the Corei7. I had remembered that there was mention of which file to adjust and that "xerbla" needed to be removed from one of the outputs from the last time I tried a few years ago. The most recent version of the