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. Сompilation .dll in Qt Creator

Сompilation .dll in Qt Creator

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.3k 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
    ARMORIUM
    wrote on last edited by
    #1

    I am trying to recompile GLTools lib from superbible 5 in qt. I have added to all .h files "gltools_global.h" and Q_DECL_EXPORT derictive, excluding glew.h, glxew.h,wglew.h. And during the biuld i am still getting errors:

    undefined reference to glGetIntegerv@8' //12 same notes with other gl functions bad reloc address 0x1b in section .text$_Z7fprintfP6_iobufPKcz[__Z7fprintfP6_iobufPKcz]'
    error: ld returned 1 exit status

    What can cause this problem? Is there any easy solutions, without adding Q_DECL_EXPORT to glew.h?

    Thanks for any help.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ChrisW67
      wrote on last edited by
      #2

      This question doesn't have anything to do with Qt. Qt is a library not a compiler or linker.

      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