Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native)
Ok, screw converting packages, i made progress on building the game on manjaro as I found out installing free pascal compiler is really easy but now I'm getting this error during compilation:

Code:
$ sudo make install
Scanning dependencies of target physlayer
[  0%] Building C object misc/libphyslayer/CMakeFiles/physlayer.dir/physfscompat.c.o
[  0%] Building C object misc/libphyslayer/CMakeFiles/physlayer.dir/physfsrwops.c.o
In file included from /home/idaho/hg/hedgewars/trunk/misc/libphyslayer/physfsrwops.c:25:
/home/idaho/hg/hedgewars/trunk/misc/libphyslayer/physfsrwops.h:28:10: fatal error: SDL.h: No such file or directory
  28 | #include "SDL.h"
      |          ^~~~~~~
compilation terminated.
make[2]: *** [misc/libphyslayer/CMakeFiles/physlayer.dir/build.make:95: misc/libphyslayer/CMakeFiles/physlayer.dir/physfsrwops.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3048: misc/libphyslayer/CMakeFiles/physlayer.dir/all] Error 2
make: *** [Makefile:182: all] Error 2

The compilation script seems to be looking for a file that isn't synched by the git repo... or that's what i understand of it at least... Sad If you guys have any ideas it'd be helpful...

Edit:
It seems the git version is just scrwed up, the compilation process goes further than this when I use the version from the mercurial repo but I still get a crash


Code:
uWorld.pas(2282) Error: Error while assembling exitcode 1
uWorld.pas(2282) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted
Error: /usr/bin/ppca64 returned an error exitcode
make[2]: *** [hedgewars/CMakeFiles/hwengine.dir/build.make:149: hedgewars/CMakeFiles/hwengine.dir/hwengine.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3076: hedgewars/CMakeFiles/hwengine.dir/all] Error 2
make: *** [Makefile:182: all] Error 2

Edit: had a talk with the guys over the hedgewars irc and it might be a compiler issue, I'll try again later with an older version of fpc...
  Reply


Messages In This Thread
RE: Games compilation howto on the Pinebook-pro (Manjaro Linux and Debian native) - by Idaho - 12-15-2020, 11:49 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinebook Pro for sale rfm83 0 351 11-08-2025, 09:22 AM
Last Post: rfm83
  Pinebook pro bricked? michaelmoua 3 4,839 10-23-2025, 10:06 AM
Last Post: jceaser
Question Full desktop Surfing and Absolute Privacy on the pinebook? Www 1 6,857 08-02-2025, 08:55 PM
Last Post: KC9UDX
  Pinebook problem meghancordo 1 4,163 07-24-2025, 07:28 AM
Last Post: mikehenson
Question Printing and scanning documents with pinebook? Www 0 3,730 06-28-2025, 01:25 AM
Last Post: Www
  Pinebook Pro in EU for Sale - €90 jan_vdk 4 7,104 06-19-2025, 02:14 AM
Last Post: shelfaberrant
  Use SD to install new OS over pinebook debian Rudy558 10 23,650 03-09-2025, 11:17 AM
Last Post: davisthomas
  Problem: Wi-Fi Connectivity Issues on Pinebook Pro markwood00 1 4,706 02-05-2025, 03:56 AM
Last Post: waylonwesley
  Pinebook Next !spekulation! Surehand53 2 5,609 01-23-2025, 11:49 AM
Last Post: Surehand53
  Pinebook Pro wants a PIN for my bluetooth mouse ColoBill 1 4,215 01-19-2025, 04:38 PM
Last Post: ColoBill

Forum Jump:


Users browsing this thread: 3 Guest(s)