Sign in Join

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

Mailing lists / fpc-pascal / 2002-12

Sockets in Linux...

4 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

James Coyle

Greetings...

Is there source code included in FPC for Linux that is just a basic definition of socket calls in Linux? Something that would be similar to Winsock.pp under Windows? I am looking into porting some of my client/server classes over to Free Pascal for Linux.

Thanks for any help

Reply by email

Sebastian Günther
to Holger Peters
Hi, I tried to compile the example gtkgldemo.pp but unfortunately there I receive an error: "Fatal: Can't compile unit GTKGLAREA, no sources available"

you either need to have this unit installed, or the source in the same directory (or source path). In CVS, gtkglarea.pp is in the same directory as gtkgldemo.pp.
BTW, you have to remove the InitGL call, to get the example working with the new OpenGL units.

Do I need a special dll?

at least on Linux gtkglarea-dev (or similar) must be installed. I'm not sure about Win32, GTK on Win32 is somewhat confusing IMHO (there are different DLLs with different naming schemes, etc...)

- Sebastian

Reply by email

Marco van de Voort
to Sebastian Günther
Show quoted text 5 lines
> Do I need a special dll? at least on Linux gtkglarea-dev (or similar) must be installed. I'm not sure about Win32, GTK on Win32 is somewhat confusing IMHO (there are different DLLs with different naming schemes, etc...)

For FreeBSD it is /usr/ports/x11-toolkits/gtkglarea (or gtkglarea-- ?)

Reply by email