본문 바로가기
Libraries & Packages/ROS

fatal error: opencv2/core/core.hpp: No such file or directory

by yongee97 2023. 6. 1.

* Environment

Ubuntu 20.04

Ros Noetic

 

* Solution

sudo ln -s /usr/include/opencv4/opencv2 /usr/include/opencv2

https://askubuntu.com/questions/1256279/make-opencv2-opencv-hpp-not-found

 

make opencv2/opencv.hpp not found

I am trying to build fastfusion from this repo: https://github.com/tum-vision/fastfusion . In the installation step, after running CMake ., I have to run make. But the make command fails with the

askubuntu.com