Hi,<br><br>I am trying to compile IPOPT on windows with Visual Studio 2008 Professional edition.<br><br>I am encountering a whole lot of errors but from what I can make out it's to do with the use of <b>'ipfint' </b>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.<br>
<br><br>I am pasting a part of the error log here:<br><br>/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////<br>
1>------ Build started: Project: libIpopt, Configuration: Release Win32 ------<br>1>Compiling...<br>1>IpPiecewisePenalty.cpp<br>1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C2146: syntax error : missing ';' before identifier 'ipfint'<br>
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<br>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<br>
1>IpCGSearchDirCalc.cpp<br>1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C2146: syntax error : missing ';' before identifier 'ipfint'<br>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<br>
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<br>1>IpCGPerturbationHandler.cpp<br>1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C2146: syntax error : missing ';' before identifier 'ipfint'<br>
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<br>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<br>
1>IpCGPenaltyRegOp.cpp<br>1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C2146: syntax error : missing ';' before identifier 'ipfint'<br>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<br>
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<br>1>IpCGPenaltyLSAcceptor.cpp<br>1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C2146: syntax error : missing ';' before identifier 'ipfint'<br>
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<br>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<br>
1>IpCGPenaltyData.cpp<br>1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C2146: syntax error : missing ';' before identifier 'ipfint'<br>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<br>
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<br>1>IpCGPenaltyCq.cpp<br>1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C2146: syntax error : missing ';' before identifier 'ipfint'<br>
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<br>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<br>
1>IpTNLPAdapter.cpp<br>1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C2146: syntax error : missing ';' before identifier 'ipfint'<br>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<br>
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<br>1>c:\ipopt\ipopt\CoinIpopt\Ipopt\src\LinAlg\TMatrices\IpSymTMatrix.hpp(100) : error C2061: syntax error : identifier 'ipfint'<br>
1>..\..\..\src\Interfaces\IpTNLPAdapter.cpp(2468) : error C2065: 'jac_c_iRow' : undeclared identifier<br>1>..\..\..\src\Interfaces\IpTNLPAdapter.cpp(2468) : error C2061: syntax error : identifier 'ipfint'<br>
1>..\..\..\src\Interfaces\IpTNLPAdapter.cpp(2469) : error C2065: 'jac_c_jCol' : undeclared identifier<br>1>..\..\..\src\Interfaces\IpTNLPAdapter.cpp(2469) : error C2061: syntax error : identifier 'ipfint'<br>
1>..\..\..\src\Interfaces\IpTNLPAdapter.cpp(2513) : error C2541: 'delete' : cannot delete objects that are not pointers<br>1>..\..\..\src\Interfaces\IpTNLPAdapter.cpp(2514) : error C2541: 'delete' : cannot delete objects that are not pointers<br>
1>..\..\..\src\Interfaces\IpTNLPAdapter.cpp(2531) : error C2541: 'delete' : cannot delete objects that are not pointers<br>1>..\..\..\src\Interfaces\IpTNLPAdapter.cpp(2532) : error C2541: 'delete' : cannot delete objects that are not pointers<br>
1>..\..\..\src\Interfaces\IpTNLPAdapter.cpp(2540) : error C2541: 'delete' : cannot delete objects that are not pointers<br>1>..\..\..\src\Interfaces\IpTNLPAdapter.cpp(2541) : error C2541: 'delete' : cannot delete objects that are not pointers<br>
1>..\..\..\src\Interfaces\IpTNLPAdapter.cpp(2577) : error C2541: 'delete' : cannot delete objects that are not pointers<br>1>..\..\..\src\Interfaces\IpTNLPAdapter.cpp(2578) : error C2541: 'delete' : cannot delete objects that are not pointers<br>
1>IpStdInterfaceTNLP.cpp<br>1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C2146: syntax error : missing ';' before identifier 'ipfint'<br>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<br>
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<br>1>IpStdCInterface.cpp<br>1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C2146: syntax error : missing ';' before identifier 'ipfint'<br>
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<br>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<br>
1>IpSolveStatistics.cpp<br>1>c:\ipopt\ipopt\coinipopt\ipopt\src\common\IpoptConfig.h(96) : error C2146: syntax error : missing ';' before identifier 'ipfint'<br>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<br>
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<br>/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////<br>
<br>Regards,<br>Aritra Nath<br>