-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grass needs some IBM development CPLEX library to compile? #6
Comments
Hi, ILOG/IBM CPLEX is required - it's used internally to solve Quadratic and Linear Programming problem. It should be possible to port the code to use some open source solver, but I don't have time for this. Also, if you decide to install CPLEX and continue compiling, you might want to change the custom include path to match your directories:
Alexey |
I learned by the hard way already. ;-) https://www.mail-archive.com/[email protected]/msg184287.html I wonder whether you would better include standard paths into the Makefile.config , everybody except you has to edit the file. ;-) Also, would be nice if you provided the manual.tex converted into .pdf or .txt. |
If you can provided an edited Makefile, I will merge it. 2016-02-11 22:18 GMT+01:00 mmokrejs [email protected]:
|
Here it is, but while we are at it I think that:
|
I updated the makefile with the changes you propose. |
It does not seem so. Here is what I meant. fix_Makefile_variablenames.patch.txt Oh yes, I still need to install the CPLEX library anyway. |
I was facing similar problem while integrating CPLEX with R, and installing the cplexAPI package, see https://cran.r-project.org/web/packages/cplexAPI/ two thing that you need to check is -L"${CPLEX_STUDIO_LIB}" is replaced by in my case, -L"C:/Program Files/IBM/ILOG/CPLEX_Studio1271/cplex/bin/x64_win64" (see bin/x64_win64) , replace $ too second inside the folder x64_win64, look for cplex12**.dll file, this the file where -lcplex1261 is pointing to, here manually change -lcplex1261 to whatever your file name is (in my case it was cplex1271.dll, so I changed -lcplex1261 to -lcplex1271, similarly ${CPLEX_STUDIO_DIR} must be replaced by C:/Program Files/IBM/ILOG/CPLEX_Studio1271 (in my case). After this, follow the instruction given in https://www.r-bloggers.com/using-cplex-in-r-installing-cplexapi-in-windows-10/, R CMD build --no-build-vignettes --no-manual --md5 C:\Users{computer name here}\Desktop\cplexAPI |
Hi,
I am trying to prepare a package for Gentoo Linux. The following error seems that you maybe use some IBM development CPLEX library? Any details whether it is required or not?
The text was updated successfully, but these errors were encountered: