Frage zur gl.gbas

Previous topic - Next topic

WPShadow

Hi!

Da ich den "OpenGL Programming Guide" daheim habe, wollte ich damit und mit der gl.gbas einen kleinen Test machen.

Leider bekam ich als Ergebnis folgendes:

Code (glbasic) Select


compiling:
C:\Users\wpshadow\AppData\Local\Temp\glbasic\gpc_tempc.cpp: In function `DGInt __GLBASIC__::glPolygonStipple(__GLBASIC__::DGIntArray&)':
C:\Users\wpshadow\AppData\Local\Temp\glbasic\gpc_tempc.cpp:620: error: no match for call to `(__GLBASIC__::DGIntArray) (int&, int&)'
C:/Program Files (x86)/GLBasic/Compiler/platform/Include/glb.h:356: note: candidates are: DGInt& __GLBASIC__::DGIntArray::operator()(int)
C:/Program Files (x86)/GLBasic/Compiler/platform/Include/glb.h:395: note:                 __GLBASIC__::DGIntArray& __GLBASIC__::DGIntArray::operator()()
C:\Users\wpshadow\AppData\Local\Temp\glbasic\gpc_tempc.cpp: In function `DGInt __GLBASIC__::glGetPolygonStipple(__GLBASIC__::DGIntArray&)':
C:\Users\wpshadow\AppData\Local\Temp\glbasic\gpc_tempc.cpp:660: error: no match for call to `(__GLBASIC__::DGIntArray) (int&, int&)'
C:/Program Files (x86)/GLBasic/Compiler/platform/Include/glb.h:356: note: candidates are: DGInt& __GLBASIC__::DGIntArray::operator()(int)
C:/Program Files (x86)/GLBasic/Compiler/platform/Include/glb.h:395: note:                 __GLBASIC__::DGIntArray& __GLBASIC__::DGIntArray::operator()()
*** FATAL ERROR - Bitte die Compiler-Ausgabe ins Forum kopieren



Hat irgendjemand eine Idee, worum es sich hierbei handelt?

GLG

W.
AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est

Quentin

arbeitest du evtl. noch mit einer alten Version von gl.gbas? Den gleichen Fehler hatte ich, als Gernot Integers in GLBasic eingeführt hatte.

Mit der aktuellen Version in ..\samples\common hatte ich bisher noch keine Probleme.

WPShadow

Also ich habe hier die Version 7.285, das System sagt mir, daß es keine aktuellere gibt...

Soll ich eventuell GLB deinstallieren und neu installieren?
AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est

WPShadow

Ok, habe in dem Fall das Ganze aus "...\Samples\Common" bezogen, hier bekomme ich jedoch folgende Fehlermeldung:

Code (glbasic) Select


compiling:
C:\Users\wpshadow\AppData\Local\Temp\glbasic\gpc_tempc.cpp: In function `DGInt __GLBASIC__::glGetPolygonStipple(__GLBASIC__::DGNatArray&)':
C:\Users\wpshadow\AppData\Local\Temp\glbasic\gpc_tempc.cpp:662: error: no matching function for call to `DIM(DGInt (&)(), int, int)'
C:/Program Files (x86)/GLBasic/Compiler/platform/Include/glb.h:778: note: candidates are: void __GLBASIC__::DIM(__GLBASIC__::DGIntArray&, DGNat, DGNat, DGNat, DGNat)
C:/Program Files (x86)/GLBasic/Compiler/platform/Include/glb.h:779: note:                 void __GLBASIC__::DIM(__GLBASIC__::DGNatArray&, DGNat, DGNat, DGNat, DGNat)
*** FATAL ERROR - Bitte die Compiler-Ausgabe ins Forum kopieren

AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est

Quentin

komisch. Gib doch mal a bisserl Code!

WPShadow

Da ist kein Code!

Ich habe einfach eine

Code (glbasic) Select


WHILE TRUE

SHOWSCREEN
WEND



gemacht und die Datei eingefügt! Dann wollte ich eigentlich zu testen beginnen, aber da geht leider gar nix!
AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est

Quentin

sieht mir immer noch stark danach aus, als ob du eine ältere Version von gl.gbas hättest

Probier mal die hier:


[attachment deleted by admin]

WPShadow

Tja, ich habe das Original ersetzt und gesichert, aber leider wieder keine Veränderung!
Der selbe Fehler wie zuvor beschrieben!

Jetzt bin ich ratlos!
AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est

Quentin

ich auch :)

Lösch doch mal spaßeshalber alle Dateien in

C:\Users\wpshadow\AppData\Local\Temp\glbasic

und kompilier noch mal neu

WPShadow

Interessanterweise hat es nach dem löschen der Dateien funktioniert!

Haut also alles wieder hin! Danke für den Tipp!!! Den merke ich mir!
AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est