#include "opencv2/text/erfilter.hpp"

Fermé
salma - 3 mars 2021 à 15:00
mamiemando Messages postés 33076 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 17 avril 2024 - 14 avril 2021 à 16:36
hello guys, please i need help.
- ubuntu 18.10
gcc -o projet projet.cpp `pkg-config opencv --cflags --libs`
Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found
In file included from projet.cpp:2:0:
opencv2/text.hpp:42:10: fatal error: opencv2/text/erfilter.hpp: No such file or directory
#include "opencv2/text/erfilter.hpp"
A voir également:

1 réponse

mamiemando Messages postés 33076 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 17 avril 2024 7 748
14 avril 2021 à 16:36
Bonjour,

As-tu installé le paquet
libopencv-dev
?

sudo apt update
sudo apt install libopencv-dev


Bonne chance
0