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
Original issue reported on code.google.com by
marjana.repinc.58
on 2 Nov 2010 at 1:57Attachments: