Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Whenever I try to compile a C++ file using:

g++ cgaTOH.cpp

I keep getting the following error:

fatal error: GL/glew.h: No such file or directory

Could someone advise on how to get GL/glew.h library? How can I solve this problem?

share|improve this question
This could help. r3dux.org/2011/08/how-to-build-glew-on-debian –  user241484 Jan 29 at 19:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.