[Ipopt] Missing random generator function using Cygwin 64
Tony Kelman
kelman at berkeley.edu
Tue Jun 10 09:49:55 EDT 2014
Ah, crap.
conftest.cc:75:22: error: ISO C++ forbids casting between pointer-to-function and pointer-to-object [-Werror=pedantic]
char *p = (char *) rand;
^
Apparently you’ve updated your GCC more recently than I have, and now in 4.8.3 this old-autotools method of checking for the existence of a function is an error, where it used to be a warning. I’m really surprised the grouping of a warning would be changed in a point release like that... the right solution is to update our autotools version, but that’s a big job that we haven’t put enough full-time work into yet. I’ll try to think if there’s a quick short-term fix for this, but in the meantime can you try reverting your GCC version to the previous release through Cygwin’s setup program?
-Tony
P.S: The attachment came through to me personally, but I guess not the mailing list. For future use you can try uploading log files somewhere like gist.github.com and send a link in your message.
From: Yao Xie
Sent: Tuesday, June 10, 2014 5:48 AM
To: Tony Kelman ; ipopt at list.coin-or.org
Subject: RE: [Ipopt] Missing random generator function using Cygwin 64
Hi Tony,
Thanks for your reply!
I've tried both 32 and 64 bit Cygwin. Both gave me the same error. I'm using IPOPT 3.11 stable version. The config.log is attached.
Thanks.
Yao
--------------------------------------------------------------------------------
From: Tony Kelman (kelman at berkeley.edu)
Sent: Monday, June 9, 2014 11:33 PM
To: Yao Xie (xieyao04 at gmail.com); ipopt at list.coin-or.org
Subject: Re: [Ipopt] Missing random generator function using Cygwin 64 Are you using 32 or 64 bit Cygwin? Which version of Ipopt are you trying to
compile? Can you post Ipopt/config.log?
-----Original Message-----
From: Yao Xie
Sent: Monday, June 09, 2014 5:58 PM
To: ipopt at list.coin-or.org
Subject: [Ipopt] Missing random generator function using Cygwin 64
Hi all,
I'm trying to install IPOPT on a Windows machine using Cygwin.
The configure is successful but got an error when running make:
../../../../Ipopt/src/Common/IpUtils.cpp:178:5: error: #error "don't have
function for random number generator"
# error "don't have function for random number generator"
Can any one help on it?
Yao
_______________________________________________
Ipopt mailing list
Ipopt at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/ipopt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20140610/263f886d/attachment.html>
More information about the Ipopt
mailing list