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...

 採用された回答

Kaustubha Govind
Kaustubha Govind 2011 年 8 月 29 日

0 投票

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.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB Compiler についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by