Ok, I am probably stupid but on a clean install of Manjaro with kernel 5.15.12-1-MANJARO
I cannot install this. It fails while compiling:
error: failed to run custom build command for `alvr_server v17.0.0-dev.1 (/home/guillaume/alvr/src/alvr/alvr/server)`
Caused by:
process didn't exit successfully: `/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-07c6a17ab575c5f8/build-script-build` (exit status: 1)
--- stdout
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("3")
HOST = Some("x86_64-unknown-linux-gnu")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = Some("-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS")
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("false")
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = Some("-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS")
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = Some("-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS")
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/alvr_server/driverlog.o" "-c" "cpp/alvr_server/driverlog.cpp"
exit status: 0
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/alvr_server/ClientConnection.o" "-c" "cpp/alvr_server/ClientConnection.cpp"
exit status: 0
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/alvr_server/ChaperoneUpdater.o" "-c" "cpp/alvr_server/ChaperoneUpdater.cpp"
exit status: 0
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/alvr_server/OvrController.o" "-c" "cpp/alvr_server/OvrController.cpp"
exit status: 0
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/alvr_server/OvrViveTrackerProxy.o" "-c" "cpp/alvr_server/OvrViveTrackerProxy.cpp"
exit status: 0
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/alvr_server/IDRScheduler.o" "-c" "cpp/alvr_server/IDRScheduler.cpp"
exit status: 0
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/alvr_server/VSyncThread.o" "-c" "cpp/alvr_server/VSyncThread.cpp"
exit status: 0
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/alvr_server/Logger.o" "-c" "cpp/alvr_server/Logger.cpp"
exit status: 0
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/alvr_server/Settings.o" "-c" "cpp/alvr_server/Settings.cpp"
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/alvr_server/OvrDisplayComponent.o" "-c" "cpp/alvr_server/OvrDisplayComponent.cpp"
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/alvr_server/OvrHMD.o" "-c" "cpp/alvr_server/OvrHMD.cpp"
exit status: 0
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/alvr_server/alvr_server.o" "-c" "cpp/alvr_server/alvr_server.cpp"
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/alvr_server/PoseHistory.o" "-c" "cpp/alvr_server/PoseHistory.cpp"
exit status: 0
exit status: 0
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/alvr_server/Utils.o" "-c" "cpp/alvr_server/Utils.cpp"
exit status: 0
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/shared/threadtools.o" "-c" "cpp/shared/threadtools.cpp"
exit status: 0
exit status: 0
exit status: 0
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/ALVR-common/common-utils.o" "-c" "cpp/ALVR-common/common-utils.cpp"
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/ALVR-common/reedsolomon/rs.o" "-c" "cpp/ALVR-common/reedsolomon/rs.c"
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/ALVR-common/exception.o" "-c" "cpp/ALVR-common/exception.cpp"
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/platform/linux/EncodePipelineSW.o" "-c" "cpp/platform/linux/EncodePipelineSW.cpp"
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/platform/linux/ffmpeg_helper.o" "-c" "cpp/platform/linux/ffmpeg_helper.cpp"
exit status: 0
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/platform/linux/CEncoder.o" "-c" "cpp/platform/linux/CEncoder.cpp"
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/platform/linux/EncodePipelineVAAPI.o" "-c" "cpp/platform/linux/EncodePipelineVAAPI.cpp"
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/platform/linux/EncodePipeline.o" "-c" "cpp/platform/linux/EncodePipeline.cpp"
exit status: 0
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/platform/linux/generated/avutil_loader.o" "-c" "cpp/platform/linux/generated/avutil_loader.cpp"
exit status: 0
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/platform/linux/generated/avfilter_loader.o" "-c" "cpp/platform/linux/generated/avfilter_loader.cpp"
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/platform/linux/generated/avcodec_loader.o" "-c" "cpp/platform/linux/generated/avcodec_loader.cpp"
exit status: 0
exit status: 0
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/platform/linux/generated/swscale_loader.o" "-c" "cpp/platform/linux/generated/swscale_loader.cpp"
exit status: 0
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/platform/linux/EncodePipelineNvEnc.o" "-c" "cpp/platform/linux/EncodePipelineNvEnc.cpp"
exit status: 0
cargo:warning=cpp/platform/linux/EncodePipelineVAAPI.cpp: In constructor ‘alvr::EncodePipelineVAAPI::EncodePipelineVAAPI(std::vector<alvr::VkFrame>&, alvr::VkFrameCtx&)’:
cargo:warning=cpp/platform/linux/EncodePipelineVAAPI.cpp:117:56: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
cargo:warning= 117 | AVCodec *codec = AVCODEC.avcodec_find_encoder_by_name(encoder_name);
cargo:warning=cpp/platform/linux/EncodePipelineSW.cpp: In constructor ‘alvr::EncodePipelineSW::EncodePipelineSW(std::vector<alvr::VkFrame>&, alvr::VkFrameCtx&)’:
cargo:warning=cpp/platform/linux/EncodePipelineSW.cpp:44:56: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
cargo:warning= 44 | AVCodec *codec = AVCODEC.avcodec_find_encoder_by_name(encoder_name);
exit status: 1
exit status: 1
exit status: 0
exit status: 0
cargo:warning=cpp/platform/linux/EncodePipelineNvEnc.cpp: In constructor ‘alvr::EncodePipelineNvEnc::EncodePipelineNvEnc(std::vector<alvr::VkFrame>&, alvr::VkFrameCtx&)’:
cargo:warning=cpp/platform/linux/EncodePipelineNvEnc.cpp:40:58: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
cargo:warning= 40 | AVCodec *codec = AVCODEC.avcodec_find_encoder_by_name(encoder_name);
exit status: 0
exit status: 1
--- stderr
error occurred: Command "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/platform/linux/EncodePipelineSW.o" "-c" "cpp/platform/linux/EncodePipelineSW.cpp" with args "c++" did not execute successfully (status code exit status: 1).
warning: build failed, waiting for other jobs to finish...
warning: `alvr_session` (lib) generated 1 warning
error: build failed
==> ERROR: A failure occurred in build().
Aborting...
I am a bit at a loss of ideas here.
Pinned Comments
m00nw4tch3r commented on 2023-09-28 04:38 (UTC) (edited on 2023-12-30 22:58 (UTC) by m00nw4tch3r)
Might be possible to do something about that with: https://github.com/ValveSoftware/steam-runtime/blob/master/doc/steamlinuxruntime-known-issues.md#sharing-directories-with-the-container
But you can also just force steamvr to launch without a runtime. (https://github.com/Scrumplex/Steam-Play-None)