Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chapter01/Block project will not compile out-of-the-box on Ubuntu #40

Open
GoogleCodeExporter opened this issue Apr 20, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Check out the code
2. cd to Linux/Chapter01/Block
3. type "make"

What is the expected output? What do you see instead?
It should compile. Instead I get this:

g++  -g -I/usr/include -I/usr/local/include -I/usr/include/GL 
-I../../../Src/GLTools/include/  -I../../../Src/GLTools/include/GL -o Block 
-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib 
../../../Src/Chapter01/Block/Block.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
In file included from ../../../Src/GLTools/include/GLTools.h:70:0,
                 from ../../../Src/Chapter01/Block/Block.cpp:6:
../../../Src/GLTools/include/GL/glew.h:1172:20: fatal error: GL/glu.h: No such 
file or directory
compilation terminated.
In file included from ../../../Src/GLTools/src/glew.c:32:0:
../../../Src/GLTools/include/GL/glew.h:1172:20: fatal error: GL/glu.h: No such 
file or directory
compilation terminated.
In file included from ../../../Src/GLTools/include/GLTools.h:70:0,
                 from ../../../Src/GLTools/src/GLTools.cpp:36:
../../../Src/GLTools/include/GL/glew.h:1172:20: fatal error: GL/glu.h: No such 
file or directory
compilation terminated.
In file included from ../../../Src/GLTools/include/GLBatch.h:62:0,
                 from ../../../Src/GLTools/src/GLBatch.cpp:36:
../../../Src/GLTools/include/GL/glew.h:1172:20: fatal error: GL/glu.h: No such 
file or directory
compilation terminated.
In file included from ../../../Src/GLTools/include/GLTriangleBatch.h:77:0,
                 from ../../../Src/GLTools/src/GLTriangleBatch.cpp:46:
../../../Src/GLTools/include/GL/glew.h:1172:20: fatal error: GL/glu.h: No such 
file or directory
compilation terminated.
In file included from ../../../Src/GLTools/include/GLShaderManager.h:63:0,
                 from ../../../Src/GLTools/src/GLShaderManager.cpp:31:
../../../Src/GLTools/include/GL/glew.h:1172:20: fatal error: GL/glu.h: No such 
file or directory
compilation terminated.
make: *** [Block] Error 1


What version of the product are you using? On what operating system?
Rev. 193, on Ubuntu 11.10.

Please provide any additional information below.
I assume that some prerequisites are missing. I have build-essential, but I 
don't know what other packages I need. Prerequisites for building the samples 
should be described in a README file.


Original issue reported on code.google.com by [email protected] on 19 Dec 2011 at 10:09

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant