Closed TornaxO7 closed 1 year ago
pkg-config
needs the library .pc
file as well, which is generally provided by devel
packages (I don't know about Arch).
So you'd need libgbm.pc
but I checked on my system and I actually have gbm.pc
so I suppose you should use gbm
as your dependency.
pkg-config needs the library .pc file as well (...) so
.pc
and.so
are required or is only.pc
required?
yes, you need both to be able to build and link.
Alright, thank you for the information!
Hello! Thank you for this crate first of all :)
I'm using Arch linux and if I execute the following:
than I'm getting the following output:
in other words,
/usr/lib/libgbm.so.1.0.0
exist.But if I have the following in my
Cargo.toml
:I'm getting the following error message, if I try
cargo build
:May I ask what I'm doing wrong?
Reproduction steps
I created a repository for you, so you don't need to create directories and stuff through the terminal. Just clone my repository and run
cargo build
. You'll just need to take a look into thebuild.rs
andCargo.toml
:) I hope it helps!