Errors while installing Rcplex in R on MAC

喜你入骨 提交于 2019-12-24 20:11:57

问题


I am trying to install Rcplex on MAC but I am running into very strange error. I ran the following command on terminal:

R CMD INSTALL --configure-args=" \ --with-cplex-lib='/Applications/CPLEX_Studio_Community129/cplex/lib/x86-64_osx/static_pic/' \ --with-cplex-include='/Applications/CPLEX_Studio_Community129/cplex/include/' \ --with-cplex-link='-lcplex -m64 -lm -pthread' \ --with-cplex-check='/Applications/CPLEX_Studio_Community129/cplex/examples/src/c' \ --with-cplex-cflags='-m64 -fPIC'" \ Rcplex

and got the following error: checking for library containing CPXversion... no configure: error: Could not link CPLEX library using /Applications/CPLEX_Studio_Community129/cplex/lib/x86-64_osx/static_pic/ ERROR: configuration failed for package ‘Rcplex’

来源:https://stackoverflow.com/questions/56710379/errors-while-installing-rcplex-in-r-on-mac

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!