nilium / cower.bufferedglmax2d

GLMax2D implementation (Migrated to https://git.sr.ht/~nilium/cower.bufferedglmax2d)
5 stars 1 forks source link

Not working on Windows 7 #2

Open peterigz opened 14 years ago

peterigz commented 14 years ago

Good to see you work on this again. Just tried your latest version on windows 7, the module compiles ok, but trying to run a simple program stops with the following error:

C:/BlitzMax137/mod/cower.mod/renderbuffer.mod/renderbuffer.debug.win32.x86.a(renderbuffer.cpp.debug.win32.x86.o):renderbuffer.cpp:(.text+0xe8a): undefined reference to `_imp____GLEW_EXT_compiled_vertex_array'
C:/BlitzMax137/mod/cower.mod/renderbuffer.mod/renderbuffer.debug.win32.x86.a(renderbuffer.cpp.debug.win32.x86.o):renderbuffer.cpp:(.text+0xf0c): undefined reference to `_imp____GLEW_EXT_compiled_vertex_array'
C:/BlitzMax137/mod/cower.mod/renderbuffer.mod/renderbuffer.debug.win32.x86.a(renderbuffer.cpp.debug.win32.x86.o):renderbuffer.cpp:(.text+0xf16): undefined reference to `_imp____glewUnlockArraysEXT'
C:/BlitzMax137/mod/cower.mod/renderbuffer.mod/renderbuffer.debug.win32.x86.a(renderbuffer.cpp.debug.win32.x86.o):renderbuffer.cpp:(.text+0x1024): undefined reference to `_imp____GLEW_VERSION_1_4'
C:/BlitzMax137/mod/cower.mod/renderbuffer.mod/renderbuffer.debug.win32.x86.a(renderbuffer.cpp.debug.win32.x86.o):renderbuffer.cpp:(.text+0x10cf): undefined reference to `_imp____glewMultiDrawArrays'
Build Error: Failed to link D:\Blitzstuff\GFXTest\GFXTest\test.debug.exe

Thats just with the following prgram:

SuperStrict
Import cower.bufferedglmax2d

SetGraphicsDriver BufferedGLMax2DDriver()
Graphics 800, 600

Cls

While Not KeyDown(KEY_ESCAPE)
Wend
nilium commented 14 years ago

Can you try this with BlitzMax 1.38 and tell me if you get the same result?

peterigz commented 14 years ago

slightly different result iin the latest version I think:

C:/BlitzMax138/Mod/cower.Mod/renderbuffer.Mod/renderbuffer.Debug.Win32.x86.a(renderbuffer.cpp.Debug.Win32.x86.o):renderbuffer.cpp:(.text + 0xd38):undefined reference To `_imp____glewLockArraysEXT'
C:/BlitzMax138/mod/cower.mod/renderbuffer.mod/renderbuffer.debug.win32.x86.a(renderbuffer.cpp.debug.win32.x86.o):renderbuffer.cpp:(.text+0xe91): undefined reference to `_imp____glewMultiDrawArrays'
Build Error:Failed To link D:\Blitzstuff\GFXTest\GFXTest\test.Debug.exe
nilium commented 14 years ago

That is.. bizarre. I'm not entirely sure what to say to that, considering these probably build fine for every other system (and probably on most Windows 7 systems). I'm not getting any linker errors on my end (otherwise I wouldn't have pushed the commits), so I'm not entirely sure what to do about fixing it.

Maybe try running bmk makemods pub.glew and see if that changes anything.

peterigz commented 14 years ago

Tried making pub.glew like you said but same result. Very strange! Just made sure I'm on the latest nvidia drivers, just in case, but no joy.