WebKit building ANGLE on Linux?
I am trying to build Qt 5.2 on Linux (Debian 6) and it stopped when building QtWebKit:
@flex --noline --nounistd --outfile=generated/glslang_lex.cpp /.../qt5/qtwebkit/Source/ThirdParty/ANGLE/src/compiler/glslang.l
flex: unknown flag '-'. For usage, try
Is normal to build ANGLE, which I thought is Windows-only, on Linux? If so, how can I fix this? Thanks.
No, I don't think this should be happening.
I'm also having the same problem on Linux (ubuntu 14.04) compiling qt 5.1.1.
The error is:
generated/glslang_tab.cpp: In function ‘int yyparse(TParseContext*)’:
generated/glslang_tab.cpp:1804:30: error: too few arguments to function ‘int yylex(YYSTYPE*, void*)’
yychar = yylex (&yylval);
generated/glslang_tab.cpp:279:12: note: declared here
extern int yylex(YYSTYPE* yylval_param, void* yyscanner);
make: *** [.obj/debug-shared/generated/glslang_tab.o] Error 1
make: Leaving directory
/home/nuno/oresearch/qt5.1.1/qt5/qtwebkit/Source/ThirdParty/ANGLE' make: *** [sub-Target-pri-make_first-ordered] Error 2 make: Leaving directory/home/nuno/oresearch/qt5.1.1/qt5/qtwebkit/Source/ThirdParty/ANGLE'
make: *** [sub-Source-ThirdParty-ANGLE-ANGLE-pro-make_first-ordered] Error 2
make: Leaving directory `/home/nuno/oresearch/qt5.
If possible, please update to Qt 5.3.1.
At least on my project I can't. However I commented a few lines, and I'm back at compiling. I hope it will work OK.
The diff is bellow:
That didn't work well, because a bit further it needed the libANGLE.a .
I will try to search a bit more and come up with a solution.