PDA

View Full Version : Can't find unit libc



Ñuño Martínez
26-01-2009, 08:12 PM
System: Xubuntu 8.04.1
Compiler/IDE: Lazarus 0.9.26 beta + FPC 2.2.2
Libraries/API: GLScene 1.0.0.2

I'm trying to install GLScenen 1.0.0.2 but I have this compiler error:

/usr/lib/lazarus/components/glscene/Source/platform/glcrossplatform.pas(1,1) Fatal: Can't find unit libc used by GLCrossPlatform
I find a fix on Internet but it said that Lazarus 0.9.26 *must* fix it. Have no idea about what package or compiler option I need. :(

Thanks.

Ñuño Martínez
27-01-2009, 08:02 PM
I've found a package for Kylix compatibility. I've installed that package and now it worked.

Fixed.

jdarling
28-01-2009, 12:50 AM
Share the love, and tell us all where you found the compat lib :)

Ñuño Martínez
28-01-2009, 09:27 AM
As usual, I was looking for other thing, but I found a package named "fp-units-i386" whith this description:

Free Pascal specific units for the i386 architecture:
- libc: used for compatibility with kylix, deprecated. I installed it and recompiled the GLScene package. Also I made other fixes explained in Lazarus' wiki.