Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Previous Declaration, GLdouble, GLintptr, GLsizeiptr
Qt 6.11 is out! See what's new in the release blog

Previous Declaration, GLdouble, GLintptr, GLsizeiptr

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 2.0k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    I am trying to compile a Qt application that was provided to me and when I do I get the following errors:

    error: conflicting declaration 'typedef double GLdouble'
    error: 'GLdouble' has a previous declaration as 'typedef GLfloat GLdouble'
    error: conflicting declaration 'typedef ptrdiff_t GLintptr'
    error: 'GLintptr' has a previous declaration as 'typedef khronos_intptr_t GLintptr'
    error: conflicting declaration 'typedef ptrdiff_t GLsizeiptr'
    error: 'GLsizeiptr' has a previous declaration as 'typedef khronos_ssize_t GLsizeiptr'

    The instructions for compiling this application said to use Qt 4.8.x with MinGW 4.4 but all I could find to download was the latest Qt (with MinGW 4.7). Could something have changed in either Qt 5.x or MinGW that caused this error?

    Thanks!

    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