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&

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

2012-05-09 Thread Zalan Szakolci
ents welcome. Thanks, Zalan On 9 May 2012 14:11, Dirk Eddelbuettel wrote: > > 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 ch

[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