Results 1 to 2 of 2

Thread: Freeglut and Qt creator

  1. #1
    Join Date
    Jun 2013
    Location
    Great Britain
    Beans
    65
    Distro
    Ubuntu 13.10 Saucy Salamander

    Freeglut and Qt creator

    I am trying to compile an openGL program using freeglut which I installed on my Ubuntu installation. When I try to compile my program under Qt creator, I get the following errors:

    Code:
    error: undefined reference to 'glClearColor'
    error: undefined reference to 'glClear'
    error: undefined reference to 'glColor3f'
    
    ...etc
    How do I solve this issue? Please provide instructions!

  2. #2
    Join Date
    Jan 2013
    Beans
    4

    Re: Freeglut and Qt creator

    Did you include "QT += opengl" in your XX.pro file?

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
  •