Information/Error

[Matlab] can't find MATLAB_xxx_LIBRARYs

페트론 2020. 4. 28. 13:38

https://github.com/rpng/kalibr_allan/issues/5

 

can't find MATLAB_xxx_LIBRARYs · Issue #5 · rpng/kalibr_allan

when I run catkin_make at catkin workspace, error happened and error message says "can't find MATLAB_ENG_LIBRARY (ADVANCED)"and other several MATLAB-libraries. CMake Error: The follow...

github.com

아래 경로로 들어가서 

$ cd ~/catkin_ws/src/kalibr_allan/bagconvert/cmake

 

FindMatlab.cmake 파일을 다음과 같이 수정한다. ( 이 때, 경로는 matlab 실행파일이 있는 경로 )

    # get path to the Matlab executable
    find_program(MATLAB_EXE_PATH matlab
            PATHS /usr/local/MATLAB/R2018b/bin)
반응형