Hello community:
I'm on MacBook ARM M2 and trying to compile a simple program.
This is the command line:
fpc -B -O2 -FEbin -Mdelphi -Fusrc/fpcunits src/ti99.pas -obin/emul99 -k-lgtk-3 -k-lcairo -k-lglib-2.0
I'm getting a GTK3 library not found issue.
Assembling ti99
Linking bin/emul99
ld: warning: -multiply_defined is obsolete
-macosx_version_min has been renamed to -macos_version_min
ld: library 'gtk-3' not found
An error occurred while linking
ti99.pas(310,31) Error: Error while linking
ti99.pas(310,31) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: /opt/homebrew/bin/ppca64 returned an error exitcode
GTK3 has bee installed via brew install gtk+3 pygobject3
Please advise and thanks in advance.