From: "Alex Kornev" <mutomba@online.ru> To: "Nik Clayton" <nik@freebsd.org> Cc: <freebsd-doc@FreeBSD.ORG> Subject: Re: Question. Message-ID: <004c01c157be$7951eee0$13845cd4@default> References: <001f01c15713$c7c8b820$13845cd4@default> <20011017172943.D88453@clan.nothing-going-on.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <nik@freebsd.org> To: "Alex Kornev" <mutomba@online.ru> Cc: <freebsd-doc@FreeBSD.ORG> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004c01c157be$7951eee0$13845cd4>