aarch64,KylinV10 ,源码编译,报错
Without more info, I cannot really help debug this issue. Is this native aarch64 or a cross compilation? The required packages must be present, and unfortunately I cannot read the error message (and can't even try putting it in a translator because its an image and not text).
Doing just a bit of work by trying to build the project on my Raspberry Pi and found that I didn't have some of the required dependencies.
The Vulkan-Loader is automatically downloaded and it needed the libxrandr-dev package to be installed.
And because vkcube uses wayland, I needed wayland-protocols. The repository doesn't explicitly check for that, so you don't get a nice error message, which I have pushed up here: https://github.com/KhronosGroup/Vulkan-Tools/pull/1102
https://github.com/KhronosGroup/Vulkan-Tools/blob/8542e6dcfc6daef20d561220f1d91a02c25d95b2/cube/CMakeLists.txt#L189
Maybe API_LOWERCASE is undefined.
I get this:
FAILED: [code=2] cube/CMakeFiles/vkcube.dir/cube.c.o
/run/ccache/bin/cc -D/usr/lib/x86_64-linux-gnu/libm.so" -DVK_USE_PLATFORM_DISPLAY_KHR -DVK_USE_PLATFORM_WAYLAND_KHR -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR -DWAYLAND_LIBRARY=\"/usr/lib/x86_64-linux-gnu/libwayland-client.so -DXCB_LIBRARY=\"/usr/lib/x86_64-linux-gnu/libxcb.so\" -DXLIB_LIBRARY=\"/usr/lib/x86_64-linux-gnu/libX11.so\" -I/run/build/vulkan-tools/cube -I/run/build/vulkan-tools/cube/. -O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O3 -DNDEBUG -std=c99 -fPIE -fvisibility=hidden -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-stringop-truncation -MD -MT cube/CMakeFiles/vkcube.dir/cube.c.o -MF cube/CMakeFiles/vkcube.dir/cube.c.o.d -o cube/CMakeFiles/vkcube.dir/cube.c.o -c /run/build/vulkan-tools/cube/cube.c
/bin/sh: -c: line 1: unexpected EOF while looking for matching `"'
@fxzxmic That indicates you are trying to build an old version of cube which had an bad build script when multiple libraries were found by pkg-config. It has since been fixed with #1134
Since the original issue has gone stale, I am going to close it.
Yes, I patched the source and it worked.