Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Errors when compile RInside using intel c++ compiler on windows

lu_h_1
Beginner
606 Views
I have read the mailing list about compiling Rusing intel c++ compiler on linux. http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2013-January/005035.html In my environment I am going to compile RInside using intel c++ compiler on windows. I take the sample0 in RInside example folder for test. It's the "Hello world" example. After fixing all the compile errors following lingk errors appears: error LNK2019:unresolved external symblo "public : _thiscall RInside::RInside(int,char.....)" error LNK2019:unresolved external symblo "public : _thiscall RInside::~RInside(void)" error LNK2019:unresolved external symblo "public : _thiscall RInside::parseEvalQ(class std::basic_string....)" ..... I created RInside.lib from the RInside.dll(comes from the RInside\libs\i386) using pexports and lib command. After adding the RInside.lib into the project->property->linker->input, the errors still exists. Does anyone know how to fix these errors? Or is there anyone who knows how to compile RInside program using intel c++ compiler on windows?
0 Kudos
2 Replies
Amanda_S_Intel
Employee
606 Views

Interesting, I see there is an article for building R on Linux but I didn't find any for Windows. Here' s the Linux version of the build instructions, might find some hints there: https://software.intel.com/en-us/articles/build-r-301-with-intel-c-compiler-and-intel-mkl-on-linux. What version are trying to compile?

0 Kudos
lu_h_1
Beginner
606 Views

I use the R-3.2.2, RInside_0.2.13,Rcpp_0.12.2.

I've compiled using MinGW and run the examples of RInside on windows.

Does anyone know how to compile RInside program using intel c++ compiler on windows?

 

0 Kudos
Reply