<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>What version of g++ is this? Try configuring with <span class="pl-s">coin_skip_warn_cxxflags=yes</span><br><br><br><div><hr id="stopSpelling">To: ipopt@list.coin-or.org<br>From: bradbell@seanet.com<br>Date: Wed, 22 Jun 2016 12:26:28 -0700<br>Subject: [Ipopt] Installing Ipopt on Ubuntu<br><br>
I am trying to install ipopt on a Ubuntu system with the following
uname result:<br>
uname -a<br>
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<br>
<br>
I am getting the following error message:<br>
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<br>
../../../../Ipopt/src/Common/IpUtils.cpp:182:6: error: #error "don't
have function for random number generator"<br>
# error "don't have function for random number generator"<br>
^<br>
<br>
This problem does not occur on a Ubuntu system with the following
uname result:<br>
uname -a<br>
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<br>
<br>
<br>
Does anyone have a suggestion as to how to avoid this problem ?<br>
<span style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:black;"></span>
<style><!--
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal {
font-size:12.0pt;
font-family:"Times New Roman",serif;
}
.ExternalClass .ecxMsoChpDefault {
font-size:10.0pt;
}
.ExternalClass div.ecxWordSection1 {
}
--></style>
<br>_______________________________________________
Ipopt mailing list
Ipopt@list.coin-or.org
http://list.coin-or.org/mailman/listinfo/ipopt</div> </div></body>
</html>