Skip to content
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

Ubuntu21.10 ./build_linux.sh debug报错 #10

Closed
hcp6897 opened this issue Apr 4, 2022 · 2 comments · Fixed by #20
Closed

Ubuntu21.10 ./build_linux.sh debug报错 #10

hcp6897 opened this issue Apr 4, 2022 · 2 comments · Fixed by #20
Labels

Comments

@hcp6897
Copy link

hcp6897 commented Apr 4, 2022

$ ./build_linux.sh debug
-- Using X11 for window creation
-- Build spdlog: 1.9.2
-- Build type: Debug
-- Configuring done
-- Generating done
-- Build files have been written to: /Pilot/build


**** [Precompile] BEGIN


/Pilot/engine/bin/Linux/meta_parser: error while loading shared libraries: libclang.so.12: cannot open shared object file: No such file or directory
gmake[2]: *** [CMakeFiles/PilotPreCompile.dir/build.make:73: CMakeFiles/PilotPreCompile] Error 127
gmake[1]: *** [CMakeFiles/Makefile2:261: CMakeFiles/PilotPreCompile.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2

@BoomingTech-YuqiaoZhang
Copy link
Contributor

BoomingTech-YuqiaoZhang commented Apr 4, 2022

A pull request has been provided. If you are hasty, you may use this repository first. The github workflow shows "build linux" is passing.
We strongly recommend the Ubuntu LTS version for you.
Perhaps the libc++ and clang are missing. You may use "apt install clang" and "apt install libc++-dev" first.

@WANGSSSSSSS
Copy link

this problem is due to your wrong ld library path configuration, thus you can add the following line in build_linux.sh file
export export LD_LIBRARY_PATH= xxxxxx/Pilot/engine/bin/Linux , replace xxxxx with your codebase path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants