#include "opencv2/text/erfilter.hpp"

salma - 3 mars 2021 à 15:00
mamiemando Messages postés 33780 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 22 septembre 2025 -
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:
  • 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
  • Sms to text - Télécharger - Sauvegarde
  • Text wrangler - Télécharger - Traitement de texte
  • Any text searcher - Télécharger - Gestion de fichiers
  • Atom text editor - Télécharger - Édition & Programmation
  • Text spinner français - Télécharger - Outils professionnels

1 réponse

mamiemando Messages postés 33780 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 22 septembre 2025 7 884
14 avril 2021 à 16:36
Bonjour,

As-tu installé le paquet
libopencv-dev
?

sudo apt update
sudo apt install libopencv-dev


Bonne chance
0