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
    flex --help
    @

    Is normal to build ANGLE, which I thought is Windows-only, on Linux? If so, how can I fix this? Thanks.


  • Moderators

    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[3]: *** [.obj/debug-shared/generated/glslang_tab.o] Error 1
    make[3]: Leaving directory /home/nuno/oresearch/qt5.1.1/qt5/qtwebkit/Source/ThirdParty/ANGLE' make[2]: *** [sub-Target-pri-make_first-ordered] Error 2 make[2]: Leaving directory/home/nuno/oresearch/qt5.1.1/qt5/qtwebkit/Source/ThirdParty/ANGLE'
    make[1]: *** [sub-Source-ThirdParty-ANGLE-ANGLE-pro-make_first-ordered] Error 2
    make[1]: Leaving directory `/home/nuno/oresearch/qt5.


  • Moderators

    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:

    https://gist.github.com/nunogmartins/3c47c9afb1e7190c66a4

    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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.