Bonjour à tous.
Je viens vers vous car j'ai un petit soucis. Je tente de compiler mon projet C++ utilisant les librairies opencv (entre autres) sous netbeans.
Je rencontre l'erreur suivante :
Pouvez vous me conseiller pour résoudre mon problème?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 "/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf make[1]: entrant dans le répertoire « /home/moi/Workspace/myProject» "/usr/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/GNU-Linux-x86/myProject make[2]: entrant dans le répertoire « /home/moi/Workspace/myProject » mkdir -p build/Debug/GNU-Linux-x86 rm -f build/Debug/GNU-Linux-x86/main.o.d g++ -c -g -I/usr/include/libusb-1.0 -I/usr/include/opencv2 `pkg-config --cflags --cflags opencv` -MMD -MP -MF build/Debug/GNU-Linux-x86/main.o.d -o build/Debug/GNU-Linux-x86/main.o main.cpp mkdir -p dist/Debug/GNU-Linux-x86 g++ -o dist/Debug/GNU-Linux-x86/myProject build/Debug/GNU-Linux-x86/main.o -L/usr/include/libusb-1.0 -L/usr/include/opencv2 `pkg-config --cflags --libs opencv` /usr/bin/ld: build/Debug/GNU-Linux-x86/main.o: référence au symbole non défini «pthread_create@@GLIBC_2.2.5» //lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[2]: *** [dist/Debug/GNU-Linux-x86/myProject] Erreur 1 make[2]: quittant le répertoire « /home/moi/Workspace/myProject » make[1]: *** [.build-conf] Erreur 2 make[1]: quittant le répertoire « /home/moi/Workspace/myProject » make: *** [.build-impl] Erreur 2 BUILD FAILED (exit value 2, total time: 1s)
Merci et bonne journée.
Mike.
Partager