You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
shaderc library linkage fails on Ubuntu 24.04 with the following error:
usr/bin/ld: cannot find -lshaderc_shared: No such file or directory
To Reproduce
Steps to reproduce the behavior:
Run sudo apt install libshaderc-dev
Run ./build-debug.sh
Expected behavior
shaderc library should link correctly on Ubuntu 24.04 (with libshaderc-dev installed).
Desktop (please complete the following information):
OS: Ubuntu 24.04 (after having run sudo apt install libshaderc-dev)
Additional context
It links successfully if I change -lshaderc_shared to -lshaderc in build-all.sh. But ideally build-all.sh should use pkg-config to locate libraries and include files in a platform-independent way, at least on *nix.
The text was updated successfully, but these errors were encountered:
@djminuslibshaderc-dev is the incorrect library, instead use shaderc provided in the apt package manager. (Make sure you remove libshaderc-dev by sudo apt remove libshaderc-dev, and also revert the changes you have done to -lshaderc_shared)
Describe the bug
shaderc library linkage fails on Ubuntu 24.04 with the following error:
usr/bin/ld: cannot find -lshaderc_shared: No such file or directory
To Reproduce
Steps to reproduce the behavior:
sudo apt install libshaderc-dev
./build-debug.sh
Expected behavior
shaderc library should link correctly on Ubuntu 24.04 (with
libshaderc-dev
installed).Desktop (please complete the following information):
sudo apt install libshaderc-dev
)Additional context
It links successfully if I change
-lshaderc_shared
to-lshaderc
inbuild-all.sh
. But ideallybuild-all.sh
should usepkg-config
to locate libraries and include files in a platform-independent way, at least on *nix.The text was updated successfully, but these errors were encountered: