Reputation: 6039
I am trying to compile SCIP using the following command:
make ZLIB=false READLINE=false GMP=false
Anyone has idea how to handle this issue?
-> compiling obj/O.darwin.x86_64.gnu.opt/lib/objscip/objsepa.o
-> compiling obj/O.darwin.x86_64.gnu.opt/lib/objscip/objvardata.o
-> generating library lib/libobjscip-3.1.1.darwin.x86_64.gnu.opt.a
-> compiling obj/O.darwin.x86_64.gnu.opt/lib/lpi/lpi_spx.o
src/lpi/lpi_spx.cpp:76:10: fatal error: 'spxsolver.h' file not found
#include "spxsolver.h"
^
1 error generated.
make[1]: *** [obj/O.darwin.x86_64.gnu.opt/lib/lpi/lpi_spx.o] Error 1
make: *** [libs] Error 2
Note: I am using Mac OS X Yosemite 10.10.3
Upvotes: 1
Views: 778
Reputation: 6039
The problem was that I was installing the scip-3.1.1.tgz
rather than
scipoptsuite-3.1.1.tgz
. Running make
on scipoptsuite-3.1.1.tgz
runs perfectly fine.
Upvotes: 3
Reputation: 1375
SCIP uses external LP-solvers such as SoPlex (by default) as underlying LP-solver. The LP-solver needs to be linked in at compilation time. Here is how you do that:
~/soplex
make links
from your SCIP directoryPlease refer to the Installation guide of SCIP for more details, especially the step-by-step example No. 1.
Upvotes: -1