[Patch] components/macfiles/examples/createmacapplication.lpr
- Lazarus/FPC Version: Lazarus 2.2.0 (rev Unknown) FPC 3.3.1 aarch64-darwin-cocoa
- Operating System: macOS
- CPU / Bitness: N/A
What happens
Hint: (11030) Start of reading config file /Users/trev/.fpc.cfg
Hint: (11030) Start of reading config file /etc/fpc.cfg
Hint: (11031) End of reading config file /etc/fpc.cfg
Hint: (11031) End of reading config file /Users/trev/.fpc.cfg
Free Pascal Compiler version 3.3.1 [2022/01/07] for aarch64
Copyright (c) 1993-2021 by Florian Klaempfl and others
(1002) Target OS: Darwin for AArch64
(3104) Compiling createmacapplication.lpr
/Users/trev/laz_trunk/components/macfiles/examples/createmacapplication.lpr(44,47) Error: (5000) Identifier not found "ExtractFileNameOnly"
/Users/trev/laz_trunk/components/macfiles/examples/createmacapplication.lpr(66) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /usr/local/bin/ppca64 returned an error exitcode
What did you expect
The application would compile.
Steps to reproduce
Open /Applications/Lazarus/components/macfiles/examples/createmacapplication.lpr in the Lazarus IDE. Compile.
Patch
Change "FileUtil" in the createmacapplication.lpi Uses clause to "LazFileUtils"
Edited by Trevor Roydhouse