Help with error message pls

Previous topic - Next topic

monono

My code did stop working. I do not know why, and do not know what IÃ,´ve changed. I am not good in reading the compiler log. So here it is:
Code (glbasic) Select

compiling:
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp: In function `DGInt __GLBASIC__::glRotated(DGInt, DGInt, DGInt, DGInt)':
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp:2143: error: `z' was not declared in this scope
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp: In function `DGInt __GLBASIC__::glRotatef(DGInt, DGInt, DGInt, DGInt)':
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp:2183: error: `z' was not declared in this scope
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp: In function `DGInt __GLBASIC__::glScaled(DGInt, DGInt, DGInt)':
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp:2222: error: `z' was not declared in this scope
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp: In function `DGInt __GLBASIC__::glScalef(DGInt, DGInt, DGInt)':
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp:2261: error: `z' was not declared in this scope
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp: In function `DGInt __GLBASIC__::glTranslated(DGInt, DGInt, DGInt)':
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp:2300: error: `z' was not declared in this scope
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp: In function `DGInt __GLBASIC__::glTranslatef(DGInt, DGInt, DGInt)':
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp:2339: error: `z' was not declared in this scope
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp: In function `DGInt __GLBASIC__::glVertex3d(DGInt, DGInt, DGInt)':
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp:2832: error: `z' was not declared in this scope
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp: In function `DGInt __GLBASIC__::glVertex3f(DGInt, DGInt, DGInt)':
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp:2871: error: `z' was not declared in this scope
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp: In function `DGInt __GLBASIC__::glVertex3i(DGInt, DGInt, DGInt)':
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp:2910: error: `z' was not declared in this scope
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp: In function `DGInt __GLBASIC__::glVertex3s(DGInt, DGInt, DGInt)':
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp:2949: error: `z' was not declared in this scope
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp: In function `DGInt __GLBASIC__::glVertex4d(DGInt, DGInt, DGInt, DGInt)':
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp:2989: error: `z' was not declared in this scope
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp: In function `DGInt __GLBASIC__::glVertex4f(DGInt, DGInt, DGInt, DGInt)':
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp:3029: error: `z' was not declared in this scope
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp: In function `DGInt __GLBASIC__::glVertex4i(DGInt, DGInt, DGInt, DGInt)':
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp:3069: error: `z' was not declared in this scope
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp: In function `DGInt __GLBASIC__::glVertex4s(DGInt, DGInt, DGInt, DGInt)':
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp:3109: error: `z' was not declared in this scope
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp: In function `DGInt __GLBASIC__::glRasterPos3d(DGInt, DGInt, DGInt)':
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp:6373: error: `z' was not declared in this scope
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp: In function `DGInt __GLBASIC__::glRasterPos3f(DGInt, DGInt, DGInt)':
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp:6412: error: `z' was not declared in this scope
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp: In function `DGInt __GLBASIC__::glRasterPos3i(DGInt, DGInt, DGInt)':
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp:6451: error: `z' was not declared in this scope
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp: In function `DGInt __GLBASIC__::glRasterPos3s(DGInt, DGInt, DGInt)':
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp:6490: error: `z' was not declared in this scope
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp: In function `DGInt __GLBASIC__::glRasterPos4d(DGInt, DGInt, DGInt, DGInt)':
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp:6530: error: `z' was not declared in this scope
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp: In function `DGInt __GLBASIC__::glRasterPos4f(DGInt, DGInt, DGInt, DGInt)':
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp:6570: error: `z' was not declared in this scope
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp: In function `DGInt __GLBASIC__::glRasterPos4i(DGInt, DGInt, DGInt, DGInt)':
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp:6610: error: `z' was not declared in this scope
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp: In function `DGInt __GLBASIC__::glRasterPos4s(DGInt, DGInt, DGInt, DGInt)':
C:\Users\Marc\AppData\Local\Temp\glbasic\gpc_temp7.cpp:6650: error: `z' was not declared in this scope

Can anybody pls give me a start where to look at! What could be z. I donÃ,´t have any z in my code!

Quentin

you can try to delete all files in

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

and try to compile again.

MrTAToad

Sounds like you've enabled Explicit Declarations and not defined the variable "z"

monono

It works again. I dropped the gl.gbas and any function using it from the project. No big deal, I donÃ,´t use it anymore.
THX for thoughts.