-
Notifications
You must be signed in to change notification settings - Fork 446
Description
Hello, recently I've been trying to run the OpenNI provided executable samples on a MacOS version 12.6. I have followed the README.md file instructions, as well as several online guides (e.g. https://www.theworldneedsmoredreamers.net/using-openni-2-2-beta-on-os-x/). I have libfreenect installed, as well as the OpenNI base and Driver bundle.ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
Additional information for the system:
Darwin 21.6.0 Darwin Kernel Version RELEASE_X86_64 x86_64
The output of running the SimpleView binary can be seen below:
$ ./SimpleViewer dyld[38484]: Library not loaded: 'libOpenNI2.dylib' Referenced from: '/Users/AAA/Desktop/MyProject/OpenNI-MacOSX-x64-2.2/Samples/Bin/SimpleViewer' Reason: tried: 'libOpenNI2.dylib' (code signature in <168827E6-F908-3F20-9FEF-E180C514D2D8> '/Users/AAA/Desktop/MyProject/OpenNI-MacOSX-x64-2.2/Samples/Bin/libOpenNI2.dylib' not valid for use in process: library load disallowed by system policy), '/usr/local/lib/libOpenNI2.dylib' (no such file), '/usr/lib/libOpenNI2.dylib' (no such file), '/Users/AAA/Desktop/MyProject/OpenNI-MacOSX-x64-2.2/Samples/Bin/libOpenNI2.dylib' (code signature in <168827E6-F908-3F20-9FEF-E180C514D2D8> '/Users/AAA/Desktop/MyProject/OpenNI-MacOSX-x64-2.2/Samples/Bin/libOpenNI2.dylib' not valid for use in process: library load disallowed by system policy), '/usr/local/lib/libOpenNI2.dylib' (no such file), '/usr/lib/libOpenNI2.dylib' (no such file) Abort trap: 6
I am unwilling to however turn off library validation, due to security viability. Any pointers what could be done in this regard? Thank you for your time!