[Ipopt] Ipopt 3.10.0(1) compilation problem

Stefan Vigerske stefan at math.hu-berlin.de
Tue Nov 1 08:46:28 EDT 2011


Hi,

the MSVS project files that come with Ipopt are not uptodate, see also
https://projects.coin-or.org/Ipopt/ticket/168

It may be sufficient to add -DIPOPT_BUILD to the compiler flags.

Easiest may be to build under mingw or cygwin with the usual COIN-OR 
build system, or to use precompiled libraries from
http://www.coin-or.org/download/binary/Ipopt/

Stefan


> Hi,
>
> I tried to update from version 3.9.1 to 3.10.1. I did the same stuff as
> I updated from 3.8 to 3.9.1, however, this time I got several errors
> when compiling libIpopt, - mostly
>
> 1>------ Erstellen gestartet: Projekt: libIpopt, Konfiguration: Release
> Win32 ------
> 1>IpAdaptiveMuUpdate.cpp
> 1>c:\ipopt-3.10.0\ipopt\src\common\IpTypes.hpp(26) : error C2146:
> Syntaxfehler: Fehlendes ';' vor Bezeichner 'ipfint'
> 1>c:\ipopt-3.10.0\ipopt\src\common\IpTypes.hpp(26) : error C4430:
> Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int"
> wird von C++ nicht unterstützt.
> 1>c:\ipopt-3.10.0\ipopt\src\common\IpTypes.hpp(26) : error C4430:
> Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int"
> wird von C++ nicht unterstützt.
> 1>..\..\..\src\Algorithm\IpAdaptiveMuUpdate.cpp(18) : fatal error C1189:
> #error : "don't have header file for math"
>
> AND
>
> 1>..\..\..\src\LinAlg\IpLapack.cpp(23) : error C2065: 'dpotrs':
> nichtdeklarierter Bezeichner
> 1>..\..\..\src\LinAlg\IpLapack.cpp(23) : error C2065: 'DPOTRS':
> nichtdeklarierter Bezeichner
> 1>..\..\..\src\LinAlg\IpLapack.cpp(23) : error C4430: Fehlender
> Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von
> C++ nicht unterstützt.
> 1>..\..\..\src\LinAlg\IpLapack.cpp(23) : error C2078: Zu viele
> Initialisierungen
> 1>..\..\..\src\LinAlg\IpLapack.cpp(23) : error C2143: Syntaxfehler: Es
> fehlt ';' vor '('
> 1>..\..\..\src\LinAlg\IpLapack.cpp(23) : error C2062: 'char'-Typ unerwartet
> 1>..\..\..\src\LinAlg\IpLapack.cpp(26) : error C2059: Syntaxfehler: ')'
>
> It seems that the compilation of "libCoinBlas/HSL and Lapack" worked out
> fine. I'm using Visual Studio C++ 2005 (32 bit) version on a 64 bit
> Windows 7 machine. Any help would be really nice. Thanks!
>
> Best regards,
> Andre
>


-- 
Stefan Vigerske
Humboldt University Berlin, Numerical Mathematics
http://www.math.hu-berlin.de/~stefan


More information about the Ipopt mailing list