-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Intel Mac build error caused by meta_parser #1
Comments
Change the missing dylib path, this can help you: |
You can use the following commands to fix the build error on Linux temporarily. A merge request will be provided later. |
just |
If you are hasty, you may use this repository instead |
You can use the following commands to fix the build error on MacOS temporarily |
Thanks, but it's the same result. I may try another solution using https://stackoverflow.com/questions/24045633/dyld-library-not-loaded-error |
is MacOS 12.2 needed? @BoomingTech-YuqiaoZhang |
Tested with cp command and manual copy, not working. What is your software version? |
LB_LIBRARY_PATH may not work, you may use the following install_name_tool instead. |
macOS 12.3.1 Intel i5 working with fellowing shell command
then ./bin/PilotEditor running. |
libclang.dylib is on the same path as meta_parser, you can use command:
This works for me. |
The following command is much better: |
libc++.1.dylib is missing, I am fixing now |
using the following commands to fix the libclang.dylib: Then, download the missed libc++.1.dylib from the LLVM official web page |
I am using the "objdump -p" to check the dependency of the libclang.dylib, and I find that the libz and libcursor are missing as well. |
A merge request is provided. If you are hasty, you may use this repository |
If you are hasty, you may use this repository. Github Workflow shows "build macos" is passing. |
If you are hasty, you may use this repository. Github Workflow shows "build macos" is passing. |
A pull request is provided. |
For M1 developers, running these commands works for a temporary fix. chmod +x .engine/bin/macOS/meta_parser
sudo cp engine/bin/macOS/libclang.dylib /usr/local/lib |
A pull request has been provided. If you are hasty, you may use this repository first. The github workflow shows "build linux" is passing. |
This is NOT recommended. The path "/usr/local/lib" may not exist if the user doesn't use homebrew or macport. |
This is NOT recommended. The path "/usr/local/lib" may not exist if the user doesn't use homebrew or macport. |
This issue should have been fixed by #53, you can reopen or create a new ticket if it still exists on your machine |
I got build errors for both Xcode and CMake builds. The problem is triggered from meta_parser. However, it's still malfunction after adding permission with
chmod +x meta_parser
.The meta_parser crashed because
dyld: Library not loaded: @rpath/libclang.dylib
macOS Bigsur 11.6.5
Xcode 13.2.1
CMake 3.23
The text was updated successfully, but these errors were encountered: