Issue Getting hello_xr running through android studio
Hi, I tried following the tutorial for hello_xr on the website. However, whenever I try building I get errors. I have checked multiple times to make sure I follow the instructions exactly, but it keeps happening. I have attached the error codes.
- CMake Error at src/api_layers/CMakeLists.txt:75 (add_library): Target "XrApiLayer_api_dump" links to target "OpenXR::headers" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? CMake Error at src/api_layers/CMakeLists.txt:143 (add_library): Target "XrApiLayer_core_validation" links to target "OpenXR::headers" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? CMake Error at src/tests/c_compile_test/CMakeLists.txt:19 (add_library): Target "openxr_c_compile_test" links to target "OpenXR::openxr_loader" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? CMake Error at src/tests/hello_xr/CMakeLists.txt:26 (add_library): Target "hello_xr" links to target "OpenXR::openxr_loader" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? CMake Error at src/tests/list_json/CMakeLists.txt:22 (add_library): Target "openxr_runtime_list_json" links to target "OpenXR::openxr_loader" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? CMake Generate step failed. Build files cannot be regenerated correctly.
