[Ipopt] Installing Ipopt on Ubuntu

Stefan Vigerske stefan at math.hu-berlin.de
Wed Jun 22 16:39:51 EDT 2016


Hi,

which gcc version and which Ipopt version?

There is an issue with the random number generator check in configure 
when using gcc 4.8.x, x >= 2, for which a workaround was added and last 
updated in Ipopt 3.12.4.

Stefan

On 06/22/2016 09:26 PM, Brad Bell wrote:
> I am trying to install ipopt on a Ubuntu system with the following uname
> result:
> uname -a
> Linux casper-Latitude-E7240 3.13.0-87-generic #133-Ubuntu SMP Tue May 24
> 18:32:09 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
>
> I am getting the following error message:
> g++ -DHAVE_CONFIG_H -I. -I../../../../Ipopt/src/Common -g -O0 -pipe
> -pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual -Wall
> -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas
> -Wno-long-long -DIPOPT_BUILD -MT IpUtils.lo -MD -MP -MF
> .deps/IpUtils.Tpo -c ../../../../Ipopt/src/Common/IpUtils.cpp -o IpUtils.o
> ../../../../Ipopt/src/Common/IpUtils.cpp:182:6: error: #error "don't
> have function for random number generator"
>  #    error "don't have function for random number generator"
>       ^
>
> This problem does not occur on a Ubuntu system with the following uname
> result:
> uname -a
> Linux brad-ubuntu14 3.13.0-44-generic #73-Ubuntu SMP Tue Dec 16 00:22:43
> UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
>
>
> Does anyone have a suggestion as to how to avoid this problem ?
>
>
>
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
>


-- 
http://www.gams.com/~stefan


More information about the Ipopt mailing list