This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Linker Error: cannot find -lGL [in Cygwin]


Hi -

I'm sure theres' a straightforward answer to this question. I'm trying to link
an object file (main.o) with the OpenGL libraries but I'm getting the following
error:

$ g++ main.o -lglut -lGL -lGLU -o demo
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find
-lGL
collect2: ld returned 1 exit status

Which is quite surprising because I only just reinstalled the latest version of
Cygwin (all of it). What am I not doing right?

Thanks,

- Olumide 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]