Closed svigerske closed 5 years ago
Comment by dhavaljdave created at 2013-01-28 01:58:14
This is with version IpOpt 3.10.0
Comment by @svigerske created at 2013-01-28 02:11:47
This is the BuildTools ticket system, not Ipopt.
And Ipopt compiles fine for me.
Comment by @svigerske created at 2013-01-28 02:11:47
Resolution: invalid
Issue created by migration from Trac.
Original creator: dhavaljdave
Original creation time: 2013-01-28 01:51:33
Assignee: @svigerske
Version: 0.7
Getting following error while compiling lpStdFInterface.c
1>......\src\Interfaces\IpStdFInterface.c(229): error C2091: function returns function 1>......\src\Interfaces\IpStdFInterface.c(231): error C2065: 'N' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(231): error C2100: illegal indirection 1>......\src\Interfaces\IpStdFInterface.c(232): error C2065: 'M' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(232): error C2100: illegal indirection 1>......\src\Interfaces\IpStdFInterface.c(233): error C2065: 'NELE_JAC' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(233): error C2100: illegal indirection 1>......\src\Interfaces\IpStdFInterface.c(234): error C2065: 'NELE_HESS' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(234): error C2100: illegal indirection 1>......\src\Interfaces\IpStdFInterface.c(235): error C2065: 'IDX_STY' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(235): error C2100: illegal indirection 1>......\src\Interfaces\IpStdFInterface.c(243): error C2065: 'X_L' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(243): warning C4047: 'function' : 'Number ' differs in levels of indirection from 'int' 1>......\src\Interfaces\IpStdFInterface.c(243): warning C4024: 'CreateIpoptProblem' : different types for formal and actual parameter 2 1>......\src\Interfaces\IpStdFInterface.c(243): error C2065: 'X_U' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(243): warning C4047: 'function' : 'Number ' differs in levels of indirection from 'int' 1>......\src\Interfaces\IpStdFInterface.c(243): warning C4024: 'CreateIpoptProblem' : different types for formal and actual parameter 3 1>......\src\Interfaces\IpStdFInterface.c(243): error C2065: 'G_L' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(243): warning C4047: 'function' : 'Number ' differs in levels of indirection from 'int' 1>......\src\Interfaces\IpStdFInterface.c(243): warning C4024: 'CreateIpoptProblem' : different types for formal and actual parameter 5 1>......\src\Interfaces\IpStdFInterface.c(243): error C2065: 'G_U' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(243): warning C4047: 'function' : 'Number ' differs in levels of indirection from 'int' 1>......\src\Interfaces\IpStdFInterface.c(243): warning C4024: 'CreateIpoptProblem' : different types for formal and actual parameter 6 1>......\src\Interfaces\IpStdFInterface.c(252): error C2065: 'EVAL_F' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(252): warning C4047: '=' : 'FEval_F_CB' differs in levels of indirection from 'int' 1>......\src\Interfaces\IpStdFInterface.c(253): error C2065: 'EVAL_G' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(253): warning C4047: '=' : 'FEval_G_CB' differs in levels of indirection from 'int' 1>......\src\Interfaces\IpStdFInterface.c(254): error C2065: 'EVAL_GRAD_F' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(254): warning C4047: '=' : 'FEval_Grad_F_CB' differs in levels of indirection from 'int' 1>......\src\Interfaces\IpStdFInterface.c(255): error C2065: 'EVAL_JAC_G' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(255): warning C4047: '=' : 'FEval_Jac_G_CB' differs in levels of indirection from 'int' 1>......\src\Interfaces\IpStdFInterface.c(256): error C2065: 'EVAL_HESS' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(256): warning C4047: '=' : 'FEval_Hess_CB' differs in levels of indirection from 'int' 1>......\src\Interfaces\IpStdFInterface.c(259): warning C4047: 'return' : 'fptr ()(fint ,fdouble ,fdouble ,fint ,fdouble ,fdouble ,fint ,fint ,fint ,FEval_F_CB,FEval_G_CB,FEval_Grad_F_CB,FEval_Jac_G_CB,FEval_Hess_CB)' differs in levels of indirection from 'fptr' 1>......\src\Interfaces\IpStdFInterface.c(263): error C2091: function returns function 1>......\src\Interfaces\IpStdFInterface.c(264): error C2371: 'F77_FUNC' : redefinition; different basic types 1> ......\src\Interfaces\IpStdFInterface.c(215) : see declaration of 'F77_FUNC' 1>......\src\Interfaces\IpStdFInterface.c(265): error C2065: 'FProblem' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(265): error C2100: illegal indirection 1>......\src\Interfaces\IpStdFInterface.c(270): error C2065: 'FProblem' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(270): error C2100: illegal indirection 1>......\src\Interfaces\IpStdFInterface.c(282): error C2091: function returns function 1>......\src\Interfaces\IpStdFInterface.c(283): warning C4142: benign redefinition of type 1>......\src\Interfaces\IpStdFInterface.c(284): error C2065: 'FProblem' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(284): error C2100: illegal indirection 1>......\src\Interfaces\IpStdFInterface.c(287): error C2065: 'IDAT' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(287): warning C4047: '=' : 'fint ' differs in levels of indirection from 'int' 1>......\src\Interfaces\IpStdFInterface.c(288): error C2065: 'DDAT' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(288): warning C4047: '=' : 'fdouble ' differs in levels of indirection from 'int' 1>......\src\Interfaces\IpStdFInterface.c(291): error C2065: 'X' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(291): warning C4047: 'function' : 'Number ' differs in levels of indirection from 'int' 1>......\src\Interfaces\IpStdFInterface.c(291): warning C4024: 'IpoptSolve' : different types for formal and actual parameter 2 1>......\src\Interfaces\IpStdFInterface.c(291): error C2065: 'G' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(291): warning C4047: 'function' : 'Number ' differs in levels of indirection from 'int' 1>......\src\Interfaces\IpStdFInterface.c(291): warning C4024: 'IpoptSolve' : different types for formal and actual parameter 3 1>......\src\Interfaces\IpStdFInterface.c(291): error C2065: 'OBJ_VAL' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(291): warning C4047: 'function' : 'Number ' differs in levels of indirection from 'int' 1>......\src\Interfaces\IpStdFInterface.c(291): warning C4024: 'IpoptSolve' : different types for formal and actual parameter 4 1>......\src\Interfaces\IpStdFInterface.c(292): error C2065: 'MULT_G' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(292): warning C4047: 'function' : 'Number ' differs in levels of indirection from 'int' 1>......\src\Interfaces\IpStdFInterface.c(292): warning C4024: 'IpoptSolve' : different types for formal and actual parameter 5 1>......\src\Interfaces\IpStdFInterface.c(292): error C2065: 'MULT_X_L' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(292): warning C4047: 'function' : 'Number ' differs in levels of indirection from 'int' 1>......\src\Interfaces\IpStdFInterface.c(292): warning C4024: 'IpoptSolve' : different types for formal and actual parameter 6 1>......\src\Interfaces\IpStdFInterface.c(292): error C2065: 'MULT_X_U' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(292): warning C4047: 'function' : 'Number ' differs in levels of indirection from 'int' 1>......\src\Interfaces\IpStdFInterface.c(292): warning C4024: 'IpoptSolve' : different types for formal and actual parameter 7 1>......\src\Interfaces\IpStdFInterface.c(292): warning C4047: 'return' : 'fptr ()(fint ,fdouble ,fdouble ,fint ,fdouble ,fdouble ,fint ,fint ,fint ,FEval_F_CB,FEval_G_CB,FEval_Grad_F_CB,FEval_Jac_G_CB,FEval_Hess_CB)' differs in levels of indirection from 'int' 1>......\src\Interfaces\IpStdFInterface.c(317): error C2091: function returns function 1>......\src\Interfaces\IpStdFInterface.c(318): warning C4142: benign redefinition of type 1>......\src\Interfaces\IpStdFInterface.c(321): error C2065: 'FProblem' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(321): error C2100: illegal indirection 1>......\src\Interfaces\IpStdFInterface.c(324): error C2065: 'KEYWORD' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(324): warning C4047: 'function' : 'char ' differs in levels of indirection from 'int' 1>......\src\Interfaces\IpStdFInterface.c(324): warning C4024: 'f2cstr' : different types for formal and actual parameter 1 1>......\src\Interfaces\IpStdFInterface.c(324): error C2065: 'klen' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(325): error C2065: 'VALUE' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(325): warning C4047: 'function' : 'char ' differs in levels of indirection from 'int' 1>......\src\Interfaces\IpStdFInterface.c(325): warning C4024: 'f2cstr' : different types for formal and actual parameter 1 1>......\src\Interfaces\IpStdFInterface.c(325): error C2065: 'vlen' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(333): warning C4047: 'return' : 'fptr ()(fint ,fdouble ,fdouble ,fint ,fdouble ,fdouble ,fint ,fint ,fint ,FEval_F_CB,FEval_G_CB,FEval_Grad_F_CB,FEval_Jac_G_CB,FEval_Hess_CB)' differs in levels of indirection from 'const fint' 1>......\src\Interfaces\IpStdFInterface.c(336): warning C4047: 'return' : 'fptr ()(fint ,fdouble ,fdouble ,fint ,fdouble ,fdouble ,fint ,fint ,fint ,FEval_F_CB,FEval_G_CB,FEval_Grad_F_CB,FEval_Jac_G_CB,FEval_Hess_CB)' differs in levels of indirection from 'const fint' 1>......\src\Interfaces\IpStdFInterface.c(344): error C2091: function returns function 1>......\src\Interfaces\IpStdFInterface.c(345): warning C4142: benign redefinition of type 1>......\src\Interfaces\IpStdFInterface.c(347): error C2065: 'FProblem' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(347): error C2100: illegal indirection 1>......\src\Interfaces\IpStdFInterface.c(350): error C2065: 'KEYWORD' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(350): warning C4047: 'function' : 'char ' differs in levels of indirection from 'int' 1>......\src\Interfaces\IpStdFInterface.c(350): warning C4024: 'f2cstr' : different types for formal and actual parameter 1 1>......\src\Interfaces\IpStdFInterface.c(350): error C2065: 'klen' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(352): error C2065: 'VALUE' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(352): error C2100: illegal indirection 1>......\src\Interfaces\IpStdFInterface.c(357): warning C4047: 'return' : 'fptr ()(fint ,fdouble ,fdouble ,fint ,fdouble ,fdouble ,fint ,fint ,fint ,FEval_F_CB,FEval_G_CB,FEval_Grad_F_CB,FEval_Jac_G_CB,FEval_Hess_CB)' differs in levels of indirection from 'const fint' 1>......\src\Interfaces\IpStdFInterface.c(360): warning C4047: 'return' : 'fptr ()(fint ,fdouble ,fdouble ,fint ,fdouble ,fdouble ,fint ,fint ,fint ,FEval_F_CB,FEval_G_CB,FEval_Grad_F_CB,FEval_Jac_G_CB,FEval_Hess_CB)' differs in levels of indirection from 'const fint' 1>......\src\Interfaces\IpStdFInterface.c(368): error C2091: function returns function 1>......\src\Interfaces\IpStdFInterface.c(369): warning C4142: benign redefinition of type 1>......\src\Interfaces\IpStdFInterface.c(371): error C2065: 'FProblem' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(371): error C2100: illegal indirection 1>......\src\Interfaces\IpStdFInterface.c(372): error C2065: 'VALUE' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(372): error C2100: illegal indirection 1>......\src\Interfaces\IpStdFInterface.c(375): error C2065: 'KEYWORD' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(375): warning C4047: 'function' : 'char ' differs in levels of indirection from 'int' 1>......\src\Interfaces\IpStdFInterface.c(375): warning C4024: 'f2cstr' : different types for formal and actual parameter 1 1>......\src\Interfaces\IpStdFInterface.c(375): error C2065: 'klen' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(382): warning C4047: 'return' : 'fptr ()(fint ,fdouble ,fdouble ,fint ,fdouble ,fdouble ,fint ,fint ,fint ,FEval_F_CB,FEval_G_CB,FEval_Grad_F_CB,FEval_Jac_G_CB,FEval_Hess_CB)' differs in levels of indirection from 'const fint' 1>......\src\Interfaces\IpStdFInterface.c(385): warning C4047: 'return' : 'fptr ()(fint ,fdouble ,fdouble ,fint ,fdouble ,fdouble ,fint ,fint ,fint ,FEval_F_CB,FEval_G_CB,FEval_Grad_F_CB,FEval_Jac_G_CB,FEval_Hess_CB)' differs in levels of indirection from 'const fint' 1>......\src\Interfaces\IpStdFInterface.c(393): error C2091: function returns function 1>......\src\Interfaces\IpStdFInterface.c(394): warning C4142: benign redefinition of type 1>......\src\Interfaces\IpStdFInterface.c(396): error C2065: 'FProblem' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(396): error C2100: illegal indirection 1>......\src\Interfaces\IpStdFInterface.c(397): error C2065: 'PRINTLEVEL' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(397): error C2100: illegal indirection 1>......\src\Interfaces\IpStdFInterface.c(400): error C2065: 'FILENAME' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(400): warning C4047: 'function' : 'char ' differs in levels of indirection from 'int' 1>......\src\Interfaces\IpStdFInterface.c(400): warning C4024: 'f2cstr' : different types for formal and actual parameter 1 1>......\src\Interfaces\IpStdFInterface.c(400): error C2065: 'flen' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(407): warning C4047: 'return' : 'fptr ()(fint ,fdouble ,fdouble ,fint ,fdouble ,fdouble ,fint ,fint ,fint ,FEval_F_CB,FEval_G_CB,FEval_Grad_F_CB,FEval_Jac_G_CB,FEval_Hess_CB)' differs in levels of indirection from 'const fint' 1>......\src\Interfaces\IpStdFInterface.c(410): warning C4047: 'return' : 'fptr ()(fint ,fdouble ,fdouble ,fint ,fdouble ,fdouble ,fint ,fint ,fint *,FEval_F_CB,FEval_G_CB,FEval_Grad_F_CB,FEval_Jac_G_CB,FEval_Hess_CB)' differs in levels of indirection from 'const fint' 1>......\src\Interfaces\IpStdFInterface.c(416): error C2091: function returns function 1>......\src\Interfaces\IpStdFInterface.c(417): error C2371: 'F77_FUNC' : redefinition; different basic types 1> ......\src\Interfaces\IpStdFInterface.c(215) : see declaration of 'F77_FUNC' 1>......\src\Interfaces\IpStdFInterface.c(418): error C2065: 'FProblem' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(418): error C2100: illegal indirection 1>......\src\Interfaces\IpStdFInterface.c(419): error C2065: 'inter_cb' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(419): warning C4047: '=' : 'FIntermediate_CB' differs in levels of indirection from 'int' 1>......\src\Interfaces\IpStdFInterface.c(424): error C2091: function returns function 1>......\src\Interfaces\IpStdFInterface.c(425): error C2371: 'F77_FUNC' : redefinition; different basic types 1> ......\src\Interfaces\IpStdFInterface.c(215) : see declaration of 'F77_FUNC' 1>......\src\Interfaces\IpStdFInterface.c(426): error C2065: 'FProblem' : undeclared identifier 1>......\src\Interfaces\IpStdFInterface.c(426): error C2100: illegal indirection