Error creating google tools on win7

I want to install google-or-tools ( https://code.google.com/p/or-tools/ ) on win 7 so that I can call third party optimization optimizers (scip http://scip.zib.de/ ) from vidsual studio 2013.

I am new to or-tools.

I followed the instructions https://developers.google.com/optimization/docs/installing#source_windows

But when I ran "tools / make.exe third_party" in cygwin, I got the error:

  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

      

I cannot find the make91243.sh file in C: \ cygwin \ install.

Any help would be appreciated.

thank

+3


source to share


2 answers


This is an old question, but note that or-tools does not support Cygwin at the moment (see this post). On Windows, you need to use the Microsoft Visual C ++ compiler.



0


source


Currently the latest version (v6.5) supports Visual Studio 2015 and Visual Studio 2017 on Windows and does not support Visual Studio 2013.



0


source







All Articles