delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/04/09:15:41

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 4 Nov 2002 15:15:19 +0100 (MET)
From: Robert =?ISO-8859-1?Q?H=F6nlinger?= <R DOT Hoenlinger AT gmx DOT de>
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Subject: Re: Problem with X11 include files
X-Priority: 3 (Normal)
X-Authenticated-Sender: #0001347892 AT gmx DOT net
X-Authenticated-IP: [194.138.37.35]
Message-ID: <9891.1036419319@www56.gmx.net>
X-Flags: 0001

If you installed Cygwin in D:\cygwin, this will be your root directory.
Just try
$ gcc -I/usr/X11R6/include tortoise.cpp -o tortoise
Otherwise try
$ gcc -I/cygdrive/d/usr/X11R6/include tortoise.cpp -o tortoise

Hope that helps.
Robert Hönlinger

> I am trying to compile a small application from the GUILE tutorial. This
> application needs X11/Xlib.h. I installed the X11 files and the include
> file is in the directory d:/cygwin/usr/X11R6/include/X11, but I do not
> know how to tell this gcc. For example

> $ gcc -I/d:cygwin/usr/X11R6/include/ tortoise.cpp -o tortoise
> tortoise.cpp:1:22: X11/Xlib.h: No such file or directory

> does not work and if I specify the full path in my application then the =
> include files Xlib.h needs, are still not found.

> Any hints?

> TIA,

> -- 
> Janos Blazi



-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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