Results 1 to 8 of 8

Thread: Compiling on Rasperry Pi

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Ok,
    For everything I have done so far, and for compiling your examples, fpc source.pas -ap has worked fine.
    I installed fpc with sudo apt-get install fpc. It took about fifteen minutes I think.
    (I then tried to install Lazarus the same way, but I accidentally cut the power during the install (it had already taken about 30 minutes). I tried tons of removes and reinstalls, and once I got it to start, but it came up with loads of missing package files. Since, I haven't even been able to open it and have more or less given up.)
    Back to allegro.pas ...
    I installed allegro with a sudo apt-get install allegro . I then downloaded the allegro.pas file and extracted it to my folder. For some reason the fix.sh script did not work, so I had to manually add target.os, which I wrote TARGET=linux in (I might have got the caps wrong ... I will check later.)
    EDIT: yep, i got the caps wrong, I actually had target=LINUX in the target.os file.
    Anyway, after adding the target.os file, the make command ran fine.
    to be continued... gtg
    Last edited by 3Shrike3; 20-02-2013 at 10:12 PM.

Tags for this Thread

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
  •