Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I have done fhe following steps and could manage to solve the issue, but not sure if all were needed at all:

  • Removed the ROS, and CMake extensions from VS Code.
  • Removed and reinstalled CMake form my System.
  • Add the following lines before the find_package() in the CMakeLists.txt:

    set(OpenCV_DIR /opt/opencv/release/) set(OpenCV_INCLUDE_DIRS /opt/opencv/release/include) set(OpenCV_LIBS opencv_core opencv_highgui opencv_imgproc opencv_imgcodecs opencv_calib3d)

Then, I could manage to compile again by using catkin_make.

I have done fhe following steps and could manage to solve the issue, but not sure if all were needed at all:

  • Removed the ROS, and CMake extensions from VS Code.
  • Removed and reinstalled CMake form my System.
  • Add the following lines before the find_package() in the CMakeLists.txt:

    set(OpenCV_DIR /opt/opencv/release/) /opt/opencv/release/)

    set(OpenCV_INCLUDE_DIRS /opt/opencv/release/include) /opt/opencv/release/include)

    set(OpenCV_LIBS opencv_core opencv_highgui opencv_imgproc opencv_imgcodecs opencv_calib3d)

Then, I could manage to compile again by using catkin_make.

I have done fhe following steps and could manage to solve the issue, but not sure if all were needed at all:

  • Removed the ROS, and CMake extensions from VS Code.
  • Removed and reinstalled CMake form my System.
  • Add the following lines before the find_package() in the CMakeLists.txt:

-set(OpenCV_DIR /opt/opencv/release/).

set(OpenCV_DIR /opt/opencv/release/)-set(OpenCV_INCLUDE_DIRS /opt/opencv/release/include).

set(OpenCV_INCLUDE_DIRS /opt/opencv/release/include)

-set(OpenCV_LIBS opencv_core opencv_highgui opencv_imgproc opencv_imgcodecs opencv_calib3d).

Then, I could manage to compile again by using catkin_make.