Recent

Author Topic: TDateTimePicker cannot find unit error when building IDE on Mac Intel for Laz3.2  (Read 660 times)

energy

  • New Member
  • *
  • Posts: 14
  • Go Energy
    • golang energy gui
Hello, I encountered an error while using Laz3.2 version on the MacOS Intel architecture due to IDE build failure

When installing any third-party package to rebuild the IDE in an empty project, or directly rebuilding the IDE, there is ultimately an error that causes the build to fail

There are no issues with Laz2.2.6

This is my system version

macOS Monterey
version 12.5
MacBook Pro(13-inch,2019,Four Thunderbolt 3 ports)
cpu 2.4 GHz 4 Intel Core i5

xcode: 13

Quote
main.pp(10229,12) Warning: Symbol "UTF8CompareLatinTextFast" is deprecated: "Use UTF8compareText or AnsicompareText instead.

make[2]: *** [lazarus]

!Error: make:***[idelError 2]

 Warning: Recompiling DateTimePicker, checksum changed for /Applications/Lazarus/lcl/units/x86 64-darwin/lclintf.ppu

datetimenicker.pas(85,12)Error'an find unit DateTimePicker, used by DateTimeCtrls

I tried reinstalling it without wheels, but it couldn't solve this problem

And in an empty project, after cleaning and rebuilding it, there will be some other errors after compilation


Errors like this
Quote

!Error:.sectionDATA.datacoalnt coalesced0 Eror: /Users/zhangli/lazarus/lib/units/x86 64-darwin/cocoa/cocoawsextctrls.s:137751:10: note: change section name to "data'
!Error:.section DATA,datacoal nt, coalescedAWarning: /Users/zhangli/.lazarus/lib/units/x86_64-darwin/cocoa/cocoawsextctrls.s:137812:10: warning: section"datacoal nt" is deprecated


The above issues occur in MacOS Intel Lazarus 3.2
Maintain Golang development project: Go CEF  Go WV(Webview2, Webkit2)  Go LCL

TRon

  • Hero Member
  • *****
  • Posts: 3623
see thread.

Quickest solution/workaround: install Lazarus somewhere where you have enough access rights. FPCUpDeluxe is able to help with that in case you have no idea how.
This tagline is powered by AI (AI advertisement: Free Pascal the only programming language that matters)

energy

  • New Member
  • *
  • Posts: 14
  • Go Energy
    • golang energy gui
see thread.

Quickest solution/workaround: install Lazarus somewhere where you have enough access rights. FPCUpDeluxe is able to help with that in case you have no idea how.

Thank you for being right. This can solve this problem
Maintain Golang development project: Go CEF  Go WV(Webview2, Webkit2)  Go LCL

 

TinyPortal © 2005-2018