[Ipopt] Complie successful, make error

Stefan Vigerske stefan at math.hu-berlin.de
Sat Jul 21 11:40:10 EDT 2012


Hi,

FORTRAN_INTEGER_TYPE should be defined in src/Common/ipopt_config.h, 
which gets included by IpoptConfig.h.
Which type it is, is determined during configure. Did some error 
messages come up during configure?

Stefan

On 07/21/2012 03:50 AM, Joon Ro wrote:
> Hi,
>
> I'm using linux (openSUSE 12.1 64bit), and I have successfully installed
> Ipopt on my laptop. I tried to do so in my desktop, but after successful
> configure, I get make error.
>
> I downloaded Metis, mc19, and ma57, and it seems those were compiled fine.
> Now when I do make, I get the the following error:
>
> Any help would be greatly appreciated. Thank you!
>
> -Joon
>
>
> $ make
> Making all in ThirdParty/Metis
> make[1]: Entering directory
> `/home/joon/programs/Ipopt-3.10.2/build/ThirdParty/Metis'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory
> `/home/joon/programs/Ipopt-3.10.2/build/ThirdParty/Metis'
> Making all in ThirdParty/HSL
> make[1]: Entering directory
> `/home/joon/programs/Ipopt-3.10.2/build/ThirdParty/HSL'
> make  all-am
> make[2]: Entering directory
> `/home/joon/programs/Ipopt-3.10.2/build/ThirdParty/HSL'
> make[2]: Leaving directory
> `/home/joon/programs/Ipopt-3.10.2/build/ThirdParty/HSL'
> make[1]: Leaving directory
> `/home/joon/programs/Ipopt-3.10.2/build/ThirdParty/HSL'
> Making all in Ipopt
> make[1]: Entering directory `/home/joon/programs/Ipopt-3.10.2/build/Ipopt'
> Making all in src/Common
> make[2]: Entering directory
> `/home/joon/programs/Ipopt-3.10.2/build/Ipopt/src/Common'
> make  all-am
> make[3]: Entering directory
> `/home/joon/programs/Ipopt-3.10.2/build/Ipopt/src/Common'
> if /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
> -I. -I`echo ../../../../Ipopt/src/Common`     -O3 -pipe -DNDEBUG
> -pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual -Wall
> -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas
> -Wno-long-long   -DIPOPT_BUILD -MT IpDebug.lo -MD -MP -MF
> ".deps/IpDebug.Tpo" -c -o IpDebug.lo
> ../../../../Ipopt/src/Common/IpDebug.cpp; \
> then mv -f ".deps/IpDebug.Tpo" ".deps/IpDebug.Plo"; else rm -f
> ".deps/IpDebug.Tpo"; exit 1; fi
>   g++ -DHAVE_CONFIG_H -I. -I../../../../Ipopt/src/Common -O3 -pipe
> -DNDEBUG -pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual -Wall
> -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas
> -Wno-long-long -DIPOPT_BUILD -MT IpDebug.lo -MD -MP -MF
> .deps/IpDebug.Tpo -c ../../../../Ipopt/src/Common/IpDebug.cpp  -fPIC
> -DPIC -o .libs/IpDebug.o
> In file included from ../../../../Ipopt/src/Common/IpDebug.hpp:13:0,
>                   from ../../../../Ipopt/src/Common/IpDebug.cpp:11:
> ../../../../Ipopt/src/Common/IpTypes.hpp:26:9: error:
> ‘FORTRAN_INTEGER_TYPE’ does not name a type
> make[3]: *** [IpDebug.lo] Error 1
> make[3]: Leaving directory
> `/home/joon/programs/Ipopt-3.10.2/build/Ipopt/src/Common'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/home/joon/programs/Ipopt-3.10.2/build/Ipopt/src/Common'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/joon/programs/Ipopt-3.10.2/build/Ipopt'
> make: *** [all-recursive] Error 1
>
>
>
>
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
>



More information about the Ipopt mailing list