In file included from CEGLManager.h:12:0,
from CEGLManager.cpp:1:
../include/IContextManager.h:10:3: error: expected class-name before '{' token
make: *** [gles2/CEGLManager.o] Error 1
Seems like sort of circular includes/references. Is this a known bug? Please, give me a clue
Last edited by AlfAlien on Thu Apr 10, 2014 3:03 pm, edited 1 time in total.
CuteAlien wrote:This doesn't look like a current version (include for IContextManager isn't in line 12 but line 20 in current svn ogl branch).
I just removed all comments from source files (easier to read). Anyway, please, can you say (based on this gcc output) what file I should edit/explore to find the problem? (seems like "standard" problem with circular includes)
All the files have header-guards, so there are no circular includes. That's unless you removed those as well.
It's missing the include to whatever class it expects in line 10 - but as you changed the headers I can no longer tell what the header contains there in your case.