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

1 view (last 30 days)
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...

Accepted Answer

Kaustubha Govind
Kaustubha Govind on 29 Aug 2011
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.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!