From owner-freebsd-doc Thu Oct 18 2:29:28 2001 Delivered-To: freebsd-doc@freebsd.org Received: from ajax2.sovam.com (ajax2.sovam.com [194.67.1.173]) by hub.freebsd.org (Postfix) with ESMTP id E620C37B40A; Thu, 18 Oct 2001 02:29:22 -0700 (PDT) Received: from rol19.rol.kis.ru ([212.92.132.19]:1030 "HELO default" ident: "NO-IDENT-SERVICE[2]" whoson: "-unregistered-" smtp-auth: TLS-CIPHER: TLS-PEER: ) by ajax2.sovam.com with SMTP id ; Thu, 18 Oct 2001 13:29:54 +0400 Message-ID: <004c01c157be$7951eee0$13845cd4@default> From: "Alex Kornev" To: "Nik Clayton" Cc: References: <001f01c15713$c7c8b820$13845cd4@default> <20011017172943.D88453@clan.nothing-going-on.org> Subject: Re: Question. Date: Thu, 18 Oct 2001 13:20:11 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org One more question on Unix. How to attach XLib while compiling? g++ -o hello ????? hello.cc I can't find it in usr/include/X11 directory. I can't find it anywhere. Where is it? I use Free BSD 4.3. When I read lectures on programming In C++ for Unix I found a comand for making executable file: Here is it: g++ -o hello -l/usr/include/X11 -lX11 hello.cc. But it doesn't work - compiler says about errors openning Xlib.h Xutil.h Xos.h Xatom.h. It looks like it can't attach X11. ----- Original Message ----- From: "Nik Clayton" To: "Alex Kornev" Cc: Sent: Wednesday, October 17, 2001 7:29 PM Subject: Re: Question. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message