Results 1 to 2 of 2

Thread: How to link the glew library to an Open Gl program

  1. #1
    Join Date
    Feb 2013
    Beans
    9

    How to link the glew library to an Open Gl program

    This is what I type on the terminal:
    g++ -o a glm.o Test-Load-ObjFile.o -lGlEW -lglut -lGL -lGLU

    This is the error I get:
    /usr/bin/ld: cannot find -lGlEW
    collect2: ld returned 1 exit status

    My distrubutuion is Ubuntu 12.04 x86_64

    How can I solve this?

  2. #2
    Join Date
    Aug 2011
    Location
    52° N 6° E
    Beans
    3,118
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: How to link the glew library to an Open Gl program

    I imagine it's case sensitive. Try -lGLEW.

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
  •