my mpv build saying no such file or directory of enabled libplacebo only
MartinEesmaa opened this issue · 0 comments
MartinEesmaa commented
I have a problem building my mpv build with libplacebo enabled only. If I don't use libplacebo only, then build success, otherwise using libplacebo makes me errors.
After I built shaderc static with depths, I built libplacebo with static only with shaderc enabled, then I configured with waf for static-build at mpv folder, then I tried to build and it failed:
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lshaderc_shared: No such file or directory
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lspirv-cross-c-shared: No such file or directory
collect2.exe: error: ld returned 1 exit status
I checked shaderc installed with pkg-config, but foundable:
marti@LAPTOP-HM70RGB0 MINGW64 ~/mpv
$ pkg-config --cflags --libs shaderc
-IC:/msys64/mingw64/include -LC:/msys64/mingw64/lib -lshaderc_shared
How can I build static build of mpv to avoid two errors?
Also libplacebo config status:
libplacebo 5.221.0
Components
lcms : YES
glslang : NO
shaderc : YES
vulkan : YES
opengl : YES
d3d11 : YES
User defined options
default_library: static
prefix : C:/msys64/mingw64
demos : false
tests : false
Found ninja-1.11.0 at C:\msys64\mingw64\bin/ninja.EXE
Cleaning... 0 files.
- Martin Eesmaa