[R] Errors when compile RInside using intel c++ compiler on windows

李琥 081024015 at fudan.edu.cn
Thu Dec 10 11:06:52 CET 2015


   I have read the mailing list about compiling R using 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?

                                                                                                  Eric



More information about the R-help mailing list