[lazarus] opengl as requirement

Marco van de Voort marcov at stack.nl
Mon Aug 25 11:55:20 EDT 2003


> > 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
 






More information about the Lazarus mailing list