#include "opencv2/text/erfilter.hpp"

salma -  
mamiemando Messages postés 33228 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"

1 réponse

  1. mamiemando Messages postés 33228 Date d'inscription   Statut Modérateur Dernière intervention   7 940
     
    Bonjour,

    As-tu installé le paquet
    libopencv-dev
    ?

    sudo apt update
    sudo apt install libopencv-dev


    Bonne chance
    0