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
Describe the bug
The app always tries to load libnomacsCore.dylib from the created "build" folder to compile.
Also the app icon is not set.
To Reproduce
Follow the instructions for compiling on macOS with Apple Silicon.
Works fine, but no matter if you use 'make install' or copy, at the time we rename or delete the build folder it cannot open because cannot find libnomacsCore.dylib.
Expected behavior
Be able to install or place the app anywhere.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: macOS
Version Sonoma
Additional context
SOLVED this:
Compile, but DO NOT INSTALL with 'make install'.
Just change (not deleting all) the rpath "/<nomacs-clone_folder>/build" by "usr/local/lib", using the install_name_tool -rpath parameter (instead the -delete_rpath), leaving the others (that are homebrew library folders), for both the 'libnomacsCore.dylib' library and 'nomacs.app/Contents/MacOS/nomacs' binary.
Copy or move the libnomacsCore.dylib to /usr/local/lib, no admin permission required.
Copy or move nomacs.app to /Applications or any other location.
Delete the nomacs github clone folder.
Now we can launch nomacs.app and works fine, taking the libnomacsCore.dylib from /usr/local/lib.
Then the installer 'make install' could be updated to make this, installing the app at /Applications folder and placing the libnomacsCore.dylib at /usr/local/lib.
The icon issue was solved just dragging manually into file info, maybe there is a command line tool for that.
The text was updated successfully, but these errors were encountered:
Describe the bug
The app always tries to load libnomacsCore.dylib from the created "build" folder to compile.
Also the app icon is not set.
To Reproduce
Expected behavior
Be able to install or place the app anywhere.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
SOLVED this:
Then the installer 'make install' could be updated to make this, installing the app at /Applications folder and placing the libnomacsCore.dylib at /usr/local/lib.
The icon issue was solved just dragging manually into file info, maybe there is a command line tool for that.
The text was updated successfully, but these errors were encountered: