bate's blog

調べたこと実装したことなどを取りとめもなく書きます。

glfw.tar.gz

glfw.tar.gzからインスコしようとしたがエラー

$ make win32-cygwin
cd lib/win32 && make -f Makefile.win32.cygwin
make[1]: Entering directory `/home/foo/glfw/lib/win32'
gcc -shared -s -Wl,--kill-at,--major-image-version,2,--minor-image-version,5 -o
glfw.dll enable_dll.o fullscreen_dll.o glext_dll.o image_dll.o init_dll.o input_
dll.o joystick_dll.o stream_dll.o tga_dll.o thread_dll.o time_dll.o window_dll.o
win32_dllmain_dll.o win32_enable_dll.o win32_fullscreen_dll.o win32_glext_dll.o
win32_init_dll.o win32_joystick_dll.o win32_thread_dll.o win32_time_dll.o win32
_window_dll.o -lopengl32
glext_dll.o:glext.c:(.text+0x91): undefined reference to `_glGetString'
glext_dll.o:glext.c:(.text+0x112): undefined reference to `_glGetString'
image_dll.o:image.c:(.text+0x619): undefined reference to `_glGetIntegerv'
image_dll.o:image.c:(.text+0x629): undefined reference to `_glPixelStorei'
image_dll.o:image.c:(.text+0x668): undefined reference to `_glGetTexParameteriv'

image_dll.o:image.c:(.text+0x681): undefined reference to `_glTexParameteri'
image_dll.o:image.c:(.text+0x6f7): undefined reference to `_glTexImage2D'
image_dll.o:image.c:(.text+0x832): undefined reference to `_glPixelStorei'
image_dll.o:image.c:(.text+0x972): undefined reference to `_glTexParameteri'
win32_window_dll.o:win32_window.c:(.text+0xecc): undefined reference to `_glGetS
tring'
win32_window_dll.o:win32_window.c:(.text+0x122e): undefined reference to `_glCle
ar'
win32_window_dll.o:win32_window.c:(.text+0x1345): undefined reference to `_glGet
Integerv'
win32_window_dll.o:win32_window.c:(.text+0x1353): undefined reference to `_glGet
Floatv'
win32_window_dll.o:win32_window.c:(.text+0x1361): undefined reference to `_glCle
arColor'
win32_window_dll.o:win32_window.c:(.text+0x136e): undefined reference to `_glCle
ar'
win32_window_dll.o:win32_window.c:(.text+0x1398): undefined reference to `_glCle
arColor'
collect2: ld returned 1 exit status
make[1]: *** [glfw.dll] Error 1

もういや。

広告を非表示にする