This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with X11 include files


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]