【发布时间】:2015-07-05 22:07:18
【问题描述】:
我想在 win 7 上安装 google-or-tools (https://code.google.com/p/or-tools/),以便我可以从 vidsual studio 2013 调用第三方优化求解器 (scip http://scip.zib.de/)。
我是 or-tools 的新手。
我按照https://developers.google.com/optimization/docs/installing#source_windows的说明进行操作
但是,当我在 cygwin 中运行“tools/make.exethird_party”时,出现错误:
makefiles/Makefile.cpp.mk:1573: warning: ignoring old commands for target `lib/libbop.'
cd dependencies/sources/gflags-2.1.1 && \
-D BUILD_SHARED_LIBS=ON \
-D BUILD_STATIC_LIBS=ON \
-D CMAKE_INSTALL_PREFIX=../../install \
-D CMAKE_CXX_FLAGS=-fPIC \
.
C:\cygwin\install\tmp\make91243.sh: line 1: -D: command not found
E:\Google_or_tools\or-tools-master\tools\make.exe: *** [dependencies/install/bin/gflags_completions.sh] Error 127
我在 C:\cygwin\install 中找不到文件 make91243.sh。
任何帮助将不胜感激。
谢谢
【问题讨论】:
标签: visual-studio-2013 windows-7 scip or-tools