李琥
2015-Dec-10 10:06 UTC
[R] Errors when compile RInside using intel c++ compiler on windows
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
Bert Gunter
2015-Dec-10 17:30 UTC
[R] Errors when compile RInside using intel c++ compiler on windows
Wrong list!. This is about programming **IN** the R language. For your sort of question, post to the R-devel list. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Thu, Dec 10, 2015 at 2:06 AM, ?? <081024015 at fudan.edu.cn> wrote:> 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 > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
Marc Schwartz
2015-Dec-10 17:43 UTC
[R] Errors when compile RInside using intel c++ compiler on windows
Hi, For clarification, the rcpp support list is the recommended location for RInside support: http://lists.r-forge.r-project.org/mailman/listinfo/rcpp-devel Regards, Marc> On Dec 10, 2015, at 11:30 AM, Bert Gunter <bgunter.4567 at gmail.com> wrote: > > Wrong list!. This is about programming **IN** the R language. For your > sort of question, post to the R-devel list. > > Cheers, > Bert > Bert Gunter > > "The trouble with having an open mind is that people keep coming along > and sticking things into it." > -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) > > > On Thu, Dec 10, 2015 at 2:06 AM, ?? <081024015 at fudan.edu.cn> wrote: >> 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 >> >> ______________________________________________ >> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.