https://www.codeleading.com/article/94272215729/
安装Kalibr,在执行catkin_make时出现错误The following variables are used in this project, but they are set to NO - 代码先锋网
安装Kalibr 的时候,bagconvert设置的默认路径找不到matlab这样导致安装失败出现以下情况: CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: MATLAB_ENG_LIBRARY (ADVAN
www.codeleading.com
MATLAB 의 위치를 인식하지 못해 발생한다.
아래 명령어를 통해 이동한 경로에서 FindMatlab.cmake 을 찾는다.
$ cd ~/catkin_ws/src/kalibr_allan/bagconvert/cmake
아래와 같이 수정해준다.
# find_program(MATLAB_EXE_PATH matlab)
find_program(MATLAB_EXE_PATH matlab
PATHS /usr/local/MATLAB/R2018b/bin)
아래 명령어를 통해 실행한다.
$ matlab
반응형