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 Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by