coin-or / Clp

COIN-OR Linear Programming Solver
Other
396 stars 82 forks source link

unable to install clpAPI for R #214

Open rcaballo opened 2 years ago

rcaballo commented 2 years ago

Ho to fix this issue on R I have symphony installed and symphony and clp are working (at least outside R)

configure: error: Could not find Clp_C_Interface.h: clpAPI requires clp from http://www.coin-or.org/projects/Clp.xml use --with-clp-include or CLP_INCLUDE to specify the include path. ERROR: configuration failed for package ‘clpAPI’

trying URL 'https://cloud.r-project.org/src/contrib/clpAPI_1.3.1.tar.gz' Content type 'application/x-gzip' length 275030 bytes (268 KB)

downloaded 268 KB

The downloaded source packages are in ‘/tmp/Rtmpxoj6hO/downloaded_packages’ Updating HTML index of packages in '.Library' Making 'packages.html' ... done Warning message: In install.packages("clpAPI") : installation of package ‘clpAPI’ had non-zero exit status

samory22 commented 2 years ago

Hi, did you solve this, please? thanks

tkralphs commented 2 years ago

It appears that the R package assumes you have already installed the Clp package itself and that you set the environment variable CLP_INCLUDE appropriately. But this is not the place to report issues with the R package, which is maintained separately. I would suggest asking questions about this in the forum used for R packages.