[Ipopt] about "IpJournalist.hpp:424:5:error: 'FILE' does not name a type"
Chen Min
chenminseu at gmail.com
Wed Aug 24 10:42:46 EDT 2011
Dear Stefan,
thanks a lot for your answer.
I use gcc4.5.
I added " #include <cstdio>" in " Ipopt/src/Common/IpJournalist.hpp". The
former errors are gone.
There're new errors after I "make test or install":
Making install in TMatrices
make[3]: Entering directory '/home/Ipopt-3.10.0/Ipopt/src/LinAlg/Tmatrices'
.deps/IpGenTmatrix.Plo.1:*** multiple target patterns. stop.
make[3]:Leaving directory '/home/Ipopt-3.10.0/Ipopt/src/LinAlg/TMatrices'
make[2]:***[install-recursive] Error 1
make[2]:Leaving directory '/home/Ipopt-3.10.0/Ipopt/src/LinAlg'
make[1]:***[install-recursive] Error 1
make[1]:Leaving directory '/home/Ipopt-3.10.0/Ipopt'
make:***[install-recursive] Error 1
Thanks!
Min
On 24 August 2011 16:18, Stefan Vigerske <stefan at math.hu-berlin.de> wrote:
> Hi,
>
> try adding
> #include <cstdio>
> somewhere at the top of Ipopt/src/Common/IpJournalist.**hpp.
>
> Which compiler you use? (gcc --version)
>
> Stefan
>
> dear all,
>> i installed ipopt3.10.0 under cygwin.
>> After configuration, i got " Main configuration of Ipopt successful".
>> (config.log, please see the attachment)
>> However, it failed to "make install" or "make test". The error information
>> is shown as in the following:
>>
>> IpJournalist.hpp:424:5:error: 'FILE' does not name a type"
>> make[3]: ***[IpDebug.lo] Error 1
>> make[3]: Leaving directory '/home/Ipopt-3.10.0/Ipopt/src/**Common'
>> make[2]: *** [all] Error 2
>> make[2]: Leaving directory '/home/Ipopt-3.10.0/Ipopt/src/**Common'
>> make[1]: ***[all-recursive] Error 1
>> make[1]: Leaving directory '/home/Ipopt-3.10.0/Ipopt'
>> make: ***[all-recursive] Error 1
>>
>>
>> I appreciate your help, thanks in advance!
>>
>> Min
>>
>> ps:
>> under WIN7-64 bit system
>>
>>
>>
>>
>> ______________________________**_________________
>> Ipopt mailing list
>> Ipopt at list.coin-or.org
>> http://list.coin-or.org/**mailman/listinfo/ipopt<http://list.coin-or.org/mailman/listinfo/ipopt>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/ipopt/attachments/20110824/b4131de3/attachment.html
More information about the Ipopt
mailing list