| ben1996123 (31) | ||||
|
In the OpenGL SB 5th edition, I managed to figure out how to make the first 4 chapters work, but when I copy and paste the Pyramid.cpp example program into a project, I get a build error. I've created a new empty project and added main.cpp, added freeglut_static.lib and gltools.lib into it, then copied and pasted the code into it and I get these errors. Pyramid.cpp: http://pastebin.com/emW7LwEj Errors:
Any idea what's causing it and how to fix it? | ||||
|
Last edited on
|
||||
| mik2718 (295) | |
|
I think gltReadTGABits is a function that appears elsewhere in the book and you will need that too in your code (I have OSB3 and that has gltLoadTGA with a similar signature) | |
|
|
|
| ben1996123 (31) | |
| No, I just tried that and I still get the same error. | |
|
|
|