lbsweek / oglsuperbible5

Automatically exported from code.google.com/p/oglsuperbible5
0 stars 0 forks source link

[PATCH] Chapter 6 - TexturedTriangle fails to compile #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. go to Linux/Chapter06/TexturedTriangle folder
2. enter "make"

What is the expected output? What do you see instead?
The example should compile but I get the error:
$ make
g++  -g -I/usr/include -I/usr/local/include -I/usr/include/GL 
-I../../../Src/GLTools/include/  -I../../../Src/GLTools/include/GL -o 
TexturedTriangle -L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib 
../../../Src/Chapter06/TexturedTriangle/TexturedTriangle.cpp 
../../../Src/GLTools/src/glew.c ../../../Src/GLTools/src/GLTools.cpp 
../../../Src/GLTools/src/GLBatch.cpp 
../../../Src/GLTools/src/GLTriangleBatch.cpp 
../../../Src/GLTools/src/GLShaderManager.cpp 
../../../Src/GLTools/src/math3d.cpp -lX11 -lglut -lGL -lGLU -lm
../../../Src/Chapter06/TexturedTriangle/TexturedTriangle.cpp: In function 
‘void SetupRC()’:
../../../Src/Chapter06/TexturedTriangle/TexturedTriangle.cpp:87: error: 
‘myIdentityShader’ was not declared in this scope
make: *** [TexturedTriangle] Error 1

What version of the product are you using? On what operating system?
revision 176, 64-bit GNU/Linux, GCC 4.4.5

Please provide any additional information below.
myIdentityShader should be renamed to myTexturedIdentityShader, patch attached

Original issue reported on code.google.com by marjana.repinc.58 on 2 Nov 2010 at 1:57

Attachments: