gbdk-2020/GBTD_GBMB

Can't find unit gbConst used by GBTDMain when trying to compile on macOS

elementzero23 opened this issue · 1 comments

I cloned the repo and tried to compile GBTD with fpc GBTDMain.pas but I got this output:

Free Pascal Compiler version 3.2.0 [2020/05/31] for x86_64
Copyright (c) 1993-2020 by Florian Klaempfl and others
Target OS: Darwin for x86_64
Compiling GBTDMain.pas
GBTDMain.pas(5,33) Fatal: Can't find unit gbConst used by GBTDMain
Fatal: Compilation aborted
Error: /usr/local/bin/ppcx64 returned an error exitcode

Any ideas on this?

I'm on macOS 11.2.2

you can not compile it with anything else than delphi5 for win32. you should rewrite almost all the program to make it cross-platform.