OpenGL lib not found - i've tried the guide

Other talk that doesn't fit elsewhere.
This is for General Discussion, not General chat.
creatxr
Rookie
Rookie
Posts: 18
Joined: 30 Oct 2009, 20:12

OpenGL lib not found - i've tried the guide

Post by creatxr »

after restart system, it's ok now....... i dont know why
........
checking for main in -lGL... no
checking for main in -lopengl32... no
configure: error: OpenGL library not found.
========================================
i tried "LDFLAGS=-L/usr/X11R6/lib ./configure && make"
but it still has the same error.

i am on ubuntu 10.04 x64.
thanks
=========================================
OpenGL libraries not found

If your build fails with the message:

ld: cannot find -lGL
collect2: ld returned 1 exit status
make[2]: *** [warzone2100] Error 1

Or it says the same but for -lGLU, this will work around the problem:

LDFLAGS=-L/usr/X11R6/lib ./configure && make

=============================
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: OpenGL lib not found - i've tried the guide

Post by Buginator »

and it ends here.