VirtualBox

2 年 前 建立

19 月 前 結束

#21419 closed defect (fixed)

Error "kmk: glslangValidator: Command not found"while building VirtualBox

回報者: penghao 負責人:
元件: other 版本: VirtualBox-7.0.6
關鍵字: glslangValidator: Command not found 副本:
Guest type: other Host type: Linux

描述

My System Environment: Ubuntu 22.04.1 LTS

Kernel version: 5.15.0-58-generic #64-Ubuntu SMP

I followed instructions in https://www.alldomusa.eu.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

更動歷史 (2)

comment:1 2 年 前penghao 編輯

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.alldomusa.eu.org/wiki/Linux%20build%20instructions.

comment:2 19 月 前aeichner 編輯

狀態: newclosed
處理結果: fixed

Fixed

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette