Re: [Rcpp-devel] RInside and MinGW (Windows)

2017-11-28 Thread Jose
We can always do with better/newer/updated/current HOWTOs and walk-through. Maybe you can start with a blog post or step-by-step guide. I totally agree, unfortunately I never got around starting a blog which is bad because I have struggled with some interesting problems that could be worth sharing

Re: [Rcpp-devel] RInside and MinGW (Windows)

2017-11-28 Thread Dirk Eddelbuettel
On 28 November 2017 at 16:03, Jose wrote: | I had no reason to believe it would not work neither. | I was able to make it work. I re-installed R and RTools | from the scratch and cleaned up the project. So, I am not sure | what I was missing really. One thing though, I am fine linking just | again

Re: [Rcpp-devel] RInside and MinGW (Windows)

2017-11-28 Thread Jose
I had no reason to believe it would not work neither. I was able to make it work. I re-installed R and RTools from the scratch and cleaned up the project. So, I am not sure what I was missing really. One thing though, I am fine linking just against the DDLs and I need to have a variable R_HOME poin

Re: [Rcpp-devel] RInside and MinGW (Windows)

2017-11-27 Thread Dirk Eddelbuettel
On 27 November 2017 at 17:22, Jose wrote: | Hi Dirk, | | Thanks for your email. | | I forgot to mention that I am using Rtool's MinGW and the PATH variable | includes C:\Rtools\bin and C:\Rtools\mingw_32\bin. | Also, I had to copy some dlls from the original MinGW (which is the one | that I had

Re: [Rcpp-devel] RInside and MinGW (Windows)

2017-11-27 Thread Jose
Hi Dirk, Thanks for your email. I forgot to mention that I am using Rtool's MinGW and the PATH variable includes C:\Rtools\bin and C:\Rtools\mingw_32\bin. Also, I had to copy some dlls from the original MinGW (which is the one that I had before) in order to be able to compile with the Rtool's Min

Re: [Rcpp-devel] RInside and MinGW (Windows)

2017-11-27 Thread Dirk Eddelbuettel
On 27 November 2017 at 14:28, Jose wrote: | Hello, | | I am trying to build an application that uses RInside on Windows | and I get linking problems (undefined references to RInside). | The application builds and links fine on Linux and MAC. | | I tried to link against both libRinside.a and libR

[Rcpp-devel] RInside and MinGW (Windows)

2017-11-27 Thread Jose
Hello, I am trying to build an application that uses RInside on Windows and I get linking problems (undefined references to RInside). The application builds and links fine on Linux and MAC. I tried to link against both libRinside.a and libRinside.dll. The linking paths are correct and I am also l