Author Topic: Problem compiling GH2 on 64bit Ubuntu  (Read 325 times)

Offline Bob OH

  • Green Pilot
  • *
  • Posts: 1
    • View Profile
Problem compiling GH2 on 64bit Ubuntu
« on: May 28, 2012, 11:04:53 am »
I just tried to compile Gearhead on my laptop, running 64 bit Ubuntu 12.04. But I get this error message:

bohara@bohara-laptop:~/Downloads/GH2$ ppcx64 gearhead
Free Pascal Compiler version 2.4.4-3.1 [2012/01/04] for x86_64
Copyright (c) 1993-2010 by Florian Klaempfl
Target OS: Linux for x86-64
Compiling gearhead
gearhead(1,1) Fatal: illegal character "''" ($7F)
gearhead(1,1) Fatal: Compilation aborted


Any suggestions for what to try? ppcx64 is the 64 bit version of ppc386, so I assume that's OK to use.

Offline Daemonward

  • Elite
  • ****
  • Posts: 273
    • View Profile
Re: Problem compiling GH2 on 64bit Ubuntu
« Reply #1 on: May 28, 2012, 03:05:10 pm »
Have you tried following the instructions on the GHWiki: http://gearheadrpg.com/wiki/index.php?title=Guides:How_to_compile_GearHead#Compiling__GearHead_2

You could try using the Free Pascal Compiler (fpc). I'm pretty sure that it just calls whatever version of ppc is appropriate, but it might make a difference. I'm still on Ubuntu 11.10 64-bit though, so I can't rule out regressions in newer versions of ppc as a possibility. Did you download and extract the image pack to the GH2 directory?

That error message looks like maybe an odd character got into the source files. Maybe you should delete what you've got, extract a fresh copy of the source files from the zip archives, and try again?