-
Notifications
You must be signed in to change notification settings - Fork 35
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
Installing JSCIPOpt referencing debian package SCIPOptSuite-5.0.1-Linux.deb #13
Comments
Hi Can you try any of the following three options for compiling JSCIPOpt please
|
Hi, Thanks for your reply. I tried the 3 of them, resulting in the same error after with command make :
With the logs =
As you can see, the included directories for SCIP library ${SCIP_DIR} and ${SCIP_INCLUDE_DIRS} always point to the same directories : /usr/lib/cmake/scip and /usr/lib/cmake/scip/../../../include |
mmm so apparently libscip is not being found, which is weird. I don't really know. I am guessing you did Otherwise, I would download the |
Thanks for your reply. I'm trying the mentionned ways and inform you about the result. |
Well, I tried the Linux self-extracting archive and refer to the local repo for Then I tried : $ make -d (for debug level all) which display : So, in file /path_to/JSCIPOpt/build_sh/CMakeFiles/jscip.dir/build.make at line L143, there's a checkpoint : I then replace the line 143 with : Then $make -d displays : Then I come accros the file : /path_to/JSCIPOpt/build_sh/CMakeFiles/jscip.dir/link.txt Then everything works fine! All the steps programmed for the $ make operation go successful. I then guess that the problem is from the CMake step (of JSCIPOpt). Could you please check that issue, why the dependency Release/libjscip.so couldn't be resolve when refering to SCIPOptSuite installed files, installed either through Debian package or Linux self-extract archive? Thank you very much! |
Ok I tried to install it myself and also had problems. So apparently you must compile SCIP (I am talking linux here) with cmake, because you have to point to the |
Hi! Does the solving of this issue in your roadmap? Thank you very much in advance for your reply. |
I guess @mueldgog would have to have a look at the issue. He is currently unavailable but I think he would be interested to fix this. After all is very strange that it only works from a compiled SCIP and not an installed one. |
Yes, that would be nice. |
Dear developers,
I'd like to install JSCIPOpt referencing debian package SCIPOptSuite-5.0.1-Linux.deb on a Linux Debian machine, installing SCIPOptSuite-5.0.1-Linux.deb with dpkg is ok,
but I can’t figure out how to refer to installed files (listed by command : dpkg -c SCIPOptSuite-5.0.1-Linux.deb) when compiling JSCIPOpt with Cmake.
I don’t know what path to refer in the option -DSCIP_DIR in the command
$ cmake .. -DSCIP_DIR=/build
(following tutorial https://github.com/SCIP-Interfaces/JSCIPOpt/blob/master/INSTALL.md)
Maybe I’m missing or not understand something.
After compiling with :
$ cmake .. -DSCIP_DIR=/usr/include (for example, the repository where the .h SCIP files are placed)
I tried :
$ make
And that failed at first step :
Logs in English:
Scanning dependencies of target jscip
[10%] Building C object CMakeFiles / jscip.dir / src / scipjni_wrap.c.o
make [2]: *** No rules for making the "libscip-NOTFOUND" target, needed for "Release / libjscip.so". Stop.
CMakeFiles / Makefile2: 67: the recipe for the target "CMakeFiles / jscip.dir / all" failed
make [1]: *** [CMakeFiles / jscip.dir / all] Error 2
Makefile: 83: the recipe for the "all" target has failed
make: *** [all] Error 2
Please kindly let me know if there is a Debian package for JSCIPOpt and how to refer to installed files of SCIPOptSuite-5.0.1-Linux.deb
Please let me know if you need further information.
Thank you very much beforehand,
Best regards,
The text was updated successfully, but these errors were encountered: