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


#1

Hi all!

Really struggling here and have searched all over the place but cannot find an answer.

Every time I build a project (or OF examples) on my linux (ubuntu/KDE Neon) I am faced with the following error

libs/openFrameworks/utils/ofConstants.h:181:12: fatal error: GL/glew.h: No such file or directory

I’ve tried to install/reinstall every glew library, I’ve checked the header file is in /usr/include/GL, tried running from the latest OF release… but now I’m stuck!

Any advice would be greatly appreciated :slight_smile:

Thanks in advance!!


#2

are you using OF from github? in that case you need to do some extra steps that are detailed in the INSTALL_FROM_GITHUB.md guide that it’s in the root folder