Форум программистов, компьютерный форум, киберфорум
Наши страницы
SFML
Войти
Регистрация
Восстановить пароль
 
StillMissYou
0 / 0 / 0
Регистрация: 01.04.2014
Сообщений: 1
1

Нужно собрать SFML под Debian

04.04.2014, 17:16. Просмотров 620. Ответов 0
Метки нет (Все метки)

Всем привет, есть проблема. Нужно собрать SFML под дебианом.
cmake выполняется нормально.
Bash
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
root@avkubepc:/home/avkube/Загрузки/SFML-master# cmake CMakeLists.txt
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so  
-- libudev stable: 1
-- Found UDev: /usr/lib/libudev.so
--    include: /usr/include
-- Found Freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so (found version "2.4.9") 
-- Found GLEW: /usr/lib/x86_64-linux-gnu/libGLEW.so  
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so  
-- Found OpenAL: /usr/lib/x86_64-linux-gnu/libopenal.so  
-- Found SNDFILE: /usr/lib/x86_64-linux-gnu/libsndfile.so  
-- Configuring done
-- Generating done
-- Build files have been written to: /home/avkube/Загрузки/SFML-master
При выполнении make происходит следующее:
Bash
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
root@avkubepc:/home/avkube/Загрузки/SFML-master# make
Scanning dependencies of target sfml-system
[  1%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Clock.cpp.o                                                                               
[  2%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Err.cpp.o 
[  3%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Lock.cpp.o
[  5%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Mutex.cpp.o                                                                               
[  6%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Sleep.cpp.o                                                                               
[  7%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/String.cpp.o                                                                              
[  9%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Thread.cpp.o                                                                              
[ 10%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/ThreadLocal.cpp.o                                                                         
[ 11%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Time.cpp.o
[ 12%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Unix/ClockImpl.cpp.o                                                                      
[ 14%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Unix/MutexImpl.cpp.o                                                                      
[ 15%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Unix/SleepImpl.cpp.o                                                                      
[ 16%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Unix/ThreadImpl.cpp.o                                                                     
[ 18%] Building CXX object src/SFML/System/CMakeFiles/sfml-system.dir/Unix/ThreadLocalImpl.cpp.o                                                                
Linking CXX shared library ../../../lib/libsfml-system.so
[ 18%] Built target sfml-system
Scanning dependencies of target sfml-window
[ 19%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Context.cpp.o                                                                             
[ 20%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/GlContext.cpp.o                                                                           
[ 22%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/GlResource.cpp.o                                                                          
[ 23%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Joystick.cpp.o                                                                            
[ 24%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/JoystickManager.cpp.o                                                                     
[ 25%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Keyboard.cpp.o                                                                            
[ 27%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Mouse.cpp.o                                                                               
[ 28%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/VideoMode.cpp.o                                                                           
[ 29%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Window.cpp.o                                                                              
[ 31%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/WindowImpl.cpp.o                                                                          
[ 32%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Unix/Display.cpp.o                                                                        
[ 33%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Unix/GlxContext.cpp.o                                                                     
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:56:0: warning: "GLX_WINDOW_BIT" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:133:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:57:0: warning: "GLX_PIXMAP_BIT" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:134:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:58:0: warning: "GLX_PBUFFER_BIT" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:135:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:60:0: warning: "GLX_COLOR_INDEX_BIT" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:157:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:61:0: warning: "GLX_PBUFFER_CLOBBER_MASK" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:159:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:62:0: warning: "GLX_FRONT_LEFT_BUFFER_BIT" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:137:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:63:0: warning: "GLX_FRONT_RIGHT_BUFFER_BIT" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:138:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:64:0: warning: "GLX_BACK_LEFT_BUFFER_BIT" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:139:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:65:0: warning: "GLX_BACK_RIGHT_BUFFER_BIT" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:140:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:66:0: warning: "GLX_AUX_BUFFERS_BIT" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:141:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:67:0: warning: "GLX_DEPTH_BUFFER_BIT" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:142:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:68:0: warning: "GLX_STENCIL_BUFFER_BIT" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:143:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:69:0: warning: "GLX_ACCUM_BUFFER_BIT" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:144:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:70:0: warning: "GLX_CONFIG_CAVEAT" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:114:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:78:0: warning: "GLX_DONT_CARE" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:115:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:80:0: warning: "GLX_SLOW_CONFIG" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:116:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:89:0: warning: "GLX_VISUAL_ID" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:132:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:90:0: warning: "GLX_SCREEN" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:158:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:91:0: warning: "GLX_NON_CONFORMANT_CONFIG" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:117:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:92:0: warning: "GLX_DRAWABLE_TYPE" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:146:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:93:0: warning: "GLX_RENDER_TYPE" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:145:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:94:0: warning: "GLX_X_RENDERABLE" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:147:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:95:0: warning: "GLX_FBCONFIG_ID" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:131:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:97:0: warning: "GLX_COLOR_INDEX_TYPE" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:156:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:98:0: warning: "GLX_MAX_PBUFFER_WIDTH" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:125:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:99:0: warning: "GLX_MAX_PBUFFER_HEIGHT" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:126:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:100:0: warning: "GLX_MAX_PBUFFER_PIXELS" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:127:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:101:0: warning: "GLX_PRESERVED_CONTENTS" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:128:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:106:0: warning: "GLX_DAMAGED" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:160:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:107:0: warning: "GLX_SAVED" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:161:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:108:0: warning: "GLX_WINDOW" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:162:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:109:0: warning: "GLX_PBUFFER" redefined [enabled by default]
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.hpp:33:0,
                 from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:29:
/usr/include/c++/4.7/GL/glx.h:163:0: note: this is the location of the previous definition
In file included from /home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:33:0:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:568:25: error: ISO C++ forbids declaration of ‘__GLXextFuncPtr’ with no type [-fpermissive]
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:568:25: error: typedef ‘__GLXextFuncPtr’ is initialized (use decltype instead)
/home/avkube/Загрузки/SFML-master/src/SFML/Window/glext/glxext.h:568:29: error: ‘PFNGLXGETPROCADDRESSPROC’ was not declared in this scope
/home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp: In member function ‘virtual void sf::priv::GlxContext::setVerticalSyncEnabled(bool)’:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:154:118: error: ‘glXGetProcAddress’ was not declared in this scope
/home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp: In member function ‘void sf::priv::GlxContext::createContext(sf::priv::GlxContext*, unsigned int, const sf::ContextSettings&)’:
/home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:232:146: error: ‘glXGetProcAddress’ was not declared in this scope
/home/avkube/Загрузки/SFML-master/src/SFML/Window/Unix/GlxContext.cpp:254:115: error: invalid conversion from ‘GLXFBConfig {aka long unsigned int}’ to ‘GLXFBConfig* {aka long unsigned int*}[-fpermissive]
make[2]: *** [src/SFML/Window/CMakeFiles/sfml-window.dir/Unix/GlxContext.cpp.o] Ошибка 1
make[1]: *** [src/SFML/Window/CMakeFiles/sfml-window.dir/all] Ошибка 2
make: *** [all] Ошибка 2
Версия gcc 4.7.2

Подскажите, как решить эту проблему?

Добавлено через 10 минут
На иностранном форуме нагуглил вариант, который мне не помог. Предлагали в GlxContext.hpp добавить
C
1
#define GLXContextID XID
0
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
Similar
Эксперт
41792 / 34177 / 6122
Регистрация: 12.04.2006
Сообщений: 57,940
04.04.2014, 17:16
Ответы с готовыми решениями:

C++ SFML для Code::Blocks Debian Gnome Stretch
При выполнении программы с использованием SFML выводится окно терминала вместо...

Помогите собрать библиотеку sfml с помощью cmake
Здравствуйте.Помогите собрать библиотеку sfml с помощью cmake.Пожалуйста...

SFML движение под углом
Здравствуйте. Имеется шарик и платформа, шарик перемещается командой...

Одно окно под SFML и текст
Добрый день уважаемые программисты. Только что столкнулся с одним нюансом. Он...

Выбор библиотек SFML под определенный компилятор
хочу подключить SFML http://www.sfml-dev.org/download/sfml/2.3.2/ только...

0
MoreAnswers
Эксперт
37091 / 29110 / 5898
Регистрация: 17.06.2006
Сообщений: 43,301
04.04.2014, 17:16

SFML как компилировать из-под Linux приложения Windows?
Доброе утро/день/вечер. Как скомпилировать свой проект в линуксе, чтобы на...

Нужно написать игру на С++ и SFML
Ребята дело в том что в универе дали задание курсовую, написать приложение...

SFML в C::B пытается что-то найти в D:\sfml-release\ которого нет
Добрый день, вторые сутки пытаюсь подключить SFML библиотеку к C::B. При...


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
1
Ответ Создать тему
Опции темы

КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Рейтинг@Mail.ru