Comments (25)
just cp engine/bin/macOS/libclang.dylib to /usr/local/lib
it works for me
from piccolo.
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.
from piccolo.
libclang.dylib is on the same path as meta_parser, you can use command:
cd /.../Pilot/engine/bin/macOS install_name_tool -add_rpath /.../Pilot/engine/bin/macOS ./meta_parser
This works for me.
The following command is much better:
install_name_tool -rpath "/Users/hywei/Workspace/metaparser-master/Parser/../3rd_party/LLVM/lib/macOS" '@executable_path' ./engine/bin/macOS/meta_parser'
from piccolo.
libclang.dylib is on the same path as meta_parser, you can use command:
cd /.../Pilot/engine/bin/macOS
install_name_tool -add_rpath /.../Pilot/engine/bin/macOS ./meta_parser
This works for me.
from piccolo.
is MacOS 12.2 needed? @BoomingTech-YuqiaoZhang running meta_parser on MacOS 11.6 throw the error
libc++.1.dylib is missing, I am fixing now
from piccolo.
is MacOS 12.2 needed? @BoomingTech-YuqiaoZhang running meta_parser on MacOS 11.6 throw the error
A merge request is provided. If you are hasty, you may use this repository
from piccolo.
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.
from piccolo.
from piccolo.
Change the missing dylib path, this can help you:
https://stackoverflow.com/questions/17703510/dyld-library-not-loaded-reason-image-not-found
from piccolo.
You can use the following commands to fix the build error on Linux temporarily. A merge request will be provided later.
chmod +x build_linux.sh
chmod +x "./engine/bin/Linux/meta_parse"
chrpath -r '$ORIGIN' "./engine/bin/Linux/meta_parser"
chmod +x "engine/3rdparty/VulkanSDK/bin/Linux/glslangValidator"
from piccolo.
If you are hasty, you may use this repository instead
from piccolo.
You can use the following commands to fix the build error on MacOS temporarily
chmod +x "./engine/bin/MacOS/meta_parse"
install_name_tool -rpath "/Users/hywei/Workspace/metaparser-master/Parser/../3rd_party/LLVM/lib/macOS" '@executable_path' './engine/bin/macOS/meta_parser'
from piccolo.
You can use the following commands to fix the build error on MacOS temporarily chmod +x "./engine/bin/MacOS/meta_parse" export LD_LIBRARY_PATH=./engine/bin/macOS${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
Thanks, but it's the same result. I may try another solution using otool
for libclang.dylib
But ultimately the project script should take care itself.
https://stackoverflow.com/questions/24045633/dyld-library-not-loaded-error
from piccolo.
is MacOS 12.2 needed? @BoomingTech-YuqiaoZhang
running meta_parser on MacOS 11.6 throw the error
from piccolo.
just
cp engine/bin/macOS/libclang.dylib to /usr/local/lib
it works for me
Tested with cp command and manual copy, not working. What is your software version?
from piccolo.
You can use the following commands to fix the build error on MacOS temporarily chmod +x "./engine/bin/MacOS/meta_parse" export LD_LIBRARY_PATH=./engine/bin/macOS${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
Thanks, but it's the same result. I may try another solution using
otool
forlibclang.dylib
But ultimately the project script should take care itself.https://stackoverflow.com/questions/24045633/dyld-library-not-loaded-error
LB_LIBRARY_PATH may not work, you may use the following install_name_tool instead.
install_name_tool -rpath "/Users/hywei/Workspace/metaparser-master/Parser/../3rd_party/LLVM/lib/macOS" '@executable_path' './engine/bin/macOS/meta_parser'
from piccolo.
macOS 12.3.1 Intel i5 working with fellowing shell command
chmod +x "./engine/bin/MacOS/meta_parser"
cmake -S engine -B build -G "Xcode"
cp engine/bin/macOS/libclang.dylib /usr/local/lib
cmake --build build --config "${CMAKE_ARG_BUILD_TYPE_CONFIG}"
rm /usr/local/lib/libclang.dylib
then
./bin/PilotEditor
running.
from piccolo.
is MacOS 12.2 needed? @BoomingTech-YuqiaoZhang running meta_parser on MacOS 11.6 throw the error
using the following commands to fix the libclang.dylib:
install_name_tool -change '/usr/lib/libc++.1.dylib' '@rpath/libc++.1.dylib' './engine/bin/macOS/libclang.dylib'
install_name_tool -rpath '@loader_path/../lib' '@executable_path' './engine/bin/macOS/libclang.dylib'
Then, download the missed libc++.1.dylib from the LLVM official web page
from piccolo.
is MacOS 12.2 needed? @BoomingTech-YuqiaoZhang running meta_parser on MacOS 11.6 throw the error
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.
from piccolo.
is MacOS 12.2 needed? @BoomingTech-YuqiaoZhang running meta_parser on MacOS 11.6 throw the error
If you are hasty, you may use this repository. Github Workflow shows "build macos" is passing.
from piccolo.
A pull request is provided.
from piccolo.
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
from piccolo.
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
This is NOT recommended. The path "/usr/local/lib" may not exist if the user doesn't use homebrew or macport.
And the version of the libclang.dylib provided by us may be different from the libclang.dylib provided by homebrew or macport. Some other software may not work properly due to the confliction of the libs.
from piccolo.
just
cp engine/bin/macOS/libclang.dylib to /usr/local/lib
it works for me
This is NOT recommended. The path "/usr/local/lib" may not exist if the user doesn't use homebrew or macport.
And the version of the libclang.dylib provided by us may be different from the libclang.dylib provided by homebrew or macport. Some other software may not work properly due to the confliction of the libs.
from piccolo.
This issue should have been fixed by #53, you can reopen or create a new ticket if it still exists on your machine
from piccolo.
Related Issues (20)
- cmake编译imgui失败
- piccolo的反射和序列化不支持int a[16]吗 HOT 2
- Bug Report HOT 1
- 编译脚本修改
- Bug Report: 新版本Clang编译JoltPhysics库报错导致项目编译失败 HOT 2
- Failed to compile JoltPhysics on windows using vs2022 HOT 2
- 下一次发布时间?
- Bug Report
- Bug Report HOT 4
- Bug Report 启动崩溃,分配内存越界 HOT 4
- Macos Arm平台parser无法识别std::vector<T>类型 HOT 1
- 如何使用renderdoc抓帧 HOT 4
- Bug Report cmake -S . -B build 失败,错误信息如下 HOT 1
- 运行build_windows.bat时报错找不到系统文件 HOT 2
- Bug Report HOT 3
- Archlinux上build时报错 HOT 3
- win10 cmake错误 HOT 2
- Fail to compile on M1 Macbook HOT 1
- 这个问题如何处理
- Bug Report,编译的时候报错,debuf error。 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from piccolo.