R安装Rcplex包用于窗口

时间:2016-08-03 01:36:45

标签: r install

当我安装Rcplex时,它有问题。

c:/Rtools/mingw_32/bin/gcc  -I"C:/PROGRA~1/R/R-33~1.1/include" -DNDEBUG -I"/include"    -I"d:/Compiler/gcc-4.9.3/local330/include"     -O3 -Wall  -std=gnu99 -mtune=core2 -c Rcplex.c -o Rcplex.o
In file included from Rcplex.c:2:0:
Rcplex.h:4:27: fatal error: ilcplex/cplex.h: No such file or directory
#include <ilcplex/cplex.h>

compilation terminated.
make: *** [Rcplex.o] Error 1
Warning: 執行中命令 'make -f "Makevars.win" -f "C:/PROGRA~1/R/R-33~1.1/etc/i386/Makeconf" -f "C:/PROGRA~1/R/R-33~1.1/share/make/winshlib.mk" SHLIB="Rcplex.dll" OBJECTS="Rcplex.o Rcplex_QCP.o Rcplex_params.o Rcplex_utils.o"' 已有狀態 2
ERROR: compilation failed for package 'Rcplex'
* removing 'C:/Users/user/Documents/R/win-library/3.3/Rcplex'

 Warning messages:
1: running command '"C:/PROGRA~1/R/R-33~1.1/bin/x64/R" CMD INSTALL -l "C:\Users\user\Documents\R\win-library\3.3" C:\Users\user\AppData\Local\Temp\Rtmp2HBKKW/downloaded_packages/Rcplex_0.3-3.tar.gz' had status 1 
2: In install.packages("Rcplex") :installation of package ‘Rcplex’ had non-zero exit status

这意味着我的安装位置与cplex ???

不一致

我发现包索引说该包不适用于Windows二进制文件 所以包不能用于Windows吗? 我已经安装了cplex。怎么解决?请!!

0 个答案:

没有答案