-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to find entry point named "objc_msgSend_stret" in shared library '/usr/lib/libobjc.A.dylib For Apple Silicon Based Macs #477
Comments
what macOS version are you running? |
MacOS Ventura 13.1 |
I checked my usr/lib/ folder and I cannot seem to find libobjc.A.dylib. That is likely the issue but I have no idea how to manually get the file to put it there, or if you even need that file there in new versions of MacOS |
Any updates on how to fix this? |
I believe the fix here should be the same as what was done in this commit). The short answer is that If anyone with an M1 processor is able to test the quick fix (e.g. the same thing that @frenzibyte did in the commit above), I'd be happy to merge it in. |
Also, it would help to know what stack trace you see when you get this exception. Is this still a problem in the latest version of the code? |
That not fixed. stack is Unhandled exception. System.EntryPointNotFoundException: Unable to find an entry point named 'objc_msgSend_stret' in shared library '/usr/lib/libobjc.A.dylib'. |
@lkj01010 Are you sure you're running latest version of Veldrid? This path is impossible to reach for M1/M2-based machines: veldrid/src/Veldrid.MetalBindings/NSView.cs Lines 26 to 34 in 63b6300
|
When running on macOS (2021 M1 Pro) an exception error is raised, with the details: "Unable to find entry point named "objc_msgSend_stret" in shared library '/usr/lib/libobjc.A.dylib"
Tested it on my old PC (Windows) with no issues so is Mac related.
The text was updated successfully, but these errors were encountered: