Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 2009 08:48:28 -0900
From:      Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net>
To:        freebsd-questions@freebsd.org
Cc:        Richard Mace <macerl@telkomsa.net>
Subject:   Re: Help building/running SDL/OpenGL code
Message-ID:  <200912230848.28193.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>
In-Reply-To: <200912221736.20023.macerl@telkomsa.net>
References:  <200912221736.20023.macerl@telkomsa.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 22 December 2009 06:36:19 Richard Mace wrote:

> So, it appears that there is some conflict between the mesa libraries
>  (which I need to #include to build the code) and the NVIDIA-supplied
>  libraries, or am I on the wrong track?
> 
> Can anyone shed some light on this? I've spent quite some time on what
>  first appeared to be a fairly trivial task and I am eager to see how this
>  runs under FreeBSD.

If you want to run any OpenGL code with nvidia-driver you will need to 
reinstall the driver after every:
- kernel update
- update of x11-servers/xorg-server
- update of graphics/libGL*

There may be exceptions, but they're not worth figuring out or remembering.

In your case you may actually have a problem with math code in libm.so.3 vs 
libm.so.5, but I doubt it's the case as no OpenGL app that I encountered has 
one.
-- 
Mel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912230848.28193.mel.flynn%2Bfbsd.questions>