omnet++ debugging error on macbook M1 processor, 'Could not determine GDB version using command: lldbmi2 --version' - omnet++

I am using omnet++ v.6.0 (on MacBook pro with an m1 processor) and the debugger gives me the following error:
Could not determine GDB version using command: lldbmi2 --version dyld
[4595]: Library not loaded: # rpath / LLDB.framework / LLDB
Referenced from:
/Users/gerald/Desktop/TESI/omnetpp-6.0/tools/macos.x86_64/bin/lldbmi2
Reason: tried:
'/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/LLDB'
(no such file),
'/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/LLDB'
(no such file ), '/Library/Frameworks/LLDB.framework/LLDB' (no such
file), '/System/Library/Frameworks/LLDB.framework/LLDB' (no such file)
Can you please help me to solve it?

Related

Omnet++ : Could not determine GDB version using command: lldbmi2 --version dyld: Library not loaded: #rpath/LLDB.framework/LLDB

I tried to debug a script on omnet++ getting the following message:
Could not determine GDB version using command: lldbmi2 --version dyld: Library not loaded: #rpath/LLDB.framework/LLDB Reason: image not found
Can you help me?
PS: i am using MacBook Air with Catalina version 10.15.7 . I don't have Xcode installed

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.

Oculus Rift and Processing 2.0

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.

Resources