Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Nov 2001 12:24:41 -0600
From:      Alfred Perlstein <bright@mu.org>
To:        Rod Person <roddierod@hotpop.com>
Cc:        Hackers FreeBSD <freebsd-hackers@freebsd.org>
Subject:   Re: Trying to learn X programming.
Message-ID:  <20011104122441.B89342@elvis.mu.org>
In-Reply-To: <20011104110559.4cf7d0b0.roddierod@hotpop.com>; from roddierod@hotpop.com on Sun, Nov 04, 2001 at 11:05:59AM -0500
References:  <20011104110559.4cf7d0b0.roddierod@hotpop.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Rod Person <roddierod@hotpop.com> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011104122441.B89342>