我正在尝试在我拥有的不同计算机上安装 SCIP。现在尝试新安装的 Ubuntu 14.04。所以我从这里得到了 scip 套装并make
编辑了它。然后我去了scipoptsuite-3.1.1/scip-3.1.1/interfaces/jni
并按照自述文件中的说明进行操作:
1) doxygen jniinterface.dxy
- generates xml documentation
2) ./createJniInterface.py xml/*
- uses the xml documentation and creates JNI interface
3) create softlinks to soplex and scip in "lib" folder:
mkdir ./lib
cd lib
ln -s ../../../../soplex-2.0.0 soplex
ln -s ../../.. scip
cd ..
4) make soplex
- creates shared library of Soplex
- use options (e.g., ZLIB=false GMP=false) as required
5) make scip
- creates shared library of SCIP
- use options (e.g., ZIMPL=false READLINE=false ZLIB=false GMP=false)
as required
6) make
7) test your installation:
cd examples/JniKnapsack
make
make run
一切都很好,直到第 6 步,在此期间我收到以下错误。任何想法?
daniel-ubuntu@ubuntu:~/Downloads/scipoptsuite-3.1.1/scip-3.1.1/interfaces/jni$ make
make: *** No rule to make target `classes/de/zib/jscip/nativ/jni/JniScip.class', needed by `all'. Stop.