Opened 2 years ago
Closed 18 months ago
#21419 closed defect (fixed)
Error "kmk: glslangValidator: Command not found"while building VirtualBox
Reported by: | penghao | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox-7.0.6 |
Keywords: | glslangValidator: Command not found | Cc: | |
Guest type: | other | Host type: | Linux |
Description
My System Environment: Ubuntu 22.04.1 LTS
Kernel version: 5.15.0-58-generic #64-Ubuntu SMP
I followed instructions in https://www.virtualbox.org/wiki/Linux%20build%20instructions to build VirtualBox from source code. The all packages I had downloaded and then I began to build with command "kmk all", but error occurred:
glslangValidator -V --vn "dxvk_blit_frag_1d" "/home/ph/VirtualBox/VirtualBox-7.0.6/src/libs/dxvk-native-1.9.2a/src/dxvk/shaders/dxvk_blit_frag_1d.frag" -o "/home/ph/VirtualBox/VirtualBox-7.0.6/out/linux.amd64/release/obj/VBox-DxVkNativeDxVk/shaders/dxvk_blit_frag_1d.h" kmk: glslangValidator: Command not found kmk: *** [/home/ph/VirtualBox/VirtualBox-7.0.6/src/libs/dxvk-native-1.9.2a/Makefile.kmk:281: /home/ph/VirtualBox/VirtualBox-7.0.6/out/linux.amd64/release/obj/VBox-DxVkNativeDxVk/shaders/dxvk_blit_frag_1d.h] Error 127 kmk: *** Waiting for unfinished jobs.... kBuild: Generating C++ Server API wrapper files from XIDL - part 2 filesplitter: Out of 66 files: 66 rewritten, 0 unchanged. (/home/ph/VirtualBox/VirtualBox-7.0.6/out/linux.amd64/release/obj/VBoxAPIWrap) kBuild: Linking VBox-DxVkNativeUtil kBuild: Generating C++ Server API wrapper header files from XIDL filesplitter: Out of 133 files: 133 rewritten, 0 unchanged. (/home/ph/VirtualBox/VirtualBox-7.0.6/out/linux.amd64/release/obj/VBoxAPIWrap) kBuild: Compiling RuntimeGuestR3Shared - /home/ph/VirtualBox/VirtualBox-7.0.6/src/VBox/Runtime/common/fs/isomakercmd.cpp kBuild: Compiling RuntimeGuestR3 - /home/ph/VirtualBox/VirtualBox-7.0.6/src/VBox/Runtime/common/fs/isomakercmd.cpp kBuild: Compiling bldRTErrMsgSorter - /home/ph/VirtualBox/VirtualBox-7.0.6/src/VBox/Runtime/common/err/errmsg-sorter.cpp kBuild: Compiling RuntimeR3 - /home/ph/VirtualBox/VirtualBox-7.0.6/src/VBox/Runtime/common/fs/isomakercmd.cpp kmk: *** Exiting with status 2
Note:
See TracTickets
for help on using tickets.
I finally fixed it, by "sudo apt-get install glslang-tools". But I think this is a neglect that this command isn't listed in the Linux build instructions. So I create this ticket for adding this content to the section "On Debian-based systems, the following command should install the required packages: " in page https://www.virtualbox.org/wiki/Linux%20build%20instructions.