Oculus Rift and Processing 2.0 - processing

I am trying to get the Oculus Rift working in processing.I am using a library called "SimpleOculusRift" created by the amazing Max Rheiner. However, whenever I run the example sketch I get this error:
dyld: lazy symbol binding failed: Symbol not found: ___sincos_stret
Referenced from: /Users/jasontibi/CalArts/Spring
2015/Processing/libraries/SimpleOculusRift/library/libSimpleOculusRift.jnilib
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: ___sincos_stret Referenced from:
/Users/jasontibi/CalArts/Spring
2015/Processing/libraries/SimpleOculusRift/library/libSimpleOculusRift.jnilib
Expected in: /usr/lib/libSystem.B.dylib
Could not run the sketch (Target VM failed to initialize). For more
information, read revisions.txt and Help → Troubleshooting.
I am running Mac OS 10.8.5
I am using Oculus Rift DK1
I am using the latest firmware
and I am on a 64bit intel core i7
Any idea whats happening?
The sketch just crashes and says that processing quit unexpectedly.
Thank you!

I just had to upgrade OSX to Yosemite. There was a file that the library used, that only worked in Yosemite because of some native plugin that comes with Yosemite.

Related

macOS cmake based project backward compatibility

I've got a CMake based project that that compiles in MacOS Monterey and produces an application and its dependency dynamic library (dylib file)
When trying to run it macOS bigSur I get the following error :
dyld: Symbol not found: __ZTTNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEE
Referenced from: /Applications/myapp.app/Contents/MacOS/../Frameworks/libMylib.dylib
Expected in: /usr/lib/libc++.1.dylib
in /Applications/myapp.app/Contents/MacOS/../Frameworks/libMylib.dylib
Abort trap: 6
even tough I specifically used the following settings when building the library
set(CMAKE_OSX_DEPLOYMENT_TARGET "11.0" CACHE STRING "Minimum OS X deployment version" FORCE)
Perhaps anybody encountered similar behavior ? the only thing that's works for my is to build the target in BigSur machine.

Error compiling for board NodeMCU 1.0 (ESP-12E Module) (Read 10 times)

OS: Mac OS X Version 10.10.5
Python --version: Python 3.7.2
Error message:
dyld: lazy symbol binding failed: Symbol not found: _getentropy
Referenced from: /Users/xxxx/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: _getentropy
Referenced from: /Users/xxxx/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3
Expected in: /usr/lib/libSystem.B.dylib
signal: trace/BPT trap
/Users/xxxx/Downloads/Arduino.app/Contents/Java/arduino-builder returned 255
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
Anyone know how to solve it?
MacoS 10.11.6 (15G22010), Arduino IDE 1.8.13, Board: Wemos D1 R1 (esp8266)
same problem, since yesterday, when compiling on a wemos d1 r1 card
While waiting for the fix, I went down to version 2.5.0 and it works. from version 2.6.0 it does not work. same message.

AdaCore gnatstudio builds but won't run

Mac mini (2018)
OSX 10.15.5
XCode 11.5
GNAT 2020
Miniconda environment python 3.7.7
I have built gnatstudio from https://github.com/AdaCore/gps-master.
However, the command gnatstudio/obj/gnatstudio fails with:
dyld: Library not loaded: /gnatmail/sandbox/a2c2/x86_64-darwin/gcc-c/pkg/lib/libstdc++.6.dylib
Referenced from: /System/Volumes/Data/Applications_Packages/gps-master/gnatstudio/obj/gnatstudio
Reason: image not found
zsh: abort gnatstudio/obj/gnatstudio
I can find no reference to /gnatmail/sandbox/a2c2/x86_64-darwin/gcc-c/pkg/lib/libstdc++.6.dylib in my gps build instructions; not in any Makefile or gpr.
I have found libstdc++.6.dylib in /opt/GNAT/2020/lib, /opt/GNAT/2019/lib/gps and a few other less relevant locations.

MacOS 10.14.6 Library not loaded: #rpath/libIrrXMLd.dylib

When I ran a C++ application in XCode on MacOS 10.14 that uses OpenGL and Assimp, everything compiled, but I got this error
dyld: Library not loaded: #rpath/libIrrXMLd.dylib
Referenced from: /usr/local/lib/libassimpd.5.dylib
Reason: image not found
Program ended with exit code: 9
Searched on Google and seems like no one has had this problem before

dyId: Symbol not found: _clock_gettime

I am trying to execute a python code using PyPy2 v5.10 on MacOS El Capitan 10.11.6. However, I keep getting this error during runtime.
dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
Referenced from: /Users/macpro/Downloads/pypy2-v5.10.0-osx64/bin//libpypy-c.dylib
Expected in: flat namespace
dyld: Symbol not found: _clock_gettime
Referenced from: /Users/macpro/Downloads/pypy2-v5.10.0-osx64/bin//libpypy-c.dylib
Expected in: flat namespace
fish: './pypy contactTrace.py' terminated by signal SIGTRAP (Trace or breakpoint trap)
I have read from a few sources that its because El Capitan does not implement the clock but delcares it. Hence, one solution is to upgrade the software or comment out the declaration. Upgrading the software is not an option for me because I have a lot of other scripts running in that particular computer. I was trying to comment out the declaration but I am unable to find where I can comment it off. Also, will it really solve the issue? Or are there any more simpler solutions to it. I am not very familiar with the MacOS platform and am only using it for this project.
Thanks in advance!
That sounds like a wrongly linked libSystem.dylib, and that will be hard to fix (e.g. checking libs with otool and modifying lib with install_name_tool). However, there are newer versions of PyPy. Do you have tried them?

Resources