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

Dependency fixes #196

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

GraveResin
Copy link

Added "libclang-dev" to the dependencies for Linux in the readme as Raylib-rs will not build without it. I am unsure if the docker image needed libclang-dev but added it just as a precaution since I haven't used docker before.

…to compile Raylib-rs, at least from my usage of it.
…equired to compile Raylib-rs, at least from my usage of it."

This reverts commit e5ec14a.
@IoIxD
Copy link
Contributor

IoIxD commented Aug 16, 2024

  • Active development now happens on raylib-rs/raylib-rs
  • I can compile just fine without it. What Linux are you on?

@GraveResin
Copy link
Author

I am using Pop!_OS 22.04. After looking more into it, it seems that it isn't libclang-dev but still one of the libclangs. libclang-dev installs on or more of the actual one it needs but I have yet to determine the exact libclang file it seems to be wanting. Here is the compiler error it provides:

"Unable to find libclang: "couldn't find any valid shared libraries matching: ['libclang.so', 'libclang-.so', 'libclang.so.', 'libclang-.so.'], set the LIBCLANG_PATH environment variable to a path where one of these files can be found (invalid: [])"
The error comes from bindgen-0.69.4/lib.rs:622:31. I will keep looking for the correct libclang that it wants unless you find it before me.

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

Successfully merging this pull request may close these issues.

2 participants