-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Cannot build point-release/23103 on Linux in release config. #17844
Comments
The release build failed on 2310.2. It went through on 2310.1 |
Meshlets are not officially supported on O3DE, and are not available by default in the list of selected gems to enable. To get this gem to work requires quite a bit of work documented in its readme, as well as custom registration and hand-activation of it, else it wont even show up in Project Manager. I was a able to get it to work on linux ubuntu 22.04 by manually installing the find_package(meshoptimizer CONFIG REQUIRED) # use system provided library
# there is only one config shipped in the above library, called "NONE". Map O3DE configs to it.
set_target_properties(meshoptimizer::meshoptimizer PROPERTIES MAP_IMPORTED_CONFIG_RELEASE NONE)
set_target_properties(meshoptimizer::meshoptimizer PROPERTIES MAP_IMPORTED_CONFIG_DEBUG NONE)
set_target_properties(meshoptimizer::meshoptimizer PROPERTIES MAP_IMPORTED_CONFIG_PROFILE NONE) to the linux 3rd party package list in We should probably fixup this gem and move it to extras... |
We should just remove it from the point release then. |
Well the Meshlets Gem is not part of the engine.json file, so it shouldn't be building in the first place as CMake should not be visiting the CMakeLists.txt for the Gems/Meshlets folder. We can debug which Gems folders are being added to the build by setting the CMake log level to verbose using the There is VERBOSE log messages that outputs all external_subdirectories in Subdirectories.cmake |
Describe the bug
I've tried to build the Engine and got some compilation errors.
1st unused variable
Uuid modelId
inGems/Meshlets/Code/Source/Meshlets/MeshletsAssets.cpp
2nd error (after commenting out 1st one):
Assets required
Build script:
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
It should build in release.
Actual behavior
Fails:
Found in Branch
Name of or link to the branch where the issue occurs.
Commit ID from o3de/o3de Repository
97c9922 (HEAD -> point-release/23103, origin/point-release/23103)
Desktop/Device (please complete the following information):
The text was updated successfully, but these errors were encountered: