Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. WebKit building ANGLE on Linux?

WebKit building ANGLE on Linux?

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 3 Posters 2.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    stephenju
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      No, I don't think this should be happening.

      (Z(:^

      1 Reply Last reply
      0
      • N Offline
        N Offline
        nunogmartins
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          If possible, please update to Qt 5.3.1.

          (Z(:^

          1 Reply Last reply
          0
          • N Offline
            N Offline
            nunogmartins
            wrote on last edited by
            #5

            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.

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved