[Ipopt] "make" ERROR

m khoshbakht m.khoshbakht at modares.ac.ir
Wed Apr 24 06:18:09 EDT 2013


​​
Hi,

I
download the tarbal Ipopt-3.10.3.tgz extracted it then ran
“./configure” (according to the steps in the “Compiling and
Installing Ipopt”), the last output line of the script was
“main
configuration of ipopt successful”, but when I run “make” I
see
this error:

 cc1plus:
warning: command line option '-Wimplicit' is valid for C/ObjC
but not
for C++ [enabled by default]


In
file included from IpJournalist.hpp:15:0,


 from
IpDebug.cpp:12:


IpSmartPtr.hpp:
In constructor 'Ipopt::SmartPtr<T>::SmartPtr()':


IpSmartPtr.hpp:340:12:
error: 'NULL' was not declared in this scope


IpSmartPtr.hpp:
In copy constructor 'Ipopt::SmartPtr<T>::SmartPtr(const
Ipopt::SmartPtr<T>&)':


IpSmartPtr.hpp:359:12:
error: 'NULL' was not declared in this scope


IpSmartPtr.hpp:
In constructor 'Ipopt::SmartPtr<T>::SmartPtr(T*)':


IpSmartPtr.hpp:379:12:
error: 'NULL' was not declared in this scope


IpSmartPtr.hpp:
In member function 'Ipopt::SmartPtr<U>&
Ipopt::SmartPtr<T>::SetFromRawPtr_(T*)':


IpSmartPtr.hpp:475:16:
error: 'NULL' was not declared in this scope


IpSmartPtr.hpp:
In member function 'void
Ipopt::SmartPtr<T>::ReleasePointer_()':


IpSmartPtr.hpp:518:14:
error: 'NULL' was not declared in this scope


IpSmartPtr.hpp:
In function 'bool Ipopt::IsNull(const
Ipopt::SmartPtr<U>&)':


IpSmartPtr.hpp:557:31:
error: 'NULL' was not declared in this scope


make[2]:
*** [IpDebug.lo] Error 1


make[2]:
Leaving directory `/home/m12345/CoinIpopt/Ipopt/src/Common'


make[1]:
*** [all-recursive] Error 1


make[1]:
Leaving directory `/home/m12345/CoinIpopt/Ipopt'


make:
*** [all-recursive] Error 1


I
tested the options of the appendix D but my problem did not
solve, my
OS is a 64 bit-ubuntu 12.10.

 how can I solve this problem? Please guide me,



thanks
a lot. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20130424/a97996f8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log.zip
Type: application/zip
Size: 8597 bytes
Desc: not available
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20130424/a97996f8/attachment.zip>


More information about the Ipopt mailing list