質問編集履歴
1
文章を修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -107,3 +107,43 @@
|
|
107
107
|
|
108
108
|
|
109
109
|
```
|
110
|
+
|
111
|
+
##### コマンドラインのログ(長すぎるの省略しています。)
|
112
|
+
|
113
|
+
```
|
114
|
+
|
115
|
+
g++ -lGLEW -lGL -lglfw -L/usr/local/lib -lfreetype obj/Ellipse.o obj/Line.o obj/Transform_2D.o obj/Circle.o obj/Triangle.o obj/Window.o obj/Camera.o obj/Main.o obj/Text.o obj/Init.o obj/Resource.o obj/Rectangle.o obj/Shader.o obj/Help.o obj/Point.o obj/Render.o obj/FrameWork.o obj/Simple_Draw.o -o GL
|
116
|
+
|
117
|
+
/usr/bin/ld: obj/Ellipse.o: in function `FrameWork::Ellipse::Draw(glm::vec<2, float, (glm::qualifier)0>, glm::vec<2, float, (glm::qualifier)0>, int, float)':
|
118
|
+
|
119
|
+
Ellipse.cpp:(.text+0x179): undefined reference to `__glewEnableVertexAttribArray'
|
120
|
+
|
121
|
+
/usr/bin/ld: Ellipse.cpp:(.text+0x18a): undefined reference to `__glewBufferData'
|
122
|
+
|
123
|
+
/usr/bin/ld: Ellipse.cpp:(.text+0x1f7): undefined reference to `__glewVertexAttribPointer'
|
124
|
+
|
125
|
+
/usr/bin/ld: Ellipse.cpp:(.text+0x3d1): undefined reference to `__glewBufferSubData'
|
126
|
+
|
127
|
+
/usr/bin/ld: Ellipse.cpp:(.text+0x6cf): undefined reference to `glDrawArrays'
|
128
|
+
|
129
|
+
/usr/bin/ld: obj/Line.o: in function `FrameWork::Line::Line()':
|
130
|
+
|
131
|
+
Line.cpp:(.text+0xa6): undefined reference to `__glewEnableVertexAttribArray'
|
132
|
+
|
133
|
+
/usr/bin/ld: Line.cpp:(.text+0xb4): undefined reference to `__glewBufferData'
|
134
|
+
|
135
|
+
/usr/bin/ld: Line.cpp:(.text+0x11b): undefined reference to `__glewVertexAttribPointer'
|
136
|
+
|
137
|
+
/usr/bin/ld: obj/Line.o: in function `FrameWork::Line::Draw(glm::vec<2, float, (glm::qualifier)0>, glm::vec<2, float, (glm::qualifier)0>, unsigned short, float)':
|
138
|
+
|
139
|
+
Line.cpp:(.text+0x1f5): undefined reference to `glLineWidth'
|
140
|
+
|
141
|
+
/usr/bin/ld: Line.cpp:(.text+0x654): undefined reference to `__glewBufferSubData'
|
142
|
+
|
143
|
+
/usr/bin/ld: Line.cpp:(.text+0x6e8): undefined reference to `glDrawArrays'
|
144
|
+
|
145
|
+
/usr/bin/ld: obj/Circle.o: in function `FrameWork::Circle::Draw(glm::vec<2, float, (glm::qualifier)0>, unsigned short, unsigned short, float)':
|
146
|
+
|
147
|
+
Circle.cpp:(.text+0x17b): undefined reference to `__glewEnableVe
|
148
|
+
|
149
|
+
```
|