main.cpp:(.text+0x1180): undefined reference to `cv::randn(cv::_InputOutputArray
在运行KalmanFilter的时候需要用到opencv的库,按照之前的方式在CMakeLists.txt中: target_link_libraries(KalmanFilter ${OPENCV_LIBS} ) 但是发现make的时候找不到opencv,报错如下: main.cpp:(.text+0x1eb): undefined reference to cv::KalmanFilter::KalmanFilter(int, int, int, int)' main.cpp:(.text+0x245): undefined reference tocv::Mat::zeros(int
用户评论