Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jun 1999 13:15:06 -0700
From:      Chris Piazza <cpiazza@home.net>
To:        "Pedro F. Giffuni" <pfgiffun@bachue.usc.unal.edu.co>
Cc:        ports@FreeBSD.ORG
Subject:   Re: Question about linking GLUT.
Message-ID:  <19990605131506.A497@norn.ca.eu.org>
In-Reply-To: <37596C70.17D5FEEB@bachue.usc.unal.edu.co>; from Pedro F. Giffuni on Sat, Jun 05, 1999 at 01:29:04PM -0500
References:  <37596C70.17D5FEEB@bachue.usc.unal.edu.co>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 05, 1999 at 01:29:04PM -0500, Pedro F. Giffuni wrote:

> Hi, Since we will soon have accelerated OpenGL, I am porting GLUI:
> 
> 	 http://www.cs.unc.edu/~rademach/glui
> 
> however I have problems building the examples:
> ________________________
> Linking example1
> cc   -I/usr/X11R6/include  example1.o -lXmu -lXext -lX11 -lm
> -L/usr/X11R6/lib -lglut -lGL -lGLU -Llib -lglui -o bin/example1
> /usr/X11R6/lib/libglut.so: undefined reference to `XGetExtensionVersion'
<snip>
> *** Error code 1
> ________________________
> Any ideas on what is missing ?
> 

I believe you need a -lXi too.  Good luck.

-- 
Chris Piazza    Abbotsford, BC, Canada
           cpiazza@home.net
finger norn@norn.ca.eu.org for PGP key


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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