delorie.com/archives/browse.cgi | search |
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: | <00c401bf8f95$edcb5c90$6d298dc7@itc.nrcs.usda.gov> |
From: | "John Huddleston" <jhudd AT itc DOT nrcs DOT usda DOT gov> |
To: | "Farooq Saeed" <fsaeed AT mec DOT etsmtl DOT ca>, <cygwin AT sourceware DOT cygnus DOT com> |
References: | <38D1544B DOT 9016C58A AT mec DOT etsmtl DOT ca> |
Subject: | Re: How to link the X11 library? |
Date: | Thu, 16 Mar 2000 15:21:08 -0700 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 5.00.2314.1300 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2314.1300 |
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 AT mec DOT etsmtl DOT ca> To: <cygwin AT sourceware DOT cygnus DOT 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 AT sourceware DOT cygnus DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |