Package Details: alvr 20.11.1-1

Git Clone URL: https://aur.archlinux.org/alvr.git (read-only, click to copy)
Package Base: alvr
Description: Experimental Linux version of ALVR. Stream VR games from your PC to your headset via Wi-Fi.
Upstream URL: https://github.com/alvr-org/ALVR
Licenses: MIT
Conflicts: alvr
Provides: alvr
Submitter: m00nw4tch3r
Maintainer: m00nw4tch3r (alvrbot1)
Last Packager: m00nw4tch3r
Votes: 23
Popularity: 0.132280
First Submitted: 2021-09-23 21:53 (UTC)
Last Updated: 2024-10-02 06:31 (UTC)

Pinned Comments

m00nw4tch3r commented on 2024-09-03 10:22 (UTC)

Troubleshooting Guide: https://github.com/alvr-org/ALVR/wiki/Linux-Troubleshooting

DocMAX commented on 2024-09-01 10:41 (UTC)

Needs PRESSURE_VESSEL_FILESYSTEMS_RO="/usr/lib/steamvr/alvr/" to make it work. Please include this.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »

wolcen commented on 2023-06-12 00:18 (UTC)

Hi @arbitar - the latest build worked great here today. No consolation, I realize, but maybe offers a little hope?

Depending on how your Rust is installed, a rustup update may help - then take things from the top? I'm guessing something is out of date in there (cargo --version here is 1.70.0)

arbitar commented on 2023-06-11 23:45 (UTC)

Hi all,

I'm having an issue building this and am struggling to figure out exactly where the issue is coming from. I am very not at all hip with Rust compilation but it seems to me that every Cargo.toml in this project uses some kind of completely unsupported configuration inheritance syntax? And thus will not even attempt to begin building. Am I missing something?

==> Starting prepare()...
error: failed to load manifest for workspace member `/home/admin/aur/alvr/src/alvr/alvr/audio`

Caused by:
  failed to parse manifest at `/home/admin/aur/alvr/src/alvr/alvr/audio/Cargo.toml`

Caused by:
  invalid type: map, expected a sequence for key `package.authors`
==> ERROR: A failure occurred in prepare().
    Aborting...

cwrau commented on 2023-05-25 21:22 (UTC) (edited on 2023-05-25 21:32 (UTC) by cwrau)

Same build problems here;

$ bash -c "./configure --prefix=/tmp/cwr/makepkg/alvr/src/alvr/deps/linux/ffmpeg/alvr_build --enable-gpl --enable-version3 --enable-static --enable-shared --disable-programs --disable-doc --disable-avdevice --disable-avformat --disable-swresample --disable-postproc --disable-network --enable-lto --disable-everything --enable-encoder=h264_vaapi --enable-encoder=hevc_vaapi --enable-encoder=libx264 --enable-encoder=libx264rgb --enable-hwaccel=h264_vaapi --enable-hwaccel=hevc_vaapi --enable-filter=scale --enable-filter=scale_vaapi --enable-libx264 --enable-vulkan --enable-libdrm --enable-pic --enable-rpath --enable-encoder=h264_nvenc --enable-encoder=hevc_nvenc --enable-nonfree --enable-cuda-nvcc --enable-libnpp --enable-hwaccel=h264_nvenc --enable-hwaccel=hevc_nvenc --nvccflags=\"-gencode arch=compute_52,code=sm_52 -O2\" --extra-cflags=\"-I/opt/cuda/targets/x86_64-linux/include\" --extra-ldflags=\"-L/opt/cuda/targets/x86_64-linux/lib\""

ERROR: failed checking for nvcc.

After installing cuda and updating the PATH I still get the same error 😕

For the git Version installing Cuda and updating the PATH works.

theriddick commented on 2023-05-19 02:10 (UTC) (edited on 2023-05-19 02:14 (UTC) by theriddick)

Got same fail as the others below. Guess this is a no go.

Git version appears to compile fine.

urbenlegend commented on 2023-05-16 21:32 (UTC)

@stabares

You just need to reboot your machine (or logout and log back in). Installing CUDA does automatically add it to your PATH, but that change only takes affect in a new session. Restarting after installing CUDA allowed the ALVR package to continue to build.

stabares commented on 2023-05-11 19:17 (UTC)

Here it tries to use CUDA and fails if it's not installed. Maybe it sees the nvidia drivers and tries to use it? After installing CUDA it fails to locate nvcc (located at /opt/cuda/bin/nvcc). Added /opt/cuda/bin to PATH and it built fine, but there probably is a better way to tell it where it's located.

I'm building it on Manjaro, btw.

rvasilev commented on 2023-05-11 16:32 (UTC) (edited on 2023-05-11 16:38 (UTC) by rvasilev)

Should compile with suggested changes to alvr.patch

# VVV Introduced in v19.1.0
diff --git a/alvr/vulkan_layer/layer/layer.h b/alvr/vulkan_layer/layer/layer.h
index b17f8e58..8676ec53 100644
--- a/alvr/vulkan_layer/layer/layer.h
+++ b/alvr/vulkan_layer/layer/layer.h
@@ -2,6 +2,7 @@

 #include <vulkan/vk_layer.h>

+#define VK_LAYER_EXPORT __attribute__((visibility("default")))
 extern "C" const char *g_sessionPath;

 extern "C" VK_LAYER_EXPORT PFN_vkVoidFunction VKAPI_CALL wsi_layer_vkGetDeviceProcAddr(VkDevice device, const char *funcName);

# VVV Introduced in v19.1.1
diff --git a/alvr/vulkan_layer/layer/settings.h b/alvr/vulkan_layer/layer/settings.h
index 8932a7ad..233fc268 100644
--- a/alvr/vulkan_layer/layer/settings.h
+++ b/alvr/vulkan_layer/layer/settings.h
@@ -1,6 +1,7 @@
 #pragma once

 #include <string>
+#include <cstdint>

 class Settings
 {

BTWonline commented on 2023-05-11 15:31 (UTC) (edited on 2023-05-11 15:32 (UTC) by BTWonline)

Got a similar error to hcjl. This is from my Zen 3 desktop, but my Skylake laptop also didn't compile.

The following warnings were emitted during compilation:

warning: In file included from ./layer/settings.cpp:1:
warning: ./layer/settings.h:24:9: error: ‘uint32_t’ does not name a type
warning:    24 |         uint32_t m_renderWidth;
warning:       |         ^~~~~~~~
warning: ./layer/settings.h:4:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
warning:     3 | #include <string>
warning:   +++ |+#include <cstdint>
warning:     4 | 
warning: ./layer/settings.h:25:9: error: ‘uint32_t’ does not name a type
warning:    25 |         uint32_t m_renderHeight;
warning:       |         ^~~~~~~~
warning: ./layer/settings.h:25:9: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
warning: ./layer/settings.cpp: In member function ‘void Settings::Load()’:
warning: ./layer/settings.cpp:47:17: error: ‘m_renderWidth’ was not declared in this scope
warning:    47 |                 m_renderWidth = config.get("eye_resolution_width").get<int64_t>() * 2;
warning:       |                 ^~~~~~~~~~~~~
warning: ./layer/settings.cpp:48:17: error: ‘m_renderHeight’ was not declared in this scope
warning:    48 |                 m_renderHeight = config.get("eye_resolution_height").get<int64_t>();
warning:       |                 ^~~~~~~~~~~~~~

error: failed to run custom build command for `alvr_vulkan_layer v19.1.1 (/tmp/yay/alvr/src/alvr/alvr/vulkan_layer)`

Caused by:
  process didn't exit successfully: `/tmp/yay/alvr/src/alvr/target/release/build/alvr_vulkan_layer-c409fe71eb722982/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-env-changed=VULKAN_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=VULKAN_STATIC
  cargo:rerun-if-env-changed=VULKAN_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=SYSROOT
  cargo:rerun-if-env-changed=VULKAN_STATIC
  cargo:rerun-if-env-changed=VULKAN_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rustc-link-search=native=/usr/lib
  cargo:rustc-link-lib=vulkan
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=VULKAN_STATIC
  cargo:rerun-if-env-changed=VULKAN_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=LIBUNWIND_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=LIBUNWIND_STATIC
  cargo:rerun-if-env-changed=LIBUNWIND_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=SYSROOT
  cargo:rerun-if-env-changed=LIBUNWIND_STATIC
  cargo:rerun-if-env-changed=LIBUNWIND_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rustc-link-search=native=/usr/lib
  cargo:rustc-link-lib=unwind
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=LIBUNWIND_STATIC
  cargo:rerun-if-env-changed=LIBUNWIND_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  TARGET = Some("x86_64-unknown-linux-gnu")
  OPT_LEVEL = Some("3")
  HOST = Some("x86_64-unknown-linux-gnu")
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  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")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("false")
  CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  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")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  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" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer" "-I" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/tmp/yay/alvr/src/alvr/target/release/build/alvr_vulkan_layer-0375684fe18aea42/out/./wsi/wsi_factory.o" "-c" "./wsi/wsi_factory.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" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer" "-I" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/tmp/yay/alvr/src/alvr/target/release/build/alvr_vulkan_layer-0375684fe18aea42/out/./wsi/swapchain_base.o" "-c" "./wsi/swapchain_base.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" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer" "-I" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/tmp/yay/alvr/src/alvr/target/release/build/alvr_vulkan_layer-0375684fe18aea42/out/./wsi/headless/swapchain.o" "-c" "./wsi/headless/swapchain.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" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer" "-I" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/tmp/yay/alvr/src/alvr/target/release/build/alvr_vulkan_layer-0375684fe18aea42/out/./wsi/headless/surface_properties.o" "-c" "./wsi/headless/surface_properties.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" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer" "-I" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/tmp/yay/alvr/src/alvr/target/release/build/alvr_vulkan_layer-0375684fe18aea42/out/./wsi/display.o" "-c" "./wsi/display.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" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer" "-I" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/tmp/yay/alvr/src/alvr/target/release/build/alvr_vulkan_layer-0375684fe18aea42/out/./util/timed_semaphore.o" "-c" "./util/timed_semaphore.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" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer" "-I" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/tmp/yay/alvr/src/alvr/target/release/build/alvr_vulkan_layer-0375684fe18aea42/out/./util/pose.o" "-c" "./util/pose.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" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer" "-I" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/tmp/yay/alvr/src/alvr/target/release/build/alvr_vulkan_layer-0375684fe18aea42/out/./util/logger.o" "-c" "./util/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" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer" "-I" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/tmp/yay/alvr/src/alvr/target/release/build/alvr_vulkan_layer-0375684fe18aea42/out/./util/extension_list.o" "-c" "./util/extension_list.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" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer" "-I" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/tmp/yay/alvr/src/alvr/target/release/build/alvr_vulkan_layer-0375684fe18aea42/out/./util/custom_allocator.o" "-c" "./util/custom_allocator.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" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer" "-I" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/tmp/yay/alvr/src/alvr/target/release/build/alvr_vulkan_layer-0375684fe18aea42/out/./layer/layer.o" "-c" "./layer/layer.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" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer" "-I" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/tmp/yay/alvr/src/alvr/target/release/build/alvr_vulkan_layer-0375684fe18aea42/out/./layer/swapchain_api.o" "-c" "./layer/swapchain_api.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" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer" "-I" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/tmp/yay/alvr/src/alvr/target/release/build/alvr_vulkan_layer-0375684fe18aea42/out/./layer/surface_api.o" "-c" "./layer/surface_api.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" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer" "-I" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/tmp/yay/alvr/src/alvr/target/release/build/alvr_vulkan_layer-0375684fe18aea42/out/./layer/settings.o" "-c" "./layer/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" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer" "-I" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/tmp/yay/alvr/src/alvr/target/release/build/alvr_vulkan_layer-0375684fe18aea42/out/./layer/private_data.o" "-c" "./layer/private_data.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" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer" "-I" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/tmp/yay/alvr/src/alvr/target/release/build/alvr_vulkan_layer-0375684fe18aea42/out/./layer/device_api.o" "-c" "./layer/device_api.cpp"
  cargo:warning=In file included from ./layer/settings.cpp:1:
  cargo:warning=./layer/settings.h:24:9: error: ‘uint32_t’ does not name a type
  cargo:warning=   24 |         uint32_t m_renderWidth;
  cargo:warning=      |         ^~~~~~~~
  cargo:warning=./layer/settings.h:4:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  cargo:warning=    3 | #include <string>
  cargo:warning=  +++ |+#include <cstdint>
  cargo:warning=    4 | 
  cargo:warning=./layer/settings.h:25:9: error: ‘uint32_t’ does not name a type
  cargo:warning=   25 |         uint32_t m_renderHeight;
  cargo:warning=      |         ^~~~~~~~
  cargo:warning=./layer/settings.h:25:9: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  exit status: 0
  exit status: 0
  exit status: 0
  exit status: 0
  cargo:warning=./layer/settings.cpp: In member function ‘void Settings::Load()’:
  cargo:warning=./layer/settings.cpp:47:17: error: ‘m_renderWidth’ was not declared in this scope
  cargo:warning=   47 |                 m_renderWidth = config.get("eye_resolution_width").get<int64_t>() * 2;
  cargo:warning=      |                 ^~~~~~~~~~~~~
  cargo:warning=./layer/settings.cpp:48:17: error: ‘m_renderHeight’ was not declared in this scope
  cargo:warning=   48 |                 m_renderHeight = config.get("eye_resolution_height").get<int64_t>();
  cargo:warning=      |                 ^~~~~~~~~~~~~~
  exit status: 1
  exit status: 0

  --- 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" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer" "-I" "/tmp/yay/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/tmp/yay/alvr/src/alvr/target/release/build/alvr_vulkan_layer-0375684fe18aea42/out/./layer/settings.o" "-c" "./layer/settings.cpp" with args "c++" did not execute successfully (status code exit status: 1).


warning: build failed, waiting for other jobs to finish...
==> ERROR: A failure occurred in build().
    Aborting... 

hcjl commented on 2023-05-11 13:31 (UTC) (edited on 2023-05-11 18:36 (UTC) by hcjl)

Unfortunately I receive an error during build. This problem does not occur building the git version of the package. It would be great, if you could have a look at the issue. Thx!


   Compiling alcro v0.5.4
The following warnings were emitted during compilation:

warning: In file included from ./layer/settings.cpp:1:
warning: ./layer/settings.h:24:9: error: 'uint32_t' does not name a type
warning:    24 |         uint32_t m_renderWidth;
warning:       |         ^~~~~~~~
warning: ./layer/settings.h:4:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
warning:     3 | #include <string>
warning:   +++ |+#include <cstdint>
warning:     4 |
warning: ./layer/settings.h:25:9: error: 'uint32_t' does not name a type
warning:    25 |         uint32_t m_renderHeight;
warning:       |         ^~~~~~~~
warning: ./layer/settings.h:25:9: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
warning: ./layer/settings.cpp: In member function 'void Settings::Load()':
warning: ./layer/settings.cpp:47:17: error: 'm_renderWidth' was not declared in this scope
warning:    47 |                 m_renderWidth = config.get("eye_resolution_width").get<int64_t>() * 2;
warning:       |                 ^~~~~~~~~~~~~
warning: ./layer/settings.cpp:48:17: error: 'm_renderHeight' was not declared in this scope
warning:    48 |                 m_renderHeight = config.get("eye_resolution_height").get<int64_t>();
warning:       |                 ^~~~~~~~~~~~~~

error: failed to run custom build command for `alvr_vulkan_layer v19.1.1 (/home/USER/alvr/src/alvr/alvr/vulkan_layer)`

Caused by:
  process didn't exit successfully: `/home/USER/alvr/src/alvr/target/release/build/alvr_vulkan_layer-c409fe71eb722982/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-env-changed=VULKAN_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=VULKAN_STATIC
  cargo:rerun-if-env-changed=VULKAN_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=SYSROOT
  cargo:rerun-if-env-changed=VULKAN_STATIC
  cargo:rerun-if-env-changed=VULKAN_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rustc-link-search=native=/usr/lib
  cargo:rustc-link-lib=vulkan
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=VULKAN_STATIC
  cargo:rerun-if-env-changed=VULKAN_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=LIBUNWIND_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=LIBUNWIND_STATIC
  cargo:rerun-if-env-changed=LIBUNWIND_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=SYSROOT
  cargo:rerun-if-env-changed=LIBUNWIND_STATIC
  cargo:rerun-if-env-changed=LIBUNWIND_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rustc-link-search=native=/usr/lib
  cargo:rustc-link-lib=unwind
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=LIBUNWIND_STATIC
  cargo:rerun-if-env-changed=LIBUNWIND_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  TARGET = Some("x86_64-unknown-linux-gnu")
  OPT_LEVEL = Some("3")
  HOST = Some("x86_64-unknown-linux-gnu")
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  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")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("false")
  CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
  cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu
  CXX_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu
  CXX_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  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")
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  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" "/home/USER/alvr/src/alvr/alvr/vulkan_layer" "-I" "/home/USER/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/home/USER/alvr/src/alvr/target/release/build/alvr_vulkan_layer-0375684fe18aea42/out/./layer/private_data.o" "-c" "./layer/private_data.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" "/home/USER/alvr/src/alvr/alvr/vulkan_layer" "-I" "/home/USER/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/home/USER/alvr/src/alvr/target/release/build/alvr_vulkan_layer-0375684fe18aea42/out/./layer/surface_api.o" "-c" "./layer/surface_api.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" "/home/USER/alvr/src/alvr/alvr/vulkan_layer" "-I" "/home/USER/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/home/USER/alvr/src/alvr/target/release/build/alvr_vulkan_layer-0375684fe18aea42/out/./layer/settings.o" "-c" "./layer/settings.cpp"
  cargo:warning=In file included from ./layer/settings.cpp:1:
  cargo:warning=./layer/settings.h:24:9: error: 'uint32_t' does not name a type
  cargo:warning=   24 |         uint32_t m_renderWidth;
  cargo:warning=      |         ^~~~~~~~
  cargo:warning=./layer/settings.h:4:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
  cargo:warning=    3 | #include <string>
  cargo:warning=  +++ |+#include <cstdint>
  cargo:warning=    4 |
  cargo:warning=./layer/settings.h:25:9: error: 'uint32_t' does not name a type
  cargo:warning=   25 |         uint32_t m_renderHeight;
  cargo:warning=      |         ^~~~~~~~
  cargo:warning=./layer/settings.h:25:9: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
  cargo:warning=./layer/settings.cpp: In member function 'void Settings::Load()':
  cargo:warning=./layer/settings.cpp:47:17: error: 'm_renderWidth' was not declared in this scope
  cargo:warning=   47 |                 m_renderWidth = config.get("eye_resolution_width").get<int64_t>() * 2;
  cargo:warning=      |                 ^~~~~~~~~~~~~
  cargo:warning=./layer/settings.cpp:48:17: error: 'm_renderHeight' was not declared in this scope
  cargo:warning=   48 |                 m_renderHeight = config.get("eye_resolution_height").get<int64_t>();
  cargo:warning=      |                 ^~~~~~~~~~~~~~
  exit status: 1
  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" "/home/USER/alvr/src/alvr/alvr/vulkan_layer" "-I" "/home/USER/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/home/USER/alvr/src/alvr/target/release/build/alvr_vulkan_layer-0375684fe18aea42/out/./layer/layer.o" "-c" "./layer/layer.cpp"
  exit status: 0

  --- 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" "/home/USER/alvr/src/alvr/alvr/vulkan_layer" "-I" "/home/USER/alvr/src/alvr/alvr/vulkan_layer/../server/cpp" "-I" "/usr/include" "-I" "/usr/include" "-std=c++17" "-Wno-unused-parameter" "-DVK_USE_PLATFORM_XLIB_XRANDR_EXT" "-o" "/home/USER/alvr/src/alvr/target/release/build/alvr_vulkan_layer-0375684fe18aea42/out/./layer/settings.o" "-c" "./layer/settings.cpp" with args "c++" did not execute successfully (status code exit status: 1).


warning: build failed, waiting for other jobs to finish...
==> ERROR: A failure occurred in build().
    Aborting...

rust default toolchain is stable and I updated right before building.


$ rustup toolchain list
stable-x86_64-unknown-linux-gnu (default)
nightly-x86_64-unknown-linux-gnu

$ rustc -V
rustc 1.69.0 (84c898d65 2023-04-16)

m00nw4tch3r commented on 2023-04-09 22:01 (UTC)

I'll remove the pkgver, not sure why i put that there in the first place tbh. The rest does have a purpose though, so no.