I receive the MacOS ‘Problem Report / App cannot be opened’ screen launching TD. Report details (complete below) include this error:
“”"
Termination Reason: DYLD, [0x4] Symbol missing
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Symbol not found: __ZN3tbb4task13note_affinityEt
Referenced from: /Applications/TouchDesigner.app/Contents/Frameworks/libopencv_world.4.5.dylib
Expected in: /usr/local/lib/libtbb.dylib
in /Applications/TouchDesigner.app/Contents/Frameworks/libopencv_world.4.5.dylib
“”"
Based on this, I suspect this happened following recent installation of OpenCV v3 libraries with Homebrew, using the command ‘brew install opencv@3’.
I have tried uninstalling all traces of OpenCV 3 & 4 and TD, and reinstalling only the current build of TD, but still receive the error. I tried installing experimental build 2020.46540, and that worked. Subsequent installation of the current build then fails again.
I also installed the current build on a similar Mac that did not have any OpenCV installations, and TD opens.
I’m stumped – any ideas how to track down what has changed?
Date/Time: 2021-06-02 12:24:46.373 -0700
OS Version: Mac OS X 10.15.7 (19H1217)
Report Version: 12
Bridge OS Version: 5.4 (18P4663)
Anonymous UUID: 2AD0C381-F6B1-85AE-B05D-3BFFA978765E
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Symbol not found: __ZN3tbb4task13note_affinityEt
Referenced from: /Applications/TouchDesigner.app/Contents/Frameworks/libopencv_world.4.5.dylib
Expected in: /usr/local/lib/libtbb.dylib
in /Applications/TouchDesigner.app/Contents/Frameworks/libopencv_world.4.5.dylib
The problem is the file /usr/local/lib/libtbb.dylib, which is for some reason getting loaded instead of the libtbb.dylib that we have located in our installation directory. If you remove/rename that file, that will fix things.