Missing lib lMTwister when compiling C++ program for matlab engine in debian

I get following compilation error when trying to compile old c++ program for use with matlab engine:
/usr/bin/ld: cannot find -lMTwister collect2: ld returned 1 exit status make: * [all] Error 1
I believe lMTwister (or libMTwister) are libs from MatLab. I am compiling some old program from around 2005 on a linux debian machine. There is matlab on the computer but I am unsure whether it is the right version. Anyway, the lib is not to be found on the computer. Does anyone know to which matlab version the lib belong to, where to find it or anyway to fix the error? Thanks...

 Respuesta aceptada

It looks like this library may have existed in very old versions of MATLAB (from a web search, I found references that suggest the library existed in MATLAB 7.1) and has likely been deprecated.
Perhaps you should follow the latest instructions to compile the application in MATLAB: Compiling Engine Applications with the MEX Command.

Más respuestas (0)

Categorías

Más información sobre MATLAB Compiler en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by