[Ipopt] Help
Aritra Nath
akn at cise.ufl.edu
Thu Dec 10 14:21:11 EST 2009
Hi,
I am trying to compile IPOPT on windows with Visual Studio 2008 Professional
edition.
I am encountering a whole lot of errors but from what I can make out it's to
do with the use of *'ipfint' *data type. I am not sure why this is happening
as I have included the definition in the IpoptConfig.h. I am using the f2c
compiler also using the vcf2c library. Is there any other
thing(file/libraries/definitions) that need to be included in the project.
I am pasting a part of the error log here:
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1>------ Build started: Project: libIpopt, Configuration: Release Win32
------
1>Compiling...
1>IpPiecewisePenalty.cpp
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C2146:
syntax error : missing ';' before identifier 'ipfint'
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
1>IpCGSearchDirCalc.cpp
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C2146:
syntax error : missing ';' before identifier 'ipfint'
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
1>IpCGPerturbationHandler.cpp
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C2146:
syntax error : missing ';' before identifier 'ipfint'
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
1>IpCGPenaltyRegOp.cpp
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C2146:
syntax error : missing ';' before identifier 'ipfint'
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
1>IpCGPenaltyLSAcceptor.cpp
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C2146:
syntax error : missing ';' before identifier 'ipfint'
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
1>IpCGPenaltyData.cpp
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C2146:
syntax error : missing ';' before identifier 'ipfint'
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
1>IpCGPenaltyCq.cpp
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C2146:
syntax error : missing ';' before identifier 'ipfint'
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
1>IpTNLPAdapter.cpp
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C2146:
syntax error : missing ';' before identifier 'ipfint'
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\ipopt\ipopt\CoinIpopt\Ipopt\src\LinAlg\TMatrices\IpSymTMatrix.hpp(100)
: error C2061: syntax error : identifier 'ipfint'
1>..\..\..\src\Interfaces\IpTNLPAdapter.cpp(2468) : error C2065:
'jac_c_iRow' : undeclared identifier
1>..\..\..\src\Interfaces\IpTNLPAdapter.cpp(2468) : error C2061: syntax
error : identifier 'ipfint'
1>..\..\..\src\Interfaces\IpTNLPAdapter.cpp(2469) : error C2065:
'jac_c_jCol' : undeclared identifier
1>..\..\..\src\Interfaces\IpTNLPAdapter.cpp(2469) : error C2061: syntax
error : identifier 'ipfint'
1>..\..\..\src\Interfaces\IpTNLPAdapter.cpp(2513) : error C2541: 'delete' :
cannot delete objects that are not pointers
1>..\..\..\src\Interfaces\IpTNLPAdapter.cpp(2514) : error C2541: 'delete' :
cannot delete objects that are not pointers
1>..\..\..\src\Interfaces\IpTNLPAdapter.cpp(2531) : error C2541: 'delete' :
cannot delete objects that are not pointers
1>..\..\..\src\Interfaces\IpTNLPAdapter.cpp(2532) : error C2541: 'delete' :
cannot delete objects that are not pointers
1>..\..\..\src\Interfaces\IpTNLPAdapter.cpp(2540) : error C2541: 'delete' :
cannot delete objects that are not pointers
1>..\..\..\src\Interfaces\IpTNLPAdapter.cpp(2541) : error C2541: 'delete' :
cannot delete objects that are not pointers
1>..\..\..\src\Interfaces\IpTNLPAdapter.cpp(2577) : error C2541: 'delete' :
cannot delete objects that are not pointers
1>..\..\..\src\Interfaces\IpTNLPAdapter.cpp(2578) : error C2541: 'delete' :
cannot delete objects that are not pointers
1>IpStdInterfaceTNLP.cpp
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C2146:
syntax error : missing ';' before identifier 'ipfint'
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
1>IpStdCInterface.cpp
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C2146:
syntax error : missing ';' before identifier 'ipfint'
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
1>IpSolveStatistics.cpp
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C2146:
syntax error : missing ';' before identifier 'ipfint'
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C4430:
missing type specifier - int assumed. Note: C++ does not support default-int
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Regards,
Aritra Nath
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/ipopt/attachments/20091210/af728b0e/attachment-0001.html
More information about the Ipopt
mailing list