deltaphc / raylib-rs

Rust bindings for raylib
Other
751 stars 134 forks source link

Dependency fixes #196

Open GraveResin opened 3 months ago

GraveResin commented 3 months ago

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.

IoIxD commented 1 month ago
GraveResin commented 1 month ago

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.