-
Notifications
You must be signed in to change notification settings - Fork 52
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
could not load libgtk-3.0.dylib #162
Comments
I have no knowledge about macOS, but maybe you could search for the files on your system and compare the file names. Maybe it's a higher Gtk version or another reason for a different file name. |
I realized when running the
|
Oh yes, the M2 is an Arm CPU. I think you should look for information how to compile Nim code for this CPU in general, not related to NiGui or Gtk. I don't have any device with Arm CPU to test. |
On a m2 mac air it compiles fine but this is the error it gives when ran
dlopen(libgtk-3.0.dylib, 0x0002): tried: 'libgtk-3.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibgtk-3.0.dylib' (no such file), '/usr/lib/libgtk-3.0.dylib' (no such file, not in dyld cache), 'libgtk-3.0.dylib' (no such file), '/usr/local/lib/libgtk-3.0.dylib' (no such file), '/usr/lib/libgtk-3.0.dylib' (no such file, not in dyld cache) could not load: libgtk-3.0.dylib
I've tried a bunch of things including brew install gtk+3 and putting it in an app bundle and other things mentioned in #63 but it still does not work. A similar thing also happens with nimx so I'm not sure what the problem is.
The text was updated successfully, but these errors were encountered: