7 |
-------- |
-------- |
8 |
|
|
9 |
This file is for newbie developers. |
This file is for newbie developers. |
10 |
Propsed to be in free form. |
Proposed to be in free form. |
11 |
Add your headache here now and then - fill answer when you found it ;) |
Add your headaches here - fill in answers ;) |
12 |
|
|
13 |
|
|
14 |
|
|
16 |
--------- |
--------- |
17 |
|
|
18 |
Q: I don't see anything. Just plain black with GL. |
Q: I don't see anything. Just plain black with GL. |
19 |
A: Propably you have some problems with your X drivers etc. |
A: Probably you have some problems with your X drivers etc. |
20 |
try to update your /usr/X11R6/include/GL/* or something |
Update your /usr/X11R6/include/GL/*. |
21 |
A2: unset LANG |
A2: unset LANG |
22 |
|
|
23 |
|
|
24 |
Q: How to compile? |
Q: How to compile? |
25 |
A: with luck |
A: With luck. |
26 |
|
|
27 |
|
|
28 |
Q: How to set debug options? |
Q: How to set debug options? |
29 |
A: Java: make run DBG="-d gzz.client.foo" |
A: Java: make run DBG="-d gzz.client.foo" |
30 |
C++/GL: make rungl DBG="-G JNI.general -G JNI.foo" |
C++/GL: make rungl DBG="-G JNI.general -G JNI.foo" |
31 |
|
|
32 |
Remember: if you see in source like dbg_paperquad it has probably |
Remember: if you see something like dbg_paperquad in the source it was |
33 |
initialized with |
probably initialized with |
34 |
DBGVAR(dbg_paperquad, "Renderable.paperquad"); |
DBGVAR(dbg_paperquad, "Renderable.paperquad"); |
35 |
So, use DBG="-G Renderable.paperquad" |
So, use DBG="-G Renderable.paperquad" |