[Ipopt] Installing Ipopt on Ubuntu

Brad Bell bradbell at seanet.com
Wed Jun 22 15:26:28 EDT 2016


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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20160622/5b150a79/attachment-0001.html>


More information about the Ipopt mailing list