Announcement

Collapse
No announcement yet.

error: /usr/bin/ld: cannot find -lGL

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    error: /usr/bin/ld: cannot find -lGL

    Well i installed kubuntu 12.04 from a cd. I preveusly used 11.10 and when i tride to update the computer dident want to start so I instald kubuntu 12.04 from live cd insted. I'm programing a game using SDL and opengl but when I try to compile I get this error:
    ------------------------------------------
    /usr/bin/ld: cannot find -lGL
    collect2: ld returned 1 exit status
    ------------------------------------------
    i use this linkers: -lSDLmain -lSDL -lSDL_image -lSDL_mixer -lGL

    It worked just fine in 11.10.
    can sombody help me?
    I would realy appreciate it.
Working...
X