[SCIP] Problems trying to build 8.0
Victor Miller
victorsmiller at gmail.com
Thu Dec 23 19:30:15 CET 2021
I downloaded the source tar file for scip 8.0.0 and tried compiling it.
I'm on a linux system (AWS) using GCC version 11. Everything compiled,
zimpl and soplex built ok, but when it came time to link scip I got the
errors below. Any suggestions?
Linking CXX executable ../../bin/scip
/aws/local/GCC/11.2/bin/../lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
CMakeFiles/scip.dir/scip/reader_nl.cpp.o: undefined reference to symbol
'_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm@
@GLIBCXX_3.4.21'
/aws/local/GCC/11.2/bin/../lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
/usr/local/GCC/current11/lib64/libstdc++.so.6: error adding symbols: DSO
missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [bin/scip] Error 1
make[1]: *** [scip/src/CMakeFiles/scip.dir/all] Error 2
[ 75%] Linking CXX shared library ../../lib/libscip.so
[ 75%] Built target libscip
make: *** [all] Error 2
Here is the cmake command that I used (inside a new build subdirectory)
cmake -DCMAKE_C_COMPILER=`which gcc` -DCMAKE_CXX_COMPILER=`which gcc`
-DPAPILO=off -DIPOPT=off ..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20211223/4979c542/attachment.html>
More information about the Scip
mailing list