g++ et bibliothèque opencv
Bonjour,
Je suis débutant en C++ et je souhaite tester opencv,
Je suis sous ubuntu, j'ai utilisé ce lien pour l'installer, il y a des exemples fournis avec.
J'ai essayé de les compiler avec g++
en faisant par exemple :
Code:
g++ edge.cpp -o edge
ca me renvoi tout plein d'erreur du type : " undefined reference to 'CV:: ...."
je suppose que g++ ne trouve pas la bibiothèque
j'ai essayé de lui fournir le chemin avec l'option -L ou avec la fonction ar mais pas moyen de m'en sortir.
Il faut dire que toutes ces histoires d'include de bibliothèque de header c'est pas très clair pour moi, des explications ou un lien intéressant serai bienvenu.
Merci