You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @awgh,
just trying the darwin_example with a dylib on Mac OS (x86_64) but experiencing segmentation fault. I assume this is due to SIP being enabled. Is this working for you with the SIP being enabled, please?
The problem is that I never checked in an OSX test library for the x86_64 platform! In the test/64 folder, there is only a dylib for arm64: "main-arm64.dyld" and the darwin-example is hardcoded to load the arm64 dylib.
I will leave this issue open to remind me to fix this, but in the meantime, all you have to do is compile the test library code in the test folder yourself on your x86_64 machine and point darwin-example at your new dylib.
The build commands are in build.bat in that folder (should work if you source it as a shell script too, just gcc commands).
I apologize for the oversight, but I don't actually have an x86_64 Mac at the moment, only the M1. We did test this on OSX x86_64, but it was a loaner and I didn't save the dylib.
Let me know if that works for you or if it doesn't!
Thanks for getting back to me so quick. Actually i am trying the library compiled in the way as you described. I will also try it on separate arm device soon. For the Mac I guess I will need to take time understand your code and then get in debugger.
Hi @awgh,
just trying the
darwin_example
with a dylib on Mac OS (x86_64) but experiencing segmentation fault. I assume this is due to SIP being enabled. Is this working for you with the SIP being enabled, please?The text was updated successfully, but these errors were encountered: