Я пытаюсь установить scipoptsuite v6.0.1 (https://scipopt.org/download.php?fname= ... -6.0.1.tgz) на свой Mac M1. Следуя инструкциям на сайте:
Ссылка на файлchangeoplex.cpp: file
1. tar xvzf scip-x.y.z.tgz
2. cd scip-x.y.z
3. mkdir build
4. cd build
5. cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local
6. make
7. make check
8. make install
Выполнив эти действия и на шаге номер (5), я получаю следующую ошибку, которую не смог устранить:
[ 8%] Linking C executable ../../bin/zimpl
[ 8%] Built target zimpl
-- Git hash: e89d7d5
[ 8%] Built target soplex_update_githash
[ 8%] Building CXX object soplex/src/CMakeFiles/libsoplex-pic.dir/soplex/changesoplex.cpp.o
In file included from /Users/intelligentica/Desktop/scipoptsuite-6.0.1/soplex/src/soplex/changesoplex.cpp:19:
In file included from /opt/homebrew/include/soplex/spxdefines.h:59:
/opt/homebrew/include/soplex/config.h:14:9: warning: 'SOPLEX_WITH_GMP' macro redefined [-Wmacro-redefined]
#define SOPLEX_WITH_GMP
^
:1:9: note: previous definition is here
#define SOPLEX_WITH_GMP 1
^
In file included from /Users/intelligentica/Desktop/scipoptsuite-6.0.1/soplex/src/soplex/changesoplex.cpp:19:
In file included from /opt/homebrew/include/soplex/spxdefines.h:59:
/opt/homebrew/include/soplex/config.h:17:9: warning: 'SOPLEX_WITH_ZLIB' macro redefined [-Wmacro-redefined]
#define SOPLEX_WITH_ZLIB
^
:2:9: note: previous definition is here
#define SOPLEX_WITH_ZLIB 1
^
In file included from /Users/intelligentica/Desktop/scipoptsuite-6.0.1/soplex/src/soplex/changesoplex.cpp:19:
In file included from /opt/homebrew/include/soplex/spxdefines.h:63:
In file included from /opt/homebrew/include/boost/multiprecision/number.hpp:10:
Источник: https://stackoverflow.com/questions/781 ... stallation
Проблемы с шаблоном <> во время установки scip ⇐ C++
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Итеративный алгоритм на основе классов с шаблоном стратегии с шаблоном стратегии
Anonymous » » в форуме Python - 0 Ответы
- 35 Просмотры
-
Последнее сообщение Anonymous
-