scipopt / soplex

Sequential object-oriented simPlex
Other
59 stars 18 forks source link

Installation Error (CMake) #3

Closed chemrgineer closed 2 years ago

chemrgineer commented 2 years ago

Hi, I get error on Soplex similar to SCIP (fixed with last change). When I type "sudo make install", I get:

[  0%] Built target soplex_cleanup_config
fatal: unsafe repository ('/home/optimization/downloads/soplex' is owned by someone else)
To add an exception for this directory, call:

        git config --global --add safe.directory /home/optimization/downloads/soplex
CMake Error at soplex_update_githash.cmake:12 (string):
  string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
  command.

make[2]: *** [CMakeFiles/soplex_update_githash.dir/build.make:70: CMakeFiles/soplex_update_githash] Error 1
make[1]: *** [CMakeFiles/Makefile2:171: CMakeFiles/soplex_update_githash.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
chemrgineer commented 2 years ago

Hi, I found solution. Same change fix this error: https://github.com/scipopt/scip/commit/4e7bbc478d7b15b107fc1448b3da6f7388902bdd