[fpc-pascal] Can't compile unit GTKGLAREA, no sources available

Sebastian G√ľnther sguenther at gmx.de
Sun Dec 29 19:54:53 CET 2002


Holger Peters schrieb:
> 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





More information about the fpc-pascal mailing list