How to link the X11 library?

Farooq Saeed
Thu Mar 16 13:36:00 GMT 2000


I am trying to compile a program using a Makefile (make name).
I would like to use the X11 library and indicate it as link in the makefile
I tried to use -lX11 but its giving me the following error:

<path>/ld: cannot open -lX11: No such file or directory
collect2: ld returned 1 exit status
make: *** [name] Error 1

any ideas how to correct it will be appreciated. Thanks
I have seen the X11 include files but which lib should i


Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list