chappjc/MATLAB

Missing lib

Opened this issue · 0 comments

Hi Jon,

Thanks for providing this example. I found it useful. Hope you're well!

It might be new since you first posted your VS property sheets, but Matlab now provides a C++ mex interface where you "#include mex.hpp" instead of "#include mex.h". When using the C++ interface, it seems you need another static library that isn't included in your property sheet (MATLABx64.props): libMatlabDataArray.lib. For one example I tried (the phonebook.cpp example included with Matlab), I was successful compiling in VS after including this library.

--Ed