Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-08

opengl as requirement

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Lord Satan
to Marco van de Voort: I'm creating a small lazarus distro for a friend, and came upon a problem. FPC 1.0.10 for…
Show quoted text 11 lines
I'm creating a small lazarus distro for a friend, and came upon a problem. FPC 1.0.10 for FreeBSD has a small glitch in the Opengl unit, which is simple to fix, but annoying for end users to deal with. (need to post 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. But Mattias should know better, perhaps something wrong with the dependencies. And btw the whole fpc support for OpenGL has a 'small' glitch.

Reply by email

Mattias Gaertner
to Mattias Gaertner: On Mon, 25 Aug 2003 01:57:05 +0200 Right. Marco, if there are problems with GTKOpenGL…
Show quoted text 32 lines
> > 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

Reply by email

Marco van de Voort

I'm creating a small lazarus distro for a friend, and came upon a problem.

FPC 1.0.10 for FreeBSD has a small glitch in the Opengl unit, which is simple to fix, but annoying for end users to deal with. (need to post 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?

Reply by email

Mattias Gaertner
to Marco van de Voort
Show quoted text 18 lines
On Sun, 24 Aug 2003 16:53:17 +0200 (CEST) (Marco van de Voort) wrote: > > I'm creating a small lazarus distro for a friend, and came upon a > problem. > > FPC 1.0.10 for FreeBSD has a small glitch in the Opengl unit, which is > simple to fix, but annoying for end users to deal with. (need to post > 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.

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.

And btw the whole fpc support for OpenGL has a 'small' glitch.

Mattias

Reply by email

Marco van de Voort
to Mattias Gaertner
Show quoted text 12 lines
> 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.

Show quoted text 5 lines
> 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

Reply by email