Hallo,
wenn ich jetzt für den GP2x übersetzen will, kommt folgende Fehlermeldung:
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 kopierenProgrammcode:
PRINT "Hallo",0,0
SHOWSCREEN
MOUSEWAITGruß
Rene
Selbiges hier. Schheint ein Objektfile zu fehlen ;).
oh no! Ich hab einen header nicht eingebunden. Jetzt kennt er die Funktion tglSetCookieColor(ushort, int), aber implementiert (ushort, bool).
Doh!!
Update folgt.