* * *

Author Topic: FreePascal on macOS 10.14 Mojave doesn't work  (Read 1741 times)

Hansaplast

  • Sr. Member
  • ****
  • Posts: 421
  • Tweaking4All.com
    • Tweaking4All
Re: FreePascal on macOS 10.14 Mojave doesn't work
« Reply #15 on: September 30, 2018, 11:27:39 am »
With Frank's instructions I did finally get FPC installed (install Commandline tools 10.13, rename /Library/Developer/ComandLineTools to /Library/Developer/ComandLineTools-10.13, instal;l commandline tools 10.14, install FPC, edit /etc/fpc.cfg)

slicke

  • New member
  • *
  • Posts: 6
Re: FreePascal on macOS 10.14 Mojave doesn't work
« Reply #16 on: September 30, 2018, 03:30:17 pm »
I found a repo on github with old repos and got the SDK from
https://github.com/phracker/MacOSX-SDKs/tree/master/MacOSX10.13.sdk

Used SVN to just get 10.13
svn export https://github.com/phracker/MacOSX-SDKs/trunk/MacOSX10.13.sdk MacOSX10.13.sdk :)

Hansaplast

  • Sr. Member
  • ****
  • Posts: 421
  • Tweaking4All.com
    • Tweaking4All
Re: FreePascal on macOS 10.14 Mojave doesn't work
« Reply #17 on: September 30, 2018, 03:43:20 pm »
I found a repo on github with old repos and got the SDK from
https://github.com/phracker/MacOSX-SDKs/tree/master/MacOSX10.13.sdk


Nice find!
Did you try this in Mojave and did Object Inspector and selecting controls on a form work correctly?
(I'm just wondering if the commandline tools somehow is interfering)

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 580
Re: FreePascal on macOS 10.14 Mojave doesn't work
« Reply #18 on: September 30, 2018, 07:36:17 pm »
I have uploaded a new installer for FPC 3.0.4 (called FPC 3.0.4a) that will install on macOS 10.14. The compiler has not changed, only the installer and the default fpc.cfg file (and fpcmkcfg, the program that generated the fpc.cfg file).

Note that the generated fpc.cfg file is different depending on whether you install on macOS 10.14 or on a lower version, because it is not possible to make parts of the configuration file conditional on the macOS version. You will have to rerun the installer on macOS 10.14 if you update later to get the new configuration file (or manually specify the appropriate -XR/-Fl parameters).

Hansaplast

  • Sr. Member
  • ****
  • Posts: 421
  • Tweaking4All.com
    • Tweaking4All
Re: FreePascal on macOS 10.14 Mojave doesn't work
« Reply #19 on: September 30, 2018, 10:57:14 pm »
Thanks Jonas!  :)

luri

  • New member
  • *
  • Posts: 5
Re: FreePascal on macOS 10.14 Mojave doesn't work
« Reply #20 on: October 01, 2018, 01:57:04 am »
just my summary in medium
https://medium.com/@luridarmawan/tips-mengatasi-problem-lazarus-di-mojave-688d42a20820

Sorry, in Indonesian, not in english.

*running with: fpc 3.0.4, Lazarus 1.8.4 and Lazarus 2.1.0 (trunk)

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus