This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: How to link the X11 library?
- To: "Farooq Saeed" <fsaeed at mec dot etsmtl dot ca>, <cygwin at sourceware dot cygnus dot com>
- Subject: Re: How to link the X11 library?
- From: "John Huddleston" <jhudd at itc dot nrcs dot usda dot gov>
- Date: Thu, 16 Mar 2000 15:21:08 -0700
- References: <38D1544B.9016C58A@mec.etsmtl.ca>
It depends on where you installed it. If you followed the
recommendations, it will be
-L/usr/X11R6.4/lib -lX11 -lICE -lSM
John Huddleston
----- Original Message -----
From: Farooq Saeed <fsaeed@mec.etsmtl.ca>
To: <cygwin@sourceware.cygnus.com>
Sent: Thursday, March 16, 2000 2:38 PM
Subject: How to link the X11 library?
> Hi
>
> 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
> indicte?
>
> Farooq
>
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com