Bonjour tout le monde,

J'essaie de compiler le Makefile créer avec le qmake2, il s'agit d'une application de Qt Creator, dont j'utilise la bibliothèque OpenCV.

Quand je lance le qmake2 pour pc, il arrive à créer un exécutable pour le pc, et quand je l'utilise pour l'ARM embarqué il me génère ces erreurs ... il s'agit d'une beagle bone dans laquelle est installé la bibliothèque OpenCV.

Quelqu'un a une idée?



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
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
root@xxx-HP-ProBook-4525s:/home/xxx/Bureau/Test# make
arm-angstrom-linux-gnueabi-g++ -c -pipe   -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/usr/share/qtopia/mkspecs/linux-g++ -I. -I/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi//usr/include/qtopia/QtCore -I/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi//usr/include/qtopia/QtGui -I/usr/local/angstrom/arm/arm-angstrom-linux-gnueabi//usr/include/qtopia -I/usr/local/include/opencv -I/usr/local/include/opencv2 -I/usr/local/include/opencv2 -I. -I. -o mainwindow.o mainwindow.cpp
In file included from mainwindow.h:5,
                 from mainwindow.cpp:1:
/usr/local/include/opencv/cv.h:64:33: error: opencv2/core/core_c.h: No such file or directory
/usr/local/include/opencv/cv.h:65:33: error: opencv2/core/core.hpp: No such file or directory
/usr/local/include/opencv/cv.h:66:39: error: opencv2/imgproc/imgproc_c.h: No such file or directory
/usr/local/include/opencv/cv.h:67:39: error: opencv2/imgproc/imgproc.hpp: No such file or directory
/usr/local/include/opencv/cv.h:68:38: error: opencv2/video/tracking.hpp: No such file or directory
/usr/local/include/opencv/cv.h:69:45: error: opencv2/features2d/features2d.hpp: No such file or directory
/usr/local/include/opencv/cv.h:70:35: error: opencv2/flann/flann.hpp: No such file or directory
/usr/local/include/opencv/cv.h:71:39: error: opencv2/calib3d/calib3d.hpp: No such file or directory
/usr/local/include/opencv/cv.h:72:43: error: opencv2/objdetect/objdetect.hpp: No such file or directory
/usr/local/include/opencv/cv.h:73:37: error: opencv2/legacy/compat.hpp: No such file or directory
/usr/local/include/opencv/cv.h:81:37: error: opencv2/core/internal.hpp: No such file or directory
In file included from mainwindow.h:6,
                 from mainwindow.cpp:1:
/usr/local/include/opencv/highgui.h:47:39: error: opencv2/highgui/highgui_c.h: No such file or directory
/usr/local/include/opencv/highgui.h:48:39: error: opencv2/highgui/highgui.hpp: No such file or directory
In file included from mainwindow.h:8,
                 from mainwindow.cpp:1:
processing.h:13: error: 'cv' is not a namespace-name
processing.h:13: error: expected namespace-name before ';' token
processing.h:21: error: 'Point' has not been declared
processing.h:21: error: 'Point' has not been declared
processing.h:21: error: 'Point' has not been declared
processing.h:22: error: 'Point' was not declared in this scope
processing.h:22: error: template argument 1 is invalid
processing.h:22: error: template argument 2 is invalid
processing.h:22: error: expected ',' or '...' before '&' token
processing.h:22: error: ISO C++ forbids declaration of 'Mat' with no type
processing.h:23: error: 'Mat' has not been declared
processing.h:23: error: 'Point' was not declared in this scope
processing.h:23: error: template argument 1 is invalid
processing.h:23: error: template argument 2 is invalid
processing.h:23: error: template argument 1 is invalid
processing.h:23: error: template argument 2 is invalid
processing.h:24: error: 'Mat' has not been declared
processing.h:25: error: 'Mat' does not name a type
processing.h:27: error: 'Point' does not name a type
processing.h:28: error: 'Point' does not name a type
processing.h:29: error: 'Point' does not name a type
In file included from mainwindow.cpp:1:
mainwindow.h:21: error: 'Mat' does not name a type
mainwindow.h:22: error: 'Mat' does not name a type
mainwindow.h:23: error: 'Point' was not declared in this scope
mainwindow.h:23: error: template argument 1 is invalid
mainwindow.h:23: error: template argument 2 is invalid
mainwindow.h:24: error: 'Point' was not declared in this scope
mainwindow.h:24: error: template argument 1 is invalid
mainwindow.h:24: error: template argument 2 is invalid
mainwindow.cpp:10: error: 'cv' is not a namespace-name
mainwindow.cpp:10: error: expected namespace-name before ';' token
mainwindow.cpp: In member function 'void MainWindow::capture_2()':
mainwindow.cpp:31: error: 'cvDestroyAllWindows' was not declared in this scope
mainwindow.cpp: In member function 'void MainWindow::executeCam()':
mainwindow.cpp:41: error: 'Point' was not declared in this scope
mainwindow.cpp:41: error: template argument 1 is invalid
mainwindow.cpp:41: error: template argument 2 is invalid
mainwindow.cpp:41: error: template argument 1 is invalid
mainwindow.cpp:41: error: template argument 2 is invalid
mainwindow.cpp:41: error: invalid type in declaration before ';' token
mainwindow.cpp:42: error: 'IplImage' was not declared in this scope
mainwindow.cpp:42: error: 'image' was not declared in this scope
mainwindow.cpp:43: error: 'image2' was not declared in this scope
mainwindow.cpp:44: error: 'CvCapture' was not declared in this scope
mainwindow.cpp:44: error: 'capture' was not declared in this scope
mainwindow.cpp:45: error: 'CV_CAP_ANY' was not declared in this scope
mainwindow.cpp:45: error: 'cvCreateCameraCapture' was not declared in this scope
mainwindow.cpp:51: error: 'cvQueryFrame' was not declared in this scope
mainwindow.cpp:56: error: 'cvCloneImage' was not declared in this scope
mainwindow.cpp:58: error: 'Mat' was not declared in this scope
mainwindow.cpp:58: error: expected `;' before 'image1'
mainwindow.cpp:59: error: expected `;' before 'image2_1'
mainwindow.cpp:61: error: 'image_test1' was not declared in this scope
mainwindow.cpp:63: error: 'CV_WINDOW_NORMAL' was not declared in this scope
mainwindow.cpp:63: error: 'cvNamedWindow' was not declared in this scope
mainwindow.cpp:64: error: 'cvMoveWindow' was not declared in this scope
mainwindow.cpp:65: error: 'image2_1' was not declared in this scope
mainwindow.cpp:65: error: 'imshow' was not declared in this scope
mainwindow.cpp:68: error: 'namedWindow' was not declared in this scope
mainwindow.cpp:70: error: 'image1' was not declared in this scope
mainwindow.cpp:78: error: 'waitKey' was not declared in this scope
mainwindow.cpp:82: error: 'image_test2' was not declared in this scope
mainwindow.cpp:82: error: 'class processing' has no member named 'perspective'
mainwindow.cpp:84: error: 'cvWaitKey' was not declared in this scope
make: *** [mainwindow.o] Error 1

Voici tout les erreurs que ça me génére