From 081024015 at fudan.edu.cn  Sat Dec  5 14:35:16 2015
From: 081024015 at fudan.edu.cn (=?UTF-8?B?5p2O55Cl?=)
Date: Sat, 5 Dec 2015 21:35:16 +0800 (GMT+08:00)
Subject: [Rd] Compile error about using RInside on windows enviroment
Message-ID: <426ffd62.b22f.151725a90f2.Coremail.081024015@fudan.edu.cn>

  I'm going to using RInside on windows enviroment. I installed all tools and packages according to Dirk's instruction.
   My R installation reside in d:\hli\programfiles\R-3.2.2. There's no problems with folders with spaces.

    The rtools is installed in d:\hli\programfiles\Rtools and MinGW in d: \hli\programfiles\MinGW.
    The R_HOME is set to   d:\hli\programfiles\R-3.2.2.
    I have installed the Rcpp and RInside package in R.

     When i compile the rinside_sample0.cpp, it gives following error:

D:\hli\Programfiles\R-3.2.2\library\RInside\examples\standard>make -f Makefile.w
in rinside_sample0
g++ -m32 -ID:/hli/Programfiles/R-3.2.2/include -ID:/hli/Programfiles/R-3.2.2/inc
lude/i386 -ID:/hli/Programfiles/R-3.2.2/library/Rcpp/include -ID:/hli/Programfil
es/R-3.2.2/library/RInside/include -O2 -Wall -mtune=core2 -Wall  -s  rinside_sam
ple0.cpp    -LD:/hli/Programfiles/R-3.2.2/bin/i386 -lR -lm -LD:/hli/Programfiles
/R-3.2.2/bin/i386 -lRblas -LD:/hli/Programfiles/R-3.2.2/bin/i386 -lRlapack "D:/h
li/Programfiles/R-3.2.2/library/RInside/lib/i386/libRInside.a"  -o rinside_sampl
e0
rinside_sample0.cpp:1: error: bad value (core2) for -mtune= switch
make: *** [rinside_sample0] Error 1

    Dose anyone know how to fix this error? Thanks.
           
                                                 Eric.
                                                 12.5.2015



[Rd] Compile error about using RInside on windows enviroment
=?UTF-8?B?5p2O55Cl?=