[lazarus] opengl as requirement

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Aug 25 12:30:31 EDT 2003


On Mon, 25 Aug 2003 17:54:49 +0200 (CEST)
marcov at stack.nl (Marco van de Voort) wrote:

> > > On Sun, 24 Aug 2003 16:53:17 +0200 (CEST)
> > > > edit link.res)
> > > > 
> > > > However I'm wondering what the Opengl unit is exactly needed for.
> > > > 
> > > > Do components use it, or is it only a Lazarus IDE requirement?
> > > > 
> > > Only the GTKOpenGL package uses it. There are no more components I am
> > > aware of that make use of OpenGL and I am sure that the IDE does not
> > > need it.
>  
> > Right.
> 
> Ok. Then I avoid the fix for now. 
>  
> > > But Mattias should know better, perhaps something wrong with the
> > > dependencies.
> > 
> > Marco, if there are problems with GTKOpenGL under FreeBSD, we can add a
> > notice to the README.
> 
> Yes, it is very simple. 
> 
> In file dllfuncs.pp all external functions link to lib dl.
> 
> These functions are in libc under *BSD, so should read
> external lib "c" for FreeBSD. If you don't, building lazarus will bomb
> out with a "can't find lib -ldl" error while linking.
> 
> Fixed compiled units working with 1.0.10 are in
> 
> http://www.stack.nl/~marcov/openglfreebsd.tar.gz

I added the note to the README.


Mattias






More information about the Lazarus mailing list