Results 1 to 2 of 2

Thread: Link error

  1. #1
    Join Date
    Aug 2009
    Posts
    33
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Link error

    I'm trying to build Qt3d with Visual Studio 2005 and i get this strange errors.

    moc_qglview.obj : error LNK2001: unresolved external symbol __imp__glActiveTexture@4
    qglvertexbundle.obj : error LNK2001: unresolved external symbol __imp__glActiveTexture@4
    qglview.obj : error LNK2001: unresolved external symbol __imp__glActiveTexture@4
    qopenglfunctions.obj : error LNK2001: unresolved external symbol __imp__glActiveTexture@4
    moc_qglpainter_p.obj : error LNK2001: unresolved external symbol __imp__glActiveTexture@4
    qgltexture2d.obj : error LNK2001: unresolved external symbol __imp__glActiveTexture@4
    qgltexturecube.obj : error LNK2001: unresolved external symbol __imp__glActiveTexture@4
    qgltextureutils.obj : error LNK2001: unresolved external symbol __imp__glActiveTexture@4
    qgltwosidedmaterial.obj : error LNK2001: unresolved external symbol __imp__glActiveTexture@4
    qglrendersequencer.obj : error LNK2001: unresolved external symbol __imp__glActiveTexture@4
    qglscenenode.obj : error LNK2001: unresolved external symbol __imp__glActiveTexture@4
    qglsection.obj : error LNK2001: unresolved external symbol __imp__glActiveTexture@4
    qglshaderprogrameffect.obj : error LNK2001: unresolved external symbol __imp__glActiveTexture@4
    qgllitmaterialeffect.obj : error LNK2001: unresolved external symbol __imp__glActiveTexture@4
    qgllittextureeffect.obj : error LNK2001: unresolved external symbol __imp__glActiveTexture@4
    qglmaterial.obj : error LNK2001: unresolved external symbol __imp__glActiveTexture@4
    qglpainter.obj : error LNK2001: unresolved external symbol __imp__glActiveTexture@4
    ...
    ...
    ...

    other link errors like this.

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Link error

    You don't have a OpenGL installed on your system, or your build environment doesn't know where to look for it.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. MFC->Qt Migration link error
    By LynneV in forum Installation and Deployment
    Replies: 1
    Last Post: 25th December 2009, 22:13
  2. Destructor Link error
    By Roelof in forum Qt Programming
    Replies: 11
    Last Post: 16th September 2009, 11:06
  3. QSqlDatabase Link error
    By scotty2012 in forum Newbie
    Replies: 4
    Last Post: 3rd August 2009, 16:56
  4. qt4.4.2 gui module link error
    By jevonwang in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 9th March 2009, 06:37
  5. moc link error
    By user_mail07 in forum Qt Programming
    Replies: 3
    Last Post: 3rd July 2007, 19:30

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.