Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. Building Qt5.0: Can't find GL includes
Forum Updated to NodeBB v4.3 + New Features

Building Qt5.0: Can't find GL includes

Scheduled Pinned Locked Moved QtonPi
1 Posts 1 Posters 4.2k 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.
  • A Offline
    A Offline
    Asperamanca
    wrote on last edited by
    #1

    I'm trying to build Qt 5.0 on the Pi, and get a ton GL-related errors when compiling qquickpixmapcache.cpp:

    @‘GLenum’ has not been declared
    ‘GL_UNSIGNED_SHORT’ was not declared in this scope
    'GL_UNSIGNED_BYTE' was not declared in this scope@

    and so on.

    I've found that I had to install the packages mesa-common-dev and libglu1-mesa-dev, which I did. I can now see include files in usr/include/GL, e.g. the define for GL_UNSIGNED_SHORT in gl.h

    Seems that Qt can't find them, even though they are installed in the default location.

    My 'configure' options are:
    -prefix -opensource -nomake examples -nomake tests -no-pch

    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