From owner-freebsd-hackers Sun Nov 4 10:24:49 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id 8B8A037B405 for ; Sun, 4 Nov 2001 10:24:46 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id 479B481D07; Sun, 4 Nov 2001 12:24:41 -0600 (CST) Date: Sun, 4 Nov 2001 12:24:41 -0600 From: Alfred Perlstein To: Rod Person Cc: Hackers FreeBSD Subject: Re: Trying to learn X programming. Message-ID: <20011104122441.B89342@elvis.mu.org> References: <20011104110559.4cf7d0b0.roddierod@hotpop.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011104110559.4cf7d0b0.roddierod@hotpop.com>; from roddierod@hotpop.com on Sun, Nov 04, 2001 at 11:05:59AM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Rod Person [011104 10:11] wrote: > This is a little Linux code that changes resolution of X on the fly. > > There seems to be some differences in the Linux and FreeBSD use of XOpenDisplay. I read the man pages and tried changing the code a few different ways but it won't compile. Here's how I try to compile.... > > gcc -o wmres wmres.c -I/usr/X11R6/include -IXmu -IX11 > > Any pointers or a good reference on the web somewhere. All I have are man pages and code at this point. gcc -o wmres wmres.c -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message