Page 1 of 1

Apple Silicon

Posted: Sun Mar 19, 2023 12:41 am
by LexGary1

Greetings,
We are developing an astronomical plasma simulation code, Cloudy, in a university environment. Like much of US astronomy, we are Mac oriented. We have several Macs of various ages, including Intel and Apple Silicon. The CodeLite instructions for installing with brew work brilliantly for Intel Silicon.
On Apple Silicon, we get the following. This happens on all M2 machines (we have no M1).
Thanks for any pointers and for what looks to be a great IDE.
Gary

Code: Select all

Process:               codelite [83868]
Path:                  /Applications/codelite.app/Contents/MacOS/CodeLite
Identifier:            codelite
Version:               ???
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2023-03-18 16:37:54.4003 -0400
OS Version:            macOS 13.2.1 (22D68)
Report Version:        12
Anonymous UUID:        2A805C64-869B-A02A-4542-09B0848E22F8

Sleep/Wake UUID:       C479F0E2-FD14-4134-ACBE-E2504070409A

Time Awake Since Boot: 100000 seconds
Time Since Wake:       1623 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Termination Reason:    Namespace DYLD, Code 1 Library missing
Library not loaded: /opt/homebrew/*/libjpeg.8.dylib
Referenced from: <FA381AE2-CE78-32CB-9B8F-2353672E8AD2> /Applications/codelite.app/Contents/MacOS/libtiff.5.dylib
Reason: tried: '/opt/homebrew/*/libjpeg.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/*/libjpeg.8.dylib' (no such file), '/opt/homebrew/*/libjpeg.8.dylib' (no such file), '/usr/local/lib/libjpeg.8.dylib' (no such file), '/usr/lib/libjpeg.8.dylib' (no such file, not in dyld cache)
(terminated at launch; ignore backtrace)

Thread 0 Crashed:
0   dyld                          	       0x18ffab190 __abort_with_payload + 8
1   dyld                          	       0x18ffb5a00 abort_with_payload_wrapper_internal + 104
2   dyld                          	       0x18ffb5a34 abort_with_payload + 16
3   dyld                          	       0x18ff440a4 dyld4::halt(char const*) + 328
4   dyld                          	       0x18ff41098 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 4204
5   dyld                          	       0x18ff3fdc4 start + 2404

Re: Apple Silicon

Posted: Thu Mar 23, 2023 10:04 am
by eranif

This was fixed.
https://github.com/eranif/codelite/issu ... 1477589909

Code: Select all

brew update
brew reinstall --cask codelite-official

Re: Apple Silicon

Posted: Thu Mar 23, 2023 5:51 pm
by LexGary1

Beautiful! Codelite is appily running on my M2