delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/03/16/16:37:22

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <38D1544B.9016C58A@mec.etsmtl.ca>
Date: Thu, 16 Mar 2000 16:38:19 -0500
From: Farooq Saeed <fsaeed AT mec DOT etsmtl DOT ca>
X-Mailer: Mozilla 4.7 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "cygwin AT sourceware DOT cygnus DOT com" <cygwin AT sourceware DOT cygnus DOT com>
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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019