Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OpenXR] Error while building project. #691

Open
JaviNunsys opened this issue Apr 24, 2024 · 3 comments
Open

[OpenXR] Error while building project. #691

JaviNunsys opened this issue Apr 24, 2024 · 3 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. sig/build Categorizes an issue or PR as relevant to SIG Build. triage/needs-inforamtion Indicates an issue needs more information in order to triage

Comments

@JaviNunsys
Copy link

I'm not able to build and open the sample project for OpenXR.

The CMakeProjectBuildError log shows the following error:

.../o3de-extras/Gems/OpenXRVk/Code/CMakeLists.txt:11 (o3de_gem_setup):
Unknown CMake command "o3de_gem_setup".

What am I missing? Thanks!

@JaviNunsys JaviNunsys added kind/bug Categorizes issue or PR as related to a bug. needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Apr 24, 2024
@lemonade-dm
Copy link
Contributor

Are you using an older version of the Engine?
If so the main branch from o3de-extras would need to be used.

The o3de_gem_setup function was added to the O3DE engine development branch in November here.

The OpenXR gem development branch version was updated to use the o3d3_gem_setup function at the beginning of February https://github.com/o3de/o3de-extras/blame/development/Gems/OpenXRVk/Code/CMakeLists.txt#L9-L11.

If you are using the O3DE 23.10.2 point release, then the o3de-extras development branch is too new to use.
Either the main branch or the point-release-23102 branch needs to be used

@lemonade-dm lemonade-dm added sig/build Categorizes an issue or PR as relevant to SIG Build. and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Apr 24, 2024
@lemonade-dm lemonade-dm reopened this Apr 24, 2024
@lemonade-dm lemonade-dm added the triage/needs-inforamtion Indicates an issue needs more information in order to triage label Apr 24, 2024
@lemonade-dm
Copy link
Contributor

I am keeping this issue open waiting for a reply.

@JaviNunsys
Copy link
Author

Hi! Thanks for your help!

I switched to 23102 release, but I'm still getting a different error message.

Checking Build System
Building Custom Rule D:/Users/javier.serra/Downloads/o3de-extras-2310.2-lfs/Projects/OpenXRTest/Gem/CMakeLists.txt
unity_0_cxx.cxx
OpenXRTest.Static.vcxproj -> D:\Users\javier.serra\Downloads\o3de-extras-2310.2-lfs\Projects\OpenXRTest\build\windows\lib\profile\OpenXRTest.Static.lib
Copying OpenXRTest runtime dependencies to output...
Building Custom Rule D:/Users/javier.serra/Downloads/o3de-extras-2310.2-lfs/Projects/OpenXRTest/Gem/CMakeLists.txt
unity_0_cxx.cxx
Creando biblioteca D:/Users/javier.serra/Downloads/o3de-extras-2310.2-lfs/Projects/OpenXRTest/build/windows/lib/profile/OpenXRTest.lib y objeto D:/Users/javier.serra/Downloads/o3de-extras-2310.2-lfs/Projects/OpenXRTest/build/windows/lib/profile/OpenXRTest.exp
OpenXRTest.vcxproj -> D:\Users\javier.serra\Downloads\o3de-extras-2310.2-lfs\Projects\OpenXRTest\build\windows\bin\profile\OpenXRTest.dll
Building Custom Rule D:/Users/javier.serra/Downloads/o3de-extras-2310.2-lfs/Gems/XR/Code/CMakeLists.txt
unity_0_cxx.cxx
D:\Users\javier.serra\Downloads\o3de-extras-2310.2-lfs\Gems\XR\Code\Include\XR\XRSystem.h(74,29): error C3668: 'XR::System::GetControllerTransform': el m?todo con el especificador de invalidaci?n 'override' no invalid? ning?n m?todo de clase base [D:\Users\javier.serra\Downloads\o3de-extras-2310.2-lfs\Projects\OpenXRTest\build\windows\External\XR-67d75bbc\Code\XR.Static.vcxproj]
AZ::RHI::ResultCode GetControllerTransform(const AZ::u32 handIndex, AZ::Transform& outTransform) const override;
^ (compilando archivo de origen "CMakeFiles/XR.Static.dir/Unity/unity_1_cxx.cxx")

D:\Users\javier.serra\Downloads\o3de-extras-2310.2-lfs\Gems\XR\Code\Include\XR\XRSystem.h(74,29): error C3668: 'XR::System::GetControllerTransform': el m?todo con el especificador de invalidaci?n 'override' no invalid? ning?n m?todo de clase base [D:\Users\javier.serra\Downloads\o3de-extras-2310.2-lfs\Projects\OpenXRTest\build\windows\External\XR-67d75bbc\Code\XR.Static.vcxproj]
AZ::RHI::ResultCode GetControllerTransform(const AZ::u32 handIndex, AZ::Transform& outTransform) const override;
^ (compilando archivo de origen "CMakeFiles/XR.Static.dir/Unity/unity_0_cxx.cxx")

unity_1_cxx.cxx

Any hint about this?

@JaviNunsys JaviNunsys closed this as not planned Won't fix, can't repro, duplicate, stale Apr 25, 2024
@JaviNunsys JaviNunsys reopened this Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. sig/build Categorizes an issue or PR as relevant to SIG Build. triage/needs-inforamtion Indicates an issue needs more information in order to triage
Projects
None yet
Development

No branches or pull requests

2 participants