Lazarus
Installation => macOS / Mac OS X => Topic started by: carl_caulkett on December 05, 2018, 05:00:41 pm
-
macOS 10.14.1 Mojave
Lazarus v2.0.0RC2
FPC 2.0.4
Hello, after a gap of a few months I've just tried to upgrade my copy of Lazarus to v2.0.0RC2. I've just tried to rebuild my IDE, but I'm getting the following message...
Any ideas what the problem might be?
I should point out that I have updated Xcode to Version 10.1 (10B61) in the last couple of days to enable my latest version of Golang to be installed. I would be most displeased if this move meant that Lazarus wouldn't operate properly.
-
You need to upgrade to FPC 3.0.4a.
-
I sorted out the problem by a series of steps...
1. I uninstalled Xcode completely.
2. I reinstalled Xcode from the AppStore
3. I ran `sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/crt1.10.5.o /usr/lib/crt1.10.5.o` from the command line.
4. I ran `sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/crt1.o /usr/lib/crt1.o` from the command line.
5. I used `fpc hello.pas` where `hello.pas` contained just
begin
writeln('hello');
end.
to confirm that steps 3 and 4 worked.
6. I rebuilt the IDE using `Tools -> Build Lazarus with Profile: Normal IDE`
7. Breathed huge sigh of relief when all of my previous installed packages and IDE changes were restored!
Big thanks to @laguna who provided the forum post which provided step 3 and from which I was able to suss out step 4.
-
You need to upgrade to FPC 3.0.4a.
Interesting. Would that remove the need for the steps that I described in my previous post?
-
You need to upgrade to FPC 3.0.4a.
Interesting. Would that remove the need for the steps that I described in my previous post?
Yes.
-
You need to upgrade to FPC 3.0.4a.
Interesting. Would that remove the need for the steps that I described in my previous post?
Yes.
I'm assuming the download of FPC at https://sourceforge.net/projects/lazarus/files/Lazarus%20Mac%20OS%20X%20i386/Lazarus%202.0RC2/ is the one to go for, though there's nothing to indicate that it's 3.0.4a as opposed to plain old 3.0.4...
-
...
You can find it here: https://www.freepascal.org/down/i386/macosx-hungary.var