Results 1 to 1 of 1

Thread: Make error - /usr/bin/ld: cannot find -lglut

  1. #1
    Join Date
    Jan 2010
    Beans
    38
    Distro
    Ubuntu 11.04 Natty Narwhal

    Question Make error - /usr/bin/ld: cannot find -lglut

    Edit: Fixed the issue (See below)
    Hi,

    I'm trying to compile some code (http://www.erinacom.de/download, it is an alpha version of extreme tux racer) and I have installed about 5 dependencies but I am now getting this error:

    Code:
    /usr/bin/ld: cannot find -lglut
    collect2: ld returned 1 exit status
    make: *** [etr] Error 1
    I am unsure as to what this means. I have only compiled code a few times on ubuntu so please explain to me as simply as possible .

    Any help would be greatly appreciated.


    Solution:
    For those who are interested:
    Code:
     sudo apt-get install freeglut3-dev
    Type the above command in the terminal to install glut (free version)
    Last edited by lol768; November 13th, 2010 at 04:12 PM. Reason: Incorrect info in post

Tags for this Thread

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
  •