#include "opencv2/text/erfilter.hpp"

salma -  
mamiemando Messages postés 34193 Date d'inscription   Statut Modérateur Dernière intervention   -
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
  • Atom text editor - Télécharger - Édition & Programmation
  • Text wrangler - Télécharger - Traitement de texte
  • Any text searcher - Télécharger - Gestion de fichiers
  • Text spinner français - Télécharger - Outils professionnels

1 réponse

mamiemando Messages postés 34193 Date d'inscription   Statut Modérateur Dernière intervention   7 892
 
Bonjour,

As-tu installé le paquet
libopencv-dev
?

sudo apt update
sudo apt install libopencv-dev


Bonne chance
0