[LaGO] problem installing GAMSlinks

Diogo Borges diogoborges at hotmail.com
Wed Jun 3 10:25:22 EDT 2009


I followed the installation steps but I can't seem to execute the configure script.
I'm running: configure --enable-os-solver

----
Unfortunately, while the GAMS I/O libraries are compiled with the
Microsoft compiler and linked against LIBC, the COIN-OR buildsystem
links by default against LIBCMT when compiling with the Microsoft
compiler (cl).
In this case you need to change the compiler flags that are used when
COIN-OR packages are compiled:
   ADD_CXXFLAGS="-nologo -EHsc -GR"
   DBG_CXXFLAGS=" "
   OPT_CXXFLAGS="-O2 -DNDEBUG"
----
I just couldn't figure out where should i set this values. I don't understand how to change the compiler flags.

Does this mean the variables in ac_subst_vars in the configure file?

ADD_CFLAGS="-nologo -EHsc -GR"
DBG_CFLAGS=" " 
OPT_CFLAGS"-O2 -DNDEBUG"

I've tried this but got the same error: the VIS libraries don't seem to be working.

I'm running windows vista x86_32 with fortran and cl compiler.

I aprecciate if somebody can help,

Diogo Borges

Final Output section:
configure: configuring in GAMSlinks
configure: running /bin/sh './configure' --prefix=/cygdrive/c/Users/Borges/Deskt
op/COIN/Coin-GAMSlinks  '--enable-os-solver' --cache-file=/dev/null --srcdir=.
checking build system type... i686-pc-cygwin
checking whether we want to compile in debug mode... no
checking for egrep... grep -E
checking whether ln -s works... yes
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
configure: C compiler options are: -O3 -fomit-frame-pointer -pipe -DNDEBUG -peda
ntic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual
-Wall -Wno-unknown-pragmas
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
configure: C++ compiler options are: -O3 -fomit-frame-pointer -pipe -DNDEBUG -pe
dantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer
-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas
configure: Assuming that CXXLIBS is "-lstdc++ -lm".
configure: Trying to determine Fortran compiler name
checking for gfortran... no
checking for g77... g77
configure: Trying to determine Fortran compiler name
checking for gfortran... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
configure: Fortran compiler options are: -O3 -fomit-frame-pointer -pipe
checking how to get verbose linking output from g77... -v
checking for Fortran libraries of g77...  -Lc:/MinGW/bin/../lib/gcc/mingw32/3.4.
5 -Lc:/MinGW/bin/../lib/gcc -L/mingw/lib/gcc/mingw32/3.4.5 -Lc:/MinGW/bin/../lib
/gcc/mingw32/3.4.5/../../../../mingw32/lib -L/mingw/lib/gcc/mingw32/3.4.5/../../
../../mingw32/lib -L/mingw/lib -Lc:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../..
-L/mingw/lib/gcc/mingw32/3.4.5/../../.. -lfrtbegin -lg2c -lmingw32 -lmoldname -l
mingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... lower case, underscore, extra under
score
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking dependency style of g++... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
configure: Using libtool script in directory ..
checking for COIN project GAMSlinks... .
checking for COIN project Cgl... ../Cgl
checking for COIN project CoinUtils... ../CoinUtils
checking for COIN project Osi... ../Osi
checking for COIN project Clp... ../Clp
checking for COIN project Vol... unavailable
checking for COIN project DyLP... unavailable
checking for COIN project SYMPHONY... unavailable
checking for COIN project Cbc... ../Cbc
checking for COIN project Ipopt... ../Ipopt
checking for COIN project Bonmin... ../Bonmin
checking for COIN project cppad... ../cppad
checking for COIN project OS... ../OS
checking cassert usability... yes
checking cassert presence... yes
checking for cassert... yes
checking cstdio usability... yes
checking cstdio presence... yes
checking for cstdio... yes
checking cstdlib usability... yes
checking cstdlib presence... yes
checking for cstdlib... yes
checking cstring usability... yes
checking cstring presence... yes
checking for cstring... yes
checking cstdarg usability... yes
checking cstdarg presence... yes
checking for cstdarg... yes
checking climits usability... yes
checking climits presence... yes
checking for climits... yes
checking cctype usability... yes
checking cctype presence... yes
checking for cctype... yes
checking cerrno usability... yes
checking cerrno presence... yes
checking for cerrno... yes
checking cmath usability... yes
checking cmath presence... yes
checking for cmath... yes
checking whether va_copy is declared... yes
checking for stricmp... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking if user provides library for Glpk... no
configure: Using Glpk in ThirdParty/Glpk
checking if user provides library for Scip... no
checking whether to include solvers into GamsOS binary... yes
checking if user provides library for Cplex... no
checking for gams... /cygdrive/c/Program Files/GAMS23.0/gams
checking for c:/Users/Borges/Desktop/COIN/Coin-GAMSlinks/ThirdParty/GAMSIO/VIS/i
olib.h... yes
checking whether GAMS I/O libraries at c:/Users/Borges/Desktop/COIN/Coin-GAMSlin
ks/ThirdParty/GAMSIO/VIS work... no
configure: error: GAMS I/O library at  does not work
configure: error: /bin/sh './configure' failed for GAMSlinks
_________________________________________________________________
Conheça os novos produtos Windows Live! Clique aqui.
http://www.windowslive.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/lago/attachments/20090603/26f2f8d2/attachment.html 


More information about the LaGO mailing list