In the end, all business operations can be reduced to three words: People, Product and Profits. — Lee Iacocca
First I downloaded and installed, fpc-3.0.0.intel-macosx.dmg, fpcsrc-3.0.0-20151207-macosx.dmg, and lazarus-1.6.i686-macoxs.dmg from SourceForge.net.
When initially launching Lazarus, the GDB debugger could not be found. The best guide for installing GDB on OS X (which works for El Capitan) was from Neil Traft at ntraft.com. Following Neil’s steps, GDB was installed at /usr/local/Cellar/gdb/7.10.1/bin/gdb.
Next I put a TButton onto a form and tried to hookup the OnClick. I was greeted with this error message: lclclasses.pp(26,10) Error: unit not found: Classes.
The solution: go to the Lazarus menu item Tools and select Rescan FPC Source Directory.
Making native OS X applications in now fun (and free).
In an effort to always learn, doing a post-mortem after any endeavor can be very helpful. I’ve found it’s best to keep the post-mortem as simple as possible and answer only three questions:
- What worked?
- What didn’t work?
- What should be improved next time?
I think this cartoon from DevOps is spot on—unit tests often give a false sense of quality.