Results 1 to 4 of 4

Thread: Can't find X.pas

  1. #1

    Can't find X.pas

    So I have a little netbook running Ubuntu Netbook Edition, and to save space I only installed FPC. When I try to compile one of the miku examples, it says that it cannot find unit X used by zgl_main. I tried installing the fpc sources, but didn't have any luck there either. Google has been absolutely worthless (it was treating unit, x, and fpc all as different search terms. I was mostly getting results like SomeRandomUnit on Mac OS X *sigh*)

    ZenGL apps compiled on a different computer still run great on this though

    quick edit: fpc 2.2.4-3 is what I'm using, zengl .2 rc 5

  2. #2
    X or x?

    x should be in units/X11/ if you have downloaded fp-packages too. The old fpc(2.2.4 is really old ) distribution on Ubuntu had it split up in all those fp-* things
    Peregrinus, expectavi pedes meos in cymbalis
    Nullus norvegicorum sole urinat

  3. #3
    Hm, did you install all this packages?
    fp-compiler, fp-docs, fp-ide, fp-units-base, fp-units-db, fp-units-fcl, fp-units-fv, fp-units-gfx, fp-units-gnome1, fp-units-gtk, fp-units-gtk2, fp-units-i386, fp-units-math, fp-units-misc, fp-units-multimedia, fp-units-net, fp-units-rtl, fp-utils
    I think you have some problem with your fpc.cfg, or there is no x.ppu in $path_to_freepascal/$version/units/i386-linux/x11/

  4. #4
    Ahh, yeah I was missing a few of those packages. Works like a charm now Been a bit busy lately, so sorry I'm a little slow.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •