[GAMSlinks-tickets] Re: [GAMS interface to COIN-OR solvers] #1:
error running configure script
GAMS interface to COIN-OR solvers
coin-trac at coin-or.org
Tue Mar 27 14:20:22 EDT 2007
#1: error running configure script
--------------------------+-------------------------------------------------
Reporter: bbaumrucker | Owner: stefan
Type: defect | Status: assigned
Priority: major | Milestone:
Component: component1 | Version:
Resolution: | Keywords:
--------------------------+-------------------------------------------------
Comment (by bbaumrucker):
For all three of the trials, I recieved an error. The exact message is
slightly different each time, but they all look something like this:
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other
libs; us
e /NODEFAULTLIB:library
GamsIpopt.exe : fatal error LNK1169: one or more multiply defined symbols
found
The third option does build the executable, and after a little file
renaming will install on GAMS. However, calling the solver results in the
error:
--- Executing IPOPT
'#!' is not recognized as an internal or external command,
operable program or batch file.
If you think switching compilers would help, I can. I have access to
several versions of both Microsoft's C/C++ (v6.0 and .NET 2003) and Compaq
Digital Fortran (v5.0 and v6.6) as well as Intel Fortran v8.0 compiler.
Do you know what version of each was used to compile the GAMSIO libraries?
I think I might have found something... I tried the following:
$ cl -O2 -DNDEBUG -nologo -EHsc -GR -o GamsIpopt.exe GamsIpopt.obj
SmagNLP.obj
SmagJournal.obj c:/temp3/btb3/Ipopt/src/Interfaces/.libs/libipopt.lib
c:/temp3/
gamslinks-0.2.0/ThirdParty/GAMSIO/VIS/clicelib.lib
c:/temp3/gamslinks-0.2.0/Thi
rdParty/GAMSIO/VIS/smag.lib
c:/temp3/gamslinks-0.2.0/ThirdParty/GAMSIO/VIS/gcli
b.lib c:/temp3/gamslinks-0.2.0/ThirdParty/GAMSIO/VIS/g2d.lib
libifcorert.lib if
consol.lib -link /NODEFAULTLIB:LIBCMT
This completed without an error! I can then rerun the make and make
install routines, without cleaning. I get no error messages! The solver
installs into GAMS with no problems. However, when I run it, I get the
same error about # as before. Upon further inspection, it appears that
the make install created gms_ipnt.cmd as a linux shell script instead of a
DOS batch file to call the executable. I just rewrote it myself and
everything appears to be working! I'll test it out some more and let you
know if I have any more troubles.
Thank you very much for your patience and your hard work!
--
Ticket URL: <https://projects.coin-or.org/GAMSlinks/ticket/1#comment:7>
GAMS interface to COIN-OR solvers <http://projects.coin-or.org/GAMSlinks>
GAMS interface to COIN-OR solvers
More information about the GAMSlinks-tickets
mailing list