Re: XForms: Setting the include directories, and other minutae

From: Serge B Bromow (serge@omensys.com)
Date: Sat Apr 06 2002 - 12:03:40 EST


# To subscribers of the xforms list from Serge B Bromow <serge@omensys.com> :

> # To subscribers of the xforms list from "Reed Riddle" <drriddle@qwest.net> :
>
> Howdy all,
>
> This should be a simple thing, but it's something I have never
> learned.... How do you tell the compiler to include directories in
> its compilation? I'm compiling on OS X, and have the X11 layer
> installed. When I try to compile my own software, the compiler
> complains that it can't find all the X11 include files. They are in
> /usr/X11R6/include, but I don't know how to tell my system to look
> there to find the header files. If anyone can tell me how to set the
> compiler to find certain directories, I would appreciate it!
>

Use the "-I/usr/X11R6/include" directive. i.e.

cc -I/usr/X11R6/include foo.c

> I did get the recent version to compile on OS X, though I had to
> massage the makefiles to get it to work. I didn't write all the
> changes down though; I'll go back through it this weekend and try to
> do it properly. But, it was kind of cool to pull up fdesign on my
> home system. :)

Posting your OS specific "Imakefile" changes will help Steve
write a more comprehensive compile package.

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/



This archive was generated by hypermail 2b29 : Wed May 01 2002 - 13:54:18 EDT