Recent

Author Topic: Lazarus 3.4  (Read 4265 times)

zlib

  • Newbie
  • Posts: 1
Lazarus 3.4
« on: June 15, 2024, 02:18:09 am »
I have MacBook Pro on Apple Silicon under macOS Sonoma 14.5 and I have installed Lazarus from here (all 3 packages): https://sourceforge.net/projects/lazarus/files/Lazarus%20macOS%20x86-64/Lazarus%203.4/

Xcode tools were already installed.

Lazarus starts normally, but when I try to run any project I get 1 warning and 1 error:

Code: Text  [Select][+][-]
  1. Warning: ld: warning: -multiply_defined is obsolete
  2. Error: -macosx_version_min has been renamed to -macos_version_min

'About' screen says I have x86_64 version.
What should I do?

dbannon

  • Hero Member
  • *****
  • Posts: 3156
    • tomboy-ng, a rewrite of the classic Tomboy
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

reinhardt1053

  • New Member
  • *
  • Posts: 14
    • encompass
Re: Lazarus 3.4
« Reply #2 on: August 17, 2024, 04:50:30 pm »


https://forum.lazarus.freepascal.org/index.php/topic,65153.msg501811.html#msg501811

D

I tried the suggestions on this post but it did not solve my issue, Lazarus still report the error
Error: -macosx_version_min has been renamed to -macos_version_min

Lazarus 3.4
FPC 3.2.2
x86_64-darwin-cocoa
MacOs Sonoma 14
XCode 15.0.1

VTwin

  • Hero Member
  • *****
  • Posts: 1224
  • Former Turbo Pascal 3 user
Re: Lazarus 3.4
« Reply #3 on: August 17, 2024, 05:56:17 pm »
Just confirming the error. Searching the forum shows other reports, but has not provided a solution. The error does not seem to prevent applications from running however.
« Last Edit: August 17, 2024, 06:00:08 pm by VTwin »
“Talk is cheap. Show me the code.” -Linus Torvalds

Free Pascal Compiler 3.2.2
macOS 14.5: Lazarus 3.4 (64 bit Cocoa M1)
Ubuntu 18.04.3: Lazarus 3.4 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 3.4 (64 bit on VBox)

VTwin

  • Hero Member
  • *****
  • Posts: 1224
  • Former Turbo Pascal 3 user
“Talk is cheap. Show me the code.” -Linus Torvalds

Free Pascal Compiler 3.2.2
macOS 14.5: Lazarus 3.4 (64 bit Cocoa M1)
Ubuntu 18.04.3: Lazarus 3.4 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 3.4 (64 bit on VBox)

reinhardt1053

  • New Member
  • *
  • Posts: 14
    • encompass
Re: Lazarus 3.4
« Reply #5 on: August 18, 2024, 06:15:56 pm »
Thank you, I checked that post but unfortunately I wasn't able to get rid of the error message.

dbannon

  • Hero Member
  • *****
  • Posts: 3156
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Lazarus 3.4
« Reply #6 on: August 19, 2024, 02:27:32 am »
Thank you, I checked that post but unfortunately I wasn't able to get rid of the error message.

The link that VTwin posted (which, incidently is the same thread I linked to near the top of the thread) suggests a couple of solutions and address a couple of different initial install models.  Could you please tell us a bit more about your installation -

  • How did you install XCode ? Specifically, did you install all of XCode or just the XCode Command Line Tools ?
  • How did you install FPC ? Specifically, is it from Brew (etc) or a prebuilt binary package with Mac installer or did you install from a FPC Tarball ?
  • Similarly, how did you install Lazarus


I cannot replicate your experience because I have an older Mac and see no problems.  But if, as suspected, its a recent change by Apple, that would be expected. But given that, for the record, I install ONLY the xcode command line tools, FPC from a tarball and I always build Lazarus from source.

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

 

TinyPortal © 2005-2018