[Ipopt] Error during Ipopt compilation using Cygwin
Brian Macdonald
macbdog at gmail.com
Tue May 16 11:53:18 EDT 2017
Hello all
I am having difficulty attempting to compile Ipopt using the Cygwin
interface. I am following the steps as listed in the documentation. The
Ipopt code (Ipopt 3.12) was acquired by svn, and I am using the HSL linear
solvers.
Running ../configure works fine, but using the make command resulted in the
following error:
rm -fr .libs/libipopt.lax
rm -fr .libs/libipopt.lax
mkdir .libs/libipopt.lax
rm -fr .libs/libipopt.lax/libLinearSolverLoader.a
mkdir .libs/libipopt.lax/libLinearSolverLoader.a
(cd .libs/libipopt.lax/libLinearSolverLoader.a && ar x
/usr/bin/coinIpopt/build/Ipopt/src/Interfaces/../c
ontrib/LinearSolverLoader/.libs/libLinearSolverLoader.a)
libtool: link: ERROR: object name conflicts:
.libs/libipopt.lax/libLinearSolverLoader.a//usr/bin/coinIpop
t/build/Ipopt/src/Interfaces/../contrib/LinearSolverLoader/.libs/libLinearSolverLoader.a
make[2]: *** [Makefile:480: libipopt.la] Error 1
make[2]: Leaving directory '/usr/bin/coinIpopt/build/Ipopt/src/Interfaces'
make[1]: *** [Makefile:679: all-recursive] Error 1
make[1]: Leaving directory '/usr/bin/coinIpopt/build/Ipopt'
make: *** [Makefile:323: all-recursive] Error 1
Looking at previous threads, I found one that suggested using
--disable-linear-solver-loader with configure to get around this error.
When I do that and then attempt to use make again, I am getting the
following error:
rm -fr .libs/libipopt.lax
rm -fr .libs/libipopt.lax
mkdir .libs/libipopt.lax
rm -fr .libs/libipopt.lax/libcgpenalty.a
mkdir .libs/libipopt.lax/libcgpenalty.a
(cd .libs/libipopt.lax/libcgpenalty.a && ar x
/usr/bin/coinIpopt/build/Ipopt/src/Interfaces/../contrib/CGPenalty/.libs/libcgpenalty.a)
libtool: link: ERROR: object name conflicts:
.libs/libipopt.lax/libcgpenalty.a//usr/bin/coinIpopt/build/Ipopt/src/Interfaces/../contrib/CGPenalty/.libs/libcgpenalty.a
make[2]: *** [Makefile:480: libipopt.la] Error 1
make[2]: Leaving directory '/usr/bin/coinIpopt/build/Ipopt/src/Interfaces'
make[1]: *** [Makefile:679: all-recursive] Error 1
make[1]: Leaving directory '/usr/bin/coinIpopt/build/Ipopt'
make: *** [Makefile:323: all-recursive] Error 1
I have tried starting from scratch, but I keep getting the same errors. Any
help with this is greatly appreciated.
Brian Macdonald
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20170516/11a58872/attachment.html>
More information about the Ipopt
mailing list