[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
Mon Mar 5 15:15:40 EST 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):

 That worked.  I'm no longing getting that error.  I can now run the
 configure script successfully; however, I'm now having trouble when I run
 'make'.  The trouble seems to start when the cbc directory is processed.
 If I type:

 C:\temp2\GAMSlinks-0.2.0\Cbc>make

 I get:
 {{{
 Making all in src
 make[1]: Entering directory `/cygdrive/c/temp2/GAMSlinks-0.2.0/Cbc/src'
 /bin/sh ../libtool --tag=CXX --mode=link cl  -O2 -DNDEBUG -nologo -GX -GR
 -ML
  -o cbc-generic.exe -rpath /cygdrive/c/temp2/GAMSlinks-0.2.0/lib
 CbcMain.obj Cbc
 Param.obj unitTest.obj CbcOrClpParam.obj libCbc.la
 /cygdrive/c/temp2/GAMSlinks-0
 .2.0/Cbc/../Cgl/src/libCgl.la
 /cygdrive/c/temp2/GAMSlinks-0.2.0/Cbc/../Osi/src/O
 siCbc/libOsiCbc.la
 /cygdrive/c/temp2/GAMSlinks-0.2.0/Cbc/../Osi/src/OsiClp/libOs
 iClp.la /cygdrive/c/temp2/GAMSlinks-0.2.0/Cbc/../Clp/src/libClp.la
 /cy
 gdrive/c/temp2/GAMSlinks-0.2.0/Cbc/../Osi/src/libOsi.la
 /cygdrive/c/temp2/GAMSli
 nks-0.2.0/Cbc/../CoinUtils/src/libCoinUtils.la `cat
 /cygdrive/c/temp2/GAMSlinks-
 0.2.0/Cbc/../Clp/clp_addlibs.txt`    `cat
 /cygdrive/c/temp2/GAMSlinks-0.2.0/Cbc/
 ../Osi/osi_addlibs.txt` `cat
 /cygdrive/c/temp2/GAMSlinks-0.2.0/Cbc/../CoinUtils/
 coinutils_addlibs.txt`
 cl -O2 -DNDEBUG -nologo -GX -GR -ML -o cbc-generic.exe CbcMain.obj
 CbcParam.obj
 unitTest.obj CbcOrClpParam.obj  .libs/libCbc.lib
 c:/temp2/GAMSlinks-0.2.0/Cgl/sr
 c/.libs/libCgl.lib
 c:/temp2/GAMSlinks-0.2.0/Osi/src/OsiCbc/.libs/libOsiCbc.lib c
 :/temp2/GAMSlinks-0.2.0/Osi/src/OsiClp/.libs/libOsiClp.lib
 c:/temp2/GAMSlinks-0.
 2.0/Clp/src/.libs/libClp.lib
 c:/temp2/GAMSlinks-0.2.0/Osi/src/.libs/libOsi.lib c
 :/temp2/GAMSlinks-0.2.0/CoinUtils/src/.libs/libCoinUtils.lib
 -L/cygdrive/c/temp2
 /GAMSlinks-0.2.0/lib
 cl : Command line warning D4002 : ignoring unknown option
 '-L/cygdrive/c/temp2/G
 AMSlinks-0.2.0/lib'
 CbcMain.obj : error LNK2001: unresolved external symbol "public: virtual
 class s
 td::basic_string<char,struct std::char_traits<char>,class
 std::allocator<char> >
  __thiscall CglClique::generateCpp(struct _iobuf *)"
 (?generateCpp at CglClique@@UA
 E?AV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@PAU_iobuf@@@Z)
 libCbc.lib(CbcStrategy.obj) : error LNK2001: unresolved external symbol
 "public:
  virtual class std::basic_string<char,struct std::char_traits<char>,class
 std::a
 llocator<char> > __thiscall CglClique::generateCpp(struct _iobuf *)"
 (?generateC
 pp at CglClique@@UAE?AV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@
 @PAU_iobuf@@@Z)
 }}}

 The message continues with more 'unresolved external symbol' errors.

 I'm only interested in the GAMS interface to the solver IPOPT, but the
 version that comes with GAMS uses MUMPS as the linear solver.  I would
 like to use MA27, instead.  I believe this requires me to recompile
 GAMSLinks, correct?

 I'm again unsure how to proceed.  Any help would be appreciated.

-- 
Ticket URL: <https://projects.coin-or.org/GAMSlinks/ticket/1#comment:2>
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