Test of RawTherapee on MacOS 11.1 Big Sur

For those who have upgraded or purchased MacOS 11.1 Big Sur, there is a new build of RawTherapee dev branch. Please test and report any problems or general successes. If you think you have narrowed down a bug to RawTherapee (not just a packaging error), please search the github issues. https://github.com/Beep6581/RawTherapee/issues

https://kd6kxr.keybase.pub/RawTherapee_OSX_11.2_64_5.8-2711-gb554f52ab.zip

RawTherapee must be installed into /Applications to launch.

3 Likes

Thanks so much for putting your time and effort in this! Everything seems to work fine on my MacBook. Haven’t encountered any problems, but have not used all the tools yet. Mostly getting to know the Local Adjustments tool for now. Amazing piece of software!

Hi, build is working in OS 11.1, however after editing I can not save the file to disk.

When clicking OK in the save window nothings happens (and I did not find any error message). If I put the image in the queue and try to save I get a message “unrepresentable character in conversion input”.

No problem in saving the processing profile. Also no problem in sending the image from RT for further development to darktable.

I can confirm this save issue. Did not notice it, as my standard workflow is to send my edited photo to GIMP for further editing.

Having a look- will try and downgrade gtk3.

1 Like

It seems more basic than gtk or even glib… could this be one of those std::string vs Glib::ustring conversion problems with iconv and the UTF-8 charset? @heckflosse I think you might have helped me with that in the past on a mac issue.

Hi everyone and thanks for this thread.

I hope I’m not getting off topic by too much: I’ve been trying my luck at building and compiling RT-5.8 dev for Big Sur 11.1 on an M1 macbook pro, with the intention of using it on this machine.

As it’s my first build on a macOS machine, I’ve followed the rawpedia page.

Note:

  • I’ve installed homebrew,
  • I seem to have been successful at building (but not sure I used the proper options),
  • I’ve failed afterwards.

I’ve tried to adapt the various paths mentioned in the samples of rawpedia, and I would not be surprised if I’ve made obvious errors.

# once inside RT repo
mkdir build && cd build

export PKG_CONFIG_PATH=/opt/homebrew/Cellar/libffi/3.3_2/lib/pkgconfig:/opt/homebrew/Cellar/expat/2.2.10/lib/pkgconfig && \
cmake  .. -DCMAKE_BUILD_TYPE="release" \
          -DPROC_TARGET_NUMBER="2" \
          -DCACHE_NAME_SUFFIX="5.8-dev" \
          -DCMAKE_C_COMPILER="/opt/homebrew/Cellar/llvm/11.0.0_1/bin/clang" \
          -DCMAKE_CXX_COMPILER="/opt/homebrew/Cellar/llvm/11.0.0_1/bin/clang++" \
          -DWITH_LTO="ON" \
          -DCMAKE_BUILD_TYPE=Release \
          -DOpenMP_C_FLAGS=-fopenmp=libomp \
          -DOpenMP_CXX_FLAGS=-fopenmp=libomp \
          -DOpenMP_C_LIB_NAMES="libomp" \
          -DOpenMP_CXX_LIB_NAMES="libomp" \
          -DOpenMP_libomp_LIBRARY="/opt/homebrew/lib/libomp.dylib" \
          -DOpenMP_CXX_FLAGS="-Wno-pass-failed -Wno-deprecated-register -Xpreprocessor -fopenmp /opt/homebrew/lib/libomp.dylib -I/opt/homebrew/include/" \
          -DOpenMP_CXX_LIB_NAMES="libomp" \
          -DOpenMP_C_FLAGS="-Wno-pass-failed -Wno-deprecated-register -Xpreprocessor -fopenmp /opt/homebrew/lib/libomp.dylib -I/opt/homebrew/include/" \
          -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
          -DCMAKE_EXE_LINKER_FLAGS="-L/opt/homebrew/Cellar/libffi/3.3_2/lib -L/opt/homebrew/lib" \
          -DCMAKE_AR="/opt/homebrew/Cellar/llvm/11.0.0_1/bin/llvm-ar" \
          -DCMAKE_RANLIB="/opt/homebrew/Cellar/llvm/11.0.0_1/bin/llvm-ranlib"
make -j$(sysctl -n hw.ncpu) install
sudo make macosx_bundle

Here’s a screenshot of the terminal and for the sake of search engine optimisation, I also include a few lines in plain text below.

[  3%] Building CXX object rtexif/CMakeFiles/rtexif.dir/rtexif.cc.o
...
clang-11clang-11: : warningwarning: : /opt/homebrew/lib/libomp.dylib: 'linker' input unused [-Wunused-command-line-argument]/opt/homebrew/lib/libomp.dylib: 'linker' input unused [-Wunused-command-line-argument]

clang-11: warning: /opt/homebrew/lib/libomp.dylib: 'linker' input unused [-Wunused-command-line-argument]
clang-11: error: invalid version number in '-mmacosx-version-min='
clang-11: error: the clang compiler does not support '-march=native'
clang-11: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
clang-11: error: invalid version number in '-mmacosx-version-min='
clang-11: warning: /opt/homebrew/lib/libomp.dylib: 'linker' input unused [-Wunused-command-line-argument]
clang-11: error: invalid version number in '-mmacosx-version-min='
clang-11: error: the clang compiler does not support '-march=native'
clang-11: error: the clang compiler does not support '-march=native'
clang-11: error: invalid version number in '-mmacosx-version-min='
clang-11: clang-11: warning: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]include path for libstdc++ headers not found; pass '-stdl
clang-11: error: the clang compiler does not support '-march=native'
clang-11: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
ib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
make[2]: *** [rtexif/CMakeFiles/rtexif.dir/fujiattribs.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [rtexif/CMakeFiles/rtexif.dir/pentaxattribs.cc.o] Error 1
make[2]: *** [rtexif/CMakeFiles/rtexif.dir/canonattribs.cc.o] Error 1
make[2]: *** [rtexif/CMakeFiles/rtexif.dir/panasonicattribs.cc.o] Error 1

Thanks in advance for your help and pointers to obvious documentation I could have missed.

Hmm, I have no access to a mac. But I often build RT with clang on windows and at least can confirm that this works. Though the clang builds are slower than gcc builds…

For your paths, you are using the versioned cellar, instead of the normal /usr/local/ links supplied by brew.
For the errors, you might need a cmake flag -DCMAKE_OSX_DEPLOYMENT_TARGET="11.2" or whatever your system is.
-march=native is not appropriate for llvm-clang. The correct flag for native ARM on llvm-clang would be -mcpu=native. That might need a CMakeLists.txt adjustment. Hope that helps, I will investigate the CMakeLists.txt's compilation flags per proc target number. We might want to add a number for ARM.

Among using homebrew or MacPorts, is there a preferred way?

Well, I don’t have anything under /usr/local.
I use the versioned Cellar paths as these are mentioned in rawpedia, see:

thanks for the heads-up… but I’m not sure where I should set this option. EDIT: found the file ProcessorTargets.cmake. I was able to build and compile, with many warnings. And I suppose the .app I’ve packaged lacks quite a few dependencies. What log files should I provide in order to move forward?

Let us know, pertaining to a CMakeLists.txt update =)

# for reference, my current command lines for building, compiling and packaging
mkdir build && cd build

export PKG_CONFIG_PATH=/opt/homebrew/Cellar/libffi/3.3_2/lib/pkgconfig:/opt/homebrew/Cellar/expat/2.2.10/lib/pkgconfig && \
cmake  .. -DCMAKE_BUILD_TYPE="release" \
          -DCMAKE_OSX_DEPLOYMENT_TARGET="11.1" \
          -DPROC_TARGET_NUMBER="2" \
          -DCACHE_NAME_SUFFIX="5.8-dev" \
          -DCMAKE_C_COMPILER="/opt/homebrew/Cellar/llvm/11.0.0_1/bin/clang" \
          -DCMAKE_CXX_COMPILER="/opt/homebrew/Cellar/llvm/11.0.0_1/bin/clang++" \
          -DWITH_LTO="ON" \
          -DCMAKE_BUILD_TYPE=Release \
          -DOpenMP_C_FLAGS=-fopenmp=libomp \
          -DOpenMP_CXX_FLAGS=-fopenmp=libomp \
          -DOpenMP_C_LIB_NAMES="libomp" \
          -DOpenMP_CXX_LIB_NAMES="libomp" \
          -DOpenMP_libomp_LIBRARY="/opt/homebrew/lib/libomp.dylib" \
          -DOpenMP_CXX_FLAGS="-Wno-pass-failed -Wno-deprecated-register -Xpreprocessor -fopenmp /opt/homebrew/lib/libomp.dylib -I/opt/homebrew/include/" \
          -DOpenMP_CXX_LIB_NAMES="libomp" \
          -DOpenMP_C_FLAGS="-Wno-pass-failed -Wno-deprecated-register -Xpreprocessor -fopenmp /opt/homebrew/lib/libomp.dylib -I/opt/homebrew/include/" \
          -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
          -DCMAKE_EXE_LINKER_FLAGS="-L/opt/homebrew/Cellar/libffi/3.3_2/lib -L/opt/homebrew/lib" \
          -DCMAKE_AR="/opt/homebrew/Cellar/llvm/11.0.0_1/bin/llvm-ar" \
          -DCMAKE_RANLIB="/opt/homebrew/Cellar/llvm/11.0.0_1/bin/llvm-ranlib"
make -j$(sysctl -n hw.ncpu) install
sudo make macosx_bundle

MacPorts is the traditional way, Homebrew came along second. I’ve tried to keep the script compatible with both. Actually the only difference as far as the macos RT packaging script can see is that you port into /opt/local and brew into /usr/local. So the default is for /usr and there is a cmake flag available for /opt to enable macports builds.

1 Like

Just any errors you get or crash reports.

I tried to compile and install RawTherapee on my Mac Mini M1, but the programs crashes instantly when I try to run it.

I used HomeBrew to install the dependencies.

cmake command and its output:

export PKG_CONFIG_PATH=/opt/homebrew/Cellar/libffi/3.3_2/lib/pkgconfig:/opt/homebrew/Cellar/expat/2.2.10/lib/pkgconfig && \
/opt/homebrew/Cellar/cmake/3.19.4/bin/cmake  .. -DCMAKE_BUILD_TYPE="release" \
          -DCMAKE_OSX_DEPLOYMENT_TARGET="11.1" \
          -DPROC_TARGET_NUMBER="1" \
          -DCACHE_NAME_SUFFIX="5.8-dev" \
          -DCMAKE_C_COMPILER="/opt/homebrew/Cellar/llvm/11.0.1/bin/clang" \
          -DCMAKE_CXX_COMPILER="/opt/homebrew/Cellar/llvm/11.0.1/bin/clang++" \
          -DWITH_LTO="ON" \
                -DLENSFUNDBDIR="/Users/sguyader/.local/share/lensfun/updates/version_2" \
          -DCMAKE_BUILD_TYPE=Release \
          -DOpenMP_C_FLAGS="-fopenmp=libomp" \
          -DOpenMP_CXX_FLAGS="-fopenmp=libomp" \
          -DOpenMP_C_LIB_NAMES="libomp" \
          -DOpenMP_CXX_LIB_NAMES="libomp" \
          -DOpenMP_libomp_LIBRARY="/opt/homebrew/lib/libomp.dylib" \
          -DOpenMP_CXX_FLAGS="-Wno-pass-failed -Wno-deprecated-register -Xpreprocessor -fopenmp /opt/homebrew/lib/libomp.dylib -I/opt/homebrew/include/" \
          -DOpenMP_CXX_LIB_NAMES="libomp" \
          -DOpenMP_C_FLAGS="-Wno-pass-failed -Wno-deprecated-register -Xpreprocessor -fopenmp /opt/homebrew/lib/libomp.dylib -I/opt/homebrew/include/" \
          -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
          -DCMAKE_EXE_LINKER_FLAGS="-L/opt/homebrew/Cellar/libffi/3.3_2/lib -L/opt/homebrew/lib" \
          -DCMAKE_AR="/opt/homebrew/Cellar/llvm/11.0.1/bin/llvm-ar" \
          -DCMAKE_RANLIB="/opt/homebrew/Cellar/llvm/11.0.1/bin/llvm-ranlib"
-- The C compiler identification is Clang 11.0.1
-- The CXX compiler identification is Clang 11.0.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/homebrew/Cellar/llvm/11.0.1/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/homebrew/Cellar/llvm/11.0.1/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMAKE_BUILD_TYPE: Release
-- Found PkgConfig: /opt/homebrew/bin/pkg-config (found version "0.29.2") 
-- Checking for module 'gtk+-3.0>=3.16'
--   Found gtk+-3.0, version 3.24.24
-- Checking for module 'gtkmm-3.0>=3.16'
--   Found gtkmm-3.0, version 3.24.3
-- Checking for module 'glib-2.0>=2.48'
--   Found glib-2.0, version 2.66.4
-- Checking for module 'glibmm-2.4>=2.48'
--   Found glibmm-2.4, version 2.66.0
-- Checking for module 'cairomm-1.0'
--   Found cairomm-1.0, version 1.14.2
-- Checking for module 'gio-2.0>=2.48'
--   Found gio-2.0, version 2.66.4
-- Checking for module 'giomm-2.4>=2.48'
--   Found giomm-2.4, version 2.66.0
-- Checking for module 'gthread-2.0>=2.48'
--   Found gthread-2.0, version 2.66.4
-- Checking for module 'gobject-2.0>=2.48'
--   Found gobject-2.0, version 2.66.4
-- Checking for module 'sigc++-2.0>=2.3.1'
--   Found sigc++-2.0, version 2.10.6
-- Checking for module 'lensfun>=0.2'
--   Found lensfun, version 0.3.95.0
-- Checking for module 'librsvg-2.0>=2.40'
--   Found librsvg-2.0, version 2.50.3
-- Checking for module 'lcms2>=2.6'
--   Found lcms2, version 2.11
-- Checking for module 'expat>=2.1'
--   Found expat, version 2.2.10
-- Checking for module 'fftw3f'
--   Found fftw3f, version 3.3.9
-- Checking for module 'libiptcdata'
--   Found libiptcdata, version 1.0.4
-- Checking for module 'libtiff-4>=4.0.4'
--   Found libtiff-4, version 4.2.0
-- Found JPEG: /opt/homebrew/lib/libjpeg.dylib (found version "90") 
-- Found ZLIB: /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/lib/libz.tbd (found version "1.2.11") 
-- Found PNG: /opt/homebrew/lib/libpng.dylib (found version "1.6.37") 
usage:  ar -d [-TLsv] archive file ...
	ar -m [-TLsv] archive file ...
	ar -m [-abiTLsv] position archive file ...
	ar -p [-TLsv] archive [file ...]
	ar -q [-cTLsv] archive file ...
	ar -r [-cuTLsv] archive file ...
	ar -r [-abciuTLsv] position archive file ...
	ar -t [-TLsv] archive [file ...]
	ar -x [-ouTLsv] archive [file ...]
-- Binutils version detected as less than 2.29 - setting CMake parameters to enable LTO linking:
    CMAKE_AR="/opt/homebrew/Cellar/llvm/11.0.1/bin/llvm-ar"
    CMAKE_RANLIB="/opt/homebrew/Cellar/llvm/11.0.1/bin/llvm-ranlib"
-- Found OpenMP_C: -Wno-pass-failed -Wno-deprecated-register -Xpreprocessor -fopenmp /opt/homebrew/lib/libomp.dylib -I/opt/homebrew/include/ (found version "5.0") 
-- Found OpenMP_CXX: -Wno-pass-failed -Wno-deprecated-register -Xpreprocessor -fopenmp /opt/homebrew/lib/libomp.dylib -I/opt/homebrew/include/ (found version "5.0") 
-- Found OpenMP: TRUE (found version "5.0")  
-- Performing Test _fftw3f_multithread
-- Performing Test _fftw3f_multithread - Failed
-- Performing Test LENSFUN_HAS_LOAD_DIRECTORY
-- Performing Test LENSFUN_HAS_LOAD_DIRECTORY - Success
-- Found MacIntegration: /opt/homebrew/lib/libgtkmacintegration-gtk3.dylib  
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/sguyader/PhotoApps/rtrepo/build

Compiling succeeded but I got the following warning a number of times:

clang-11: warning: /opt/homebrew/lib/libomp.dylib: 'linker' input unused [-Wunused-command-line-argument]

And at the end of the building process:

[100%] Built target rth-cli
ld: LTO remark: <unknown>:0:0: loop not vectorized: value that could not be identified as reduction is used outside the loop
ld: warning: <unknown>:0:0: loop not vectorized: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering
ld: warning: <unknown>:0:0: loop not vectorized: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering
[100%] Built target rth
/opt/homebrew/Cellar/cmake/3.19.4/bin/cmake -E cmake_progress_start /Users/sguyader/PhotoApps/rtrepo/build/CMakeFiles 0

Here’s the crash info:

Process:               rawtherapee [51668]
Path:                  /Applications/RawTherapee.app/Contents/MacOS/rawtherapee
Identifier:            com.rawtherapee.RawTherapee
Version:               5.8.2664 (5.8.2664)
Code Type:             ARM-64 (Native)
Parent Process:        ??? [1]
Responsible:           rawtherapee [51668]
User ID:               501

Date/Time:             2021-02-01 21:37:18.255 -0400
OS Version:            macOS 11.1 (20C69)
Report Version:        12
Anonymous UUID:        645651DB-3F03-76CF-AC23-A5BF04C101EF


Time Awake Since Boot: 11000 seconds

System Integrity Protection: enabled

Crashed Thread:        0

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

Termination Reason:    DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries
DYLD_FALLBACK_LIBRARY_PATH=/Applications/RawTherapee.app/Contents/Frameworks

Dyld Error Message:
  dyld: Using shared cache: 64510D3B-D7B4-3C73-803C-AD9F01B790AD
Library not loaded: /Applications/RawTherapee.app/Contents/Frameworks/libomp.dylib
  Referenced from: /Applications/RawTherapee.app/Contents/MacOS/rawtherapee
  Reason: image not found

Binary Images:
       0x102248000 -        0x102b23fff +com.rawtherapee.RawTherapee (5.8.2664 - 5.8.2664) <94248D24-143E-33D4-982F-4921B416B03E> /Applications/RawTherapee.app/Contents/MacOS/rawtherapee
       0x102f18000 -        0x102f93fff  dyld (832.7.1) <B7DB9E8A-A898-3C11-91A0-2B0264F05CB6> /usr/lib/dyld

Model: Macmini9,1, BootROM 6723.61.3, proc 8:4:4 processors, 8 GB, SMC 
Graphics: kHW_AppleM1Item, Apple M1, spdisplays_builtin
Memory Module: lp_ddr4
AirPort: spairport_wireless_card_type_airport_extreme, wl0: Oct 20 2020 12:49:54 version 18.20.222.14.7.8.100 FWID 01-ba327c2d
Bluetooth: Version 8.0.2f9, 3 services, 18 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
USB Device: USB 3.1 Bus
USB Device: USB3.0 Hub
USB Device: USB2.0 Hub
USB Device: CHERRY Wired Keyboard
USB Device: USB 3.1 Bus
USB Device: BillBoard Device
USB Device: USB 3.0 Bus
USB Device: USB 2.0 Hub
USB Device: Portable SSD T5
USB Device: USB Receiver
USB Device: UMC204HD 192k
Thunderbolt Bus: Mac mini, Apple Inc., 0.0
Thunderbolt Bus: Mac mini, Apple Inc., 0.0

The script didn’t copy libomp into Frameworks for some reason.

1 Like

cmake.log.txt (3.5 KB) make.bundle.log.txt (14.4 KB) make.install.log.txt (1.2 MB)

After double-checking the dependencies in the rawpedia (linux) page and performing a few homebrew upgrades, I’ve run the following commands - I hit the same OpenMP problem, I think:

export PKG_CONFIG_PATH=/opt/homebrew/Cellar/libffi/3.3_2/lib/pkgconfig:/opt/homebrew/Cellar/expat/2.2.10/lib/pkgconfig && \
cmake  .. -DCMAKE_BUILD_TYPE="release" \
          -DCMAKE_OSX_DEPLOYMENT_TARGET="11.1" \
          -DPROC_TARGET_NUMBER="2" \
          -DCACHE_NAME_SUFFIX="5.8-dev" \
          -DCMAKE_C_COMPILER="/opt/homebrew/Cellar/llvm/11.0.1/bin/clang" \
          -DCMAKE_CXX_COMPILER="/opt/homebrew/Cellar/llvm/11.0.1/bin/clang++" \
          -DWITH_LTO="ON" \
          -DCMAKE_BUILD_TYPE=Release \
          -DOpenMP_C_FLAGS="-fopenmp=libomp" \
          -DOpenMP_CXX_FLAGS="-fopenmp=libomp" \
          -DOpenMP_C_LIB_NAMES="libomp" \
          -DOpenMP_CXX_LIB_NAMES="libomp" \
          -DOpenMP_libomp_LIBRARY="/opt/homebrew/lib/libomp.dylib" \
          -DOpenMP_CXX_FLAGS="-Wno-pass-failed -Wno-deprecated-register -Xpreprocessor -fopenmp /opt/homebrew/lib/libomp.dylib -I/opt/homebrew/include/" \
          -DOpenMP_CXX_LIB_NAMES="libomp" \
          -DOpenMP_C_FLAGS="-Wno-pass-failed -Wno-deprecated-register -Xpreprocessor -fopenmp /opt/homebrew/lib/libomp.dylib -I/opt/homebrew/include/" \
          -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
          -DCMAKE_EXE_LINKER_FLAGS="-L/opt/homebrew/Cellar/libffi/3.3_2/lib -L/opt/homebrew/lib" \
          -DCMAKE_AR="/opt/homebrew/Cellar/llvm/11.0.1/bin/llvm-ar" \
          -DCMAKE_RANLIB="/opt/homebrew/Cellar/llvm/11.0.1/bin/llvm-ranlib" |& tee -a cmake.log

make -j$(sysctl -n hw.ncpu) install |& tee -a make.install.log

sudo make macosx_bundle |& tee -a make.bundle.log
  • when I attempt to open the RawTherapee app after installing it from the .dmg:
Process:               rawtherapee [15603]
Path:                  /Applications/RawTherapee.app/Contents/MacOS/rawtherapee
Identifier:            com.rawtherapee.RawTherapee
Version:               5.8.2661 (5.8.2661)
Code Type:             ARM-64 (Native)
Parent Process:        ??? [1]
Responsible:           rawtherapee [15603]
User ID:               501

Date/Time:             2021-02-02 11:01:59.899 +0100
OS Version:            macOS 11.1 (20C69)
Report Version:        12
Anonymous UUID:        5DD05DDD-31F7-D656-CBB3-C61FF4EDDC2F

Sleep/Wake UUID:       A9A848CD-A99D-41F8-AF0A-1C8A58AF8E4E

Time Awake Since Boot: 5600 seconds
Time Since Wake:       1200 seconds

System Integrity Protection: enabled

Crashed Thread:        0

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

Termination Reason:    DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries
DYLD_FALLBACK_LIBRARY_PATH=/Applications/RawTherapee.app/Contents/Frameworks

Dyld Error Message:
  dyld: Using shared cache: 64510D3B-D7B4-3C73-803C-AD9F01B790AD
Library not loaded: /Applications/RawTherapee.app/Contents/Frameworks/libomp.dylib
  Referenced from: /Applications/RawTherapee.app/Contents/MacOS/rawtherapee
  Reason: image not found

Binary Images:
       0x1042c8000 -        0x104b9ffff +com.rawtherapee.RawTherapee (5.8.2661 - 5.8.2661) <AD701B5C-4C81-3178-B29B-AD4FA655D60D> /Applications/RawTherapee.app/Contents/MacOS/rawtherapee
       0x104eec000 -        0x104f67fff  dyld (832.7.1) <B7DB9E8A-A898-3C11-91A0-2B0264F05CB6> /usr/lib/dyld

Model: MacBookPro17,1, BootROM 6723.61.3, proc 8:4:4 processors, 16 GB, SMC 
Graphics: kHW_AppleM1Item, Apple M1, spdisplays_builtin
Memory Module: lp_ddr4
AirPort: spairport_wireless_card_type_airport_extreme, wl0: Oct 20 2020 12:49:54 version 18.20.222.14.7.8.100 FWID 01-ba327c2d
Bluetooth: Version 8.0.2f9, 3 services, 25 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB 3.1 Bus
USB Device: USB 3.1 Bus
Thunderbolt Bus: MacBook Pro, Apple Inc., 0.0
Thunderbolt Bus: MacBook Pro, Apple Inc., 0.0

Hi,

I built ART on MacOS 11,1 for ARM using the same commands as for RT, and in fact if I run RT from the console it works:

I get the same warnings and errors as I reported here for ART.

should I follow up in the thread you’ve mentioned for ART, then?
I’m also running macOS 11.2 now and I’ve double-checked the dependencies. But I don’t think I am there yet :frowning:

As you want. I didn’t want to post twice the same things, and so far the setup for compiling is the same for RT and ART (I just had to install ‘exiv2’ as supplementary dependency for ART).

https://github.com/Beep6581/RawTherapee/pull/5786 is updated for homebrew-arm64 compatibility but needs testing. To patch in the PR, issue:

curl https://github.com/Beep6581/RawTherapee/pull/5786.patch | git apply

Other errors may show up as the PR is untested on arm64 I think, so please report any errors or crash reports generated by your system (just the header info and the crashed thread).
Seems to build ok on github CI on amd64 homebrew style: https://github.com/Beep6581/RawTherapee/runs/1843724971?check_suite_focus=true