For fun, just installed Free Pascal<\/a>, the GDB debugger<\/a> and Lazarus 1.6.0<\/a> onto my Mac.<\/p>\n 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<\/a>.<\/p>\n 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<\/a>. Following Neil\u2019s steps, GDB was installed at \/usr\/local\/Cellar\/gdb\/7.10.1\/bin\/gdb.<\/p>\n 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.<\/p>\n <\/a> <\/p>\n The solution: go to the Lazarus menu item Tools<\/strong> and select Rescan FPC Source Directory<\/strong>.<\/p>\n Making native OS X applications in now fun (and free).<\/p>\n <\/a><\/p>\n","protected":false},"excerpt":{"rendered":" For fun, just installed Free Pascal, the GDB debugger and Lazarus 1.6.0 onto my Mac. 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 […]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/offeman.com\/wp-json\/wp\/v2\/posts\/450"}],"collection":[{"href":"https:\/\/offeman.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/offeman.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/offeman.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/offeman.com\/wp-json\/wp\/v2\/comments?post=450"}],"version-history":[{"count":1,"href":"https:\/\/offeman.com\/wp-json\/wp\/v2\/posts\/450\/revisions"}],"predecessor-version":[{"id":451,"href":"https:\/\/offeman.com\/wp-json\/wp\/v2\/posts\/450\/revisions\/451"}],"wp:attachment":[{"href":"https:\/\/offeman.com\/wp-json\/wp\/v2\/media?parent=450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/offeman.com\/wp-json\/wp\/v2\/categories?post=450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/offeman.com\/wp-json\/wp\/v2\/tags?post=450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}