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
Question Pinebook pro dead / keyboard issue? / Troubleshooting Mengalef 2 363 12-05-2024, 04:16 PM
Last Post: tllim
  Testing Some More Games on the Pinebook Pro! ImmyChan 5 3,943 09-24-2024, 01:43 AM
Last Post: pigkang
  Converting the Pinebook Pro into a CrowView Note like device 8jef 0 349 08-18-2024, 05:42 PM
Last Post: 8jef
  Pinebook Pro Initial Impressions kunger 443 685,174 04-16-2024, 07:29 PM
Last Post: KC9UDX
  looking to buy one pinebook pro (mainland China) duanduan 3 3,280 03-21-2024, 07:44 PM
Last Post: wangyukunshan
  Cellular module for Pinebook Pro Lotech 1 1,049 03-05-2024, 05:40 AM
Last Post: KC9UDX
  Screen on pinebook stays black but can ssh into machine tuxxpine 0 754 02-23-2024, 04:22 PM
Last Post: tuxxpine
  Sale my ANSI PineBook Pro cuthbertdavies 0 740 02-14-2024, 09:12 PM
Last Post: cuthbertdavies
  Compiling with -j6 on the Pinebook Pro (Overheat) KC9UDX 0 666 02-14-2024, 09:01 AM
Last Post: KC9UDX
  Manjaro versions bad and good gilwood 0 726 02-12-2024, 05:03 PM
Last Post: gilwood

Forum Jump:


Users browsing this thread: 33 Guest(s)