GLBasic forum

Other languages => GLBasic - de => Topic started by: relei on 2008-Feb-07

Title: Fehler nach Update
Post by: relei on 2008-Feb-07
Hallo,

wenn ich jetzt für den GP2x übersetzen will, kommt folgende Fehlermeldung:

Code (glbasic) Select
compile+link:
C:\Programme\GLBasic\Compiler\platform\GP2X\Lib\libGLBasicGP2X.a(OpenGLRainbows.o): In function `OpenGLRainbows::SetTexture3D(int, int, int)':
OpenGLRainbows.cpp:(.text+0x3d0): undefined reference to `tglSetCookieColor(unsigned short, int)'
C:\Programme\GLBasic\Compiler\platform\GP2X\Lib\libGLBasicGP2X.a(OpenGLRainbows.o): In function `OpenGLRainbows::StartPoly(int)':
OpenGLRainbows.cpp:(.text+0x4a34): undefined reference to `tglSetCookieColor(unsigned short, int)'
C:\Programme\GLBasic\Compiler\platform\GP2X\Lib\libGLBasicGP2X.a(OpenGLRainbows.o): In function `OpenGLRainbows::RotoZoomTile(int, int, float, float, float, float)':
OpenGLRainbows.cpp:(.text+0x4e14): undefined reference to `tglSetCookieColor(unsigned short, int)'
C:\Programme\GLBasic\Compiler\platform\GP2X\Lib\libGLBasicGP2X.a(OpenGLRainbows.o): In function `OpenGLRainbows::StretchTile(int, int, float, float, float, float)':
OpenGLRainbows.cpp:(.text+0x505c): undefined reference to `tglSetCookieColor(unsigned short, int)'
*** FATAL ERROR - Bitte die Compiler-Ausgabe ins Forum kopieren
Programmcode:

Code (glbasic) Select
PRINT "Hallo",0,0
SHOWSCREEN
MOUSEWAIT
Gruß

Rene
Title: Fehler nach Update
Post by: trucidare on 2008-Feb-07
Selbiges hier. Schheint ein Objektfile zu fehlen ;).
Title: Fehler nach Update
Post by: Kitty Hello on 2008-Feb-07
oh no! Ich hab einen header nicht eingebunden. Jetzt kennt er die Funktion tglSetCookieColor(ushort, int), aber implementiert (ushort, bool).
Doh!!
Update folgt.