From owner-freebsd-questions Wed Aug 9 20:22:33 2000 Delivered-To: freebsd-questions@freebsd.org Received: from po4.wam.umd.edu (po4.wam.umd.edu [128.8.10.166]) by hub.freebsd.org (Postfix) with ESMTP id A79E937B595 for ; Wed, 9 Aug 2000 20:22:29 -0700 (PDT) (envelope-from gollucci@wam.umd.edu) Received: from rac1.wam.umd.edu (root@rac1.wam.umd.edu [128.8.10.141]) by po4.wam.umd.edu (8.9.3/8.9.3) with ESMTP id XAA07842; Wed, 9 Aug 2000 23:22:31 -0400 (EDT) Received: from rac1.wam.umd.edu (sendmail@localhost [127.0.0.1]) by rac1.wam.umd.edu (8.9.3/8.9.3) with SMTP id XAA10186; Wed, 9 Aug 2000 23:22:20 -0400 (EDT) Received: from localhost (gollucci@localhost) by rac1.wam.umd.edu (8.9.3/8.9.3) with ESMTP id XAA10182; Wed, 9 Aug 2000 23:22:20 -0400 (EDT) X-Authentication-Warning: rac1.wam.umd.edu: gollucci owned process doing -bs Date: Wed, 9 Aug 2000 23:22:20 -0400 (EDT) From: "Philip M. Gollucci" To: Peter Stapley Cc: questions@FreeBSD.ORG Subject: Re: Include Files In-Reply-To: <006301c0026e$b6c38960$c400a8c0@infiltration.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG when you compile it add the compile flag -I($PATH) where $PATH = /usr/X11R6/include its set on commandline on in a make file ie gcc -o exe -I/usr/X11R6/include file.c ***************************************************************************** Philip M. Gollucci E-mail : gollucci@wam.umd.edu Philip@p6m7g8.com Phone : 301.249.6261 Major : Computer Science Electrical Engineering Current Job : Co Science, Discovery, & the Universe Webmaster ***************************************************************************** On Wed, 9 Aug 2000, Peter Stapley wrote: > Okay I have an include file in /usr/X11R6/include/something.h > What do I have to do so in my program I can do this? #include > I think it is something with the path but not sure, I have tried putting in the full paths but the other include files inside this include file will not be found. Thanks for the help. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message