OpenXR-Samples
OpenXR-Samples copied to clipboard
Problems building
I am having a little trouble building the examples on Windows. My first time (indirectly) using (ez)vcpkg, so I might have made some rookie mistake(s)...
First, when running CMake, I just got an error that vcpkg was not able to determine the compiler version.
By checking the log files, it turns out that for whatever reasaon, the vcpkg version downloaded by ezvcpkg (into ~/.ezvcpkg/7d90f94da
) was missing the detect_compiler
folder in scripts folder.
I manually cloned the latest master of https://github.com/microsoft/vcpkg and put it into the ~/.ezvcpkg/7d90f94da folder, then at least the initial vcpkg run triggered through CMake ran through.
Now however I get another error in CMake when generating:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
BASISU_ENCODER_LIBRARY
linked by target "common" in directory C:/Tools/OpenXR-Samples/src/common
linked by target "gl_imgui" in directory C:/Tools/OpenXR-Samples/src/examples
linked by target "sdl2_gl_single_file_example" in directory C:/Tools/OpenXR-Samples/src/examples
linked by target "magnum_cubemap_example" in directory C:/Tools/OpenXR-Samples/src/examples
linked by target "magnum_cylinder_example" in directory C:/Tools/OpenXR-Samples/src/examples
linked by target "magnum_equirect_example" in directory C:/Tools/OpenXR-Samples/src/examples
linked by target "magnum_example" in directory C:/Tools/OpenXR-Samples/src/examples
linked by target "sdl2_gl_single_file_example_c" in directory C:/Tools/OpenXR-Samples/src/examples
BASISU_TRANSCODER_LIBRARY
linked by target "common" in directory C:/Tools/OpenXR-Samples/src/common
linked by target "gl_imgui" in directory C:/Tools/OpenXR-Samples/src/examples
linked by target "sdl2_gl_single_file_example" in directory C:/Tools/OpenXR-Samples/src/examples
linked by target "magnum_cubemap_example" in directory C:/Tools/OpenXR-Samples/src/examples
linked by target "magnum_cylinder_example" in directory C:/Tools/OpenXR-Samples/src/examples
linked by target "magnum_equirect_example" in directory C:/Tools/OpenXR-Samples/src/examples
linked by target "magnum_example" in directory C:/Tools/OpenXR-Samples/src/examples
linked by target "sdl2_gl_single_file_example_c" in directory C:/Tools/OpenXR-Samples/src/examples
Checking in .ezvcpkg\7d90f94da\installed\x64-windows\bin
, there indeed seems to be no basisu libraries there...
However, EZVCPKG initially wrote into CMake status messages:
EZVCPKG Building/Verifying packages assimp;basisu;fmt;glad;glm;glfw3;imgui;openxr-loader;vulkan;magnum
So it should have tried to build those. I do see a .ezvcpkg\7d90f94da\packages\basisu_x64-windows
folder, but it only contains a basisu.exe
in a tools/basisu
subfolder and a copyright
, vcpkg.spdx.json
and vcpkg_abi_info.txt
in a share/basisu
subfolder - no library.
I have checked the logs in the buildtrees subfolder and couldn't find anything out of the ordinary (all the -err .log files are empty, the ninja log only shows creating an .exe).
What can I do to get the examples running? Thanks in advance!