Salut tout le monde , je voulais installer : CyberX3D sous Ubuntu et j'ai fait comme c'est ecrit dans la documentation de cette bibliotheque :
mais j'ai trouvé pas de problemes causés par le fichier vector.h dans les includes et comme un ami m'a dit qu'il y a deux versions de cette classe(vector.h)
je sais plus quoi faire ?
Aidez moi s'il vous plait sachant que les erreurs générées sont :

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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
jalel@jalel:~/Desktop/Indexeur3D/CyberX3D$ ./configure --enable-opengl=no --enable-png=no --enable-jpeg=no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking xercesc/util/XercesVersion.hpp usability... yes
checking xercesc/util/XercesVersion.hpp presence... yes
checking for xercesc/util/XercesVersion.hpp... yes
checking for main in -lxerces-c... yes
checking for ANSI C header files... (cached) yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for memory.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for error_at_line... yes
checking for ftime... yes
checking for gettimeofday... yes
checking for memset... yes
checking for sqrt... yes
checking for strdup... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating lib/unix/Makefile
config.status: creating sample/Makefile
config.status: creating sample/X3DBrowser/Makefile
config.status: creating sample/X3DBrowser/glut/Makefile
config.status: creating sample/X3DBrowser/glut/unix/Makefile
config.status: creating sample/vrml2x3d/Makefile
config.status: creating sample/vrml2x3d/unix/Makefile
config.status: creating sample/x3d2vrml/Makefile
config.status: creating sample/x3d2vrml/unix/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
jalel@jalel:~/Desktop/Indexeur3D/CyberX3D$ make
make  all-recursive
make[1]: entrant dans le répertoire « /home/jalel/Desktop/Indexeur3D/CyberX3D »
Making all in lib
make[2]: entrant dans le répertoire « /home/jalel/Desktop/Indexeur3D/CyberX3D/lib »
Making all in unix
make[3]: entrant dans le répertoire « /home/jalel/Desktop/Indexeur3D/CyberX3D/lib/unix »
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include    -g -O2 -MT AnchorNode.o -MD -MP -MF ".deps/AnchorNode.Tpo" -c -o AnchorNode.o `test -f '../../src/cybergarage/x3d/AnchorNode.cpp' || echo './'`../../src/cybergarage/x3d/AnchorNode.cpp; \
        then mv -f ".deps/AnchorNode.Tpo" ".deps/AnchorNode.Po"; else rm -f ".deps/AnchorNode.Tpo"; exit 1; fi
../../include/cybergarage/x3d/Vector.h: In member function ‘void CyberX3D::Vector<T>::insertElementAt(T*, int, bool)’:
../../include/cybergarage/x3d/Vector.h:77: error: there are no arguments to ‘begin’ that depend on a template parameter, so a declaration of ‘begin’ must be available
../../include/cybergarage/x3d/Vector.h:77: error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../../include/cybergarage/x3d/Vector.h: In member function ‘CyberX3D::VectorElement<T>* CyberX3D::Vector<T>::getElement(int)’:
../../include/cybergarage/x3d/Vector.h:84: error: there are no arguments to ‘size’ that depend on a template parameter, so a declaration of ‘size’ must be available
../../include/cybergarage/x3d/Vector.h:86: error: there are no arguments to ‘at’ that depend on a template parameter, so a declaration of ‘at’ must be available
../../include/cybergarage/x3d/Vector.h: In member function ‘int CyberX3D::Vector<T>::indexOf(T*, int)’:
../../include/cybergarage/x3d/Vector.h:109: error: there are no arguments to ‘size’ that depend on a template parameter, so a declaration of ‘size’ must be available
../../include/cybergarage/x3d/Vector.h: In member function ‘void CyberX3D::Vector<T>::removeElementAt(int)’:
../../include/cybergarage/x3d/Vector.h:127: error: there are no arguments to ‘begin’ that depend on a template parameter, so a declaration of ‘begin’ must be available
../../include/cybergarage/x3d/Vector.h: In member function ‘void CyberX3D::Vector<T>::removeAllElements()’:
../../include/cybergarage/x3d/Vector.h:132: error: there are no arguments to ‘size’ that depend on a template parameter, so a declaration of ‘size’ must be available
../../include/cybergarage/x3d/Vector.h:134: error: there are no arguments to ‘at’ that depend on a template parameter, so a declaration of ‘at’ must be available
../../include/cybergarage/x3d/Vector.h:137: error: there are no arguments to ‘clear’ that depend on a template parameter, so a declaration of ‘clear’ must be available
../../include/cybergarage/x3d/Vector.h: In member function ‘bool CyberX3D::Vector<T>::isEmpty()’:
../../include/cybergarage/x3d/Vector.h:142: error: there are no arguments to ‘size’ that depend on a template parameter, so a declaration of ‘size’ must be available
../../include/cybergarage/x3d/Vector.h: In member function ‘T* CyberX3D::Vector<T>::lastElement()’:
../../include/cybergarage/x3d/Vector.h:152: error: there are no arguments to ‘size’ that depend on a template parameter, so a declaration of ‘size’ must be available
make[3]: *** [AnchorNode.o] Erreur 1
make[3]: quittant le répertoire « /home/jalel/Desktop/Indexeur3D/CyberX3D/lib/unix »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/jalel/Desktop/Indexeur3D/CyberX3D/lib »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/jalel/Desktop/Indexeur3D/CyberX3D »
make: *** [all] Erreur 2
jalel@jalel:~/Desktop/Indexeur3D/CyberX3D$