That tiny OpenGL app

Markus Hitter mah at jump-ing.de
Wed Jul 16 17:38:37 CDT 2008


Hello all,

maybe I'm just missing the obvious, but I can't get my small one-file  
app to link. As I've just built Wine from scratch on this box,  
everything should be installed, including libGL... in /usr/lib32:

mah at piccard:~/Wine Apps/GPWiki Framework$ make
i586-mingw32msvc-g++ -pipe -mwindows \
	-L/usr/local/lib/wine -L/lib32 -L/usr/lib32 \
	-Wl,-rpath,/usr/local/lib/wine -Wl,-rpath,/lib32 -Wl,-rpath,/usr/ 
lib32 \
	-lopengl32 -lglu32 -o OpenGLBase.exe OpenGLBase.cpp
/tmp/cclajgrA.o:OpenGLBase.cpp:(.text+0x10e): undefined reference to  
`_wglCreateContext at 4'
/tmp/cclajgrA.o:OpenGLBase.cpp:(.text+0x134): undefined reference to  
`_wglMakeCurrent at 8'
/tmp/cclajgrA.o:OpenGLBase.cpp:(.text+0x15d): undefined reference to  
`_glClearColor at 16'
/tmp/cclajgrA.o:OpenGLBase.cpp:(.text+0x16a): undefined reference to  
`_glClear at 4'
collect2: ld returned 1 exit status
make: *** [OpenGLBase.exe] Fehler 1
mah at piccard:~/Wine Apps/GPWiki Framework$ for F in /lib32/* /usr/ 
lib32/* /usr/local/lib/wine/*; do if nm "$F" 2>/dev/null | grep  
glClearColor; then echo "$F"; fi; done
          U glClearColor
000621c0 T wine_glClearColor
000522f0 t wine_glClearColorIiEXT
00052240 t wine_glClearColorIuiEXT
/usr/local/lib/wine/opengl32.dll.so
00102574 B glClearColor
/usr/local/lib/wine/wined3d.dll.so
mah at piccard:~/Wine Apps/GPWiki Framework$


Short of solid knowledge I tried about anything I could imagine, but  
no joy. Any ideas, somebody?


Thanks,
MarKus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/







More information about the wine-devel mailing list