Recent

Author Topic: (Move2 macOS group sorr) cannot even compile a sample program and simple program  (Read 211 times)

dng8888g

  • New Member
  • *
  • Posts: 10
Just start it and there is a sample program (project1 with form1).  Compile and give me a lot of error message:

Quote
Error: -macosx_version_min has been renamed to -macos_version_min

This is key I assume out of many; as I write a simple program per this tutorial

https://youtu.be/7qv4zqyG9jw?si=ypG_FW5Dxn7valPa&t=569i.e. the following code:

Code: Pascal  [Select][+][-]
  1.  
  2. program project2;
  3.  
  4. var
  5.   myname : string;
  6.  
  7. begin
  8.  
  9.   Write('Enter your name: ');
  10.   Readln(myname);
  11.   Writeln('Hello, ', myname);
  12.   Readln;
  13.  
  14. end.
  15.  
  16.  

Quote
Compile Project, Target: /Users/xxxxxx/Documents/Github/yyyyyyyy/_lazarus_tp_test2/project2: Success, Errors: 1, Warnings: 1
Warning: ld: warning: -multiply_defined is obsolete
Error: -macosx_version_min has been renamed to -macos_version_min

The MacOS X to macOS is long time ago.  I suspect I might have an easier version and hence at least delete all under ./lazarus and retype the code.  Still error.  Not sure how to proceed. 

Is there some setting I need to change perhaps?
« Last Edit: October 12, 2024, 10:50:47 am by dng8888g »

 

TinyPortal © 2005-2018