[Ipopt] Undeclared mxIsLogicalScalar in Matlab interface
Peter Carbonetto
pcarbo at cs.ubc.ca
Sat Jul 18 00:34:09 EDT 2009
It's possible that this function is not defined in version 7.2 of Matlab.
If you can upgrade to the latest version, do that, otherwise try replacing
mxIsLogicalScalar with mxIsLogical.
Peter Carbonetto
Ph.D. Candidate
Dept. of Computer Science
University of British Columbia
On Fri, 17 Jul 2009, D'Amato, Fernando (GE, Research) wrote:
> I am installing the matlab interface for ipopt and getting the following
> error when doing "make install"
>
> -o callbackfunctions.o -c callbackfunctions.cpp
> callbackfunctions.cpp: In member function `bool
> CallbackFunctions::iterCallback(int, double, const mxArray*&) const':
> callbackfunctions.cpp:404: error: `mxIsLogicalScalar' was not declared
> in this scope
> callbackfunctions.cpp:404: warning: unused variable 'mxIsLogicalScalar'
> make: *** [callbackfunctions.o] Error 1
>
> I am using Ipopt 3.6.0, gcc 3.4.6, matlab 7.2 on a linux 64-bit
> platform.
> The C++, C and FORTRAN examples from the ipopt installation have passed
> without errors.
>
> Does anyone know how to solve this issue?
> Thanks
> fernando
>
>
More information about the Ipopt
mailing list