o3de-atom-sampleviewer
o3de-atom-sampleviewer copied to clipboard
[Stabilization Release/22.05.0] Building a Pre-built SDK Monolithic Release configuration of AtomSampleViewer project fails
Describe the bug Pre-built SDK Monolithic Release build of the AtomSampleViewer project fails, resulting in the \bin\Windows\release\Monolithic not being created. The following error can be seen near the middle of the building:
C:/o3de-atom-sampleviewer/Gem/Code/Source/Automation/ScriptManager.cpp(1145,22): error C5233: explicit lambda capture '
message' is not used [C:\o3de-atom-sampleviewer\build\windows_mono\External\o3de-atom-sampleviewer-79f2bcb2\Gem\Code\At
omSampleViewer.Private.Static.vcxproj]
auto func = [message]()
^
Please refer to the full Command Line log for more information.
Prerequisites
- AtomSampleViewer is already built for Windows in Profile.
- All of the project's assets have been processed.
- Engine, Asset Processor, and the Project Manager are all closed.
Steps to reproduce
Run the following CMD commands from the AtomSampleViewer project's directory:
cmake -B build\windows_mono -S . -DLY_MONOLITHIC_GAME=1 -DCMAKE_INSTALL_PREFIX=C:\o3de-install
cmake --build build\windows_mono --target INSTALL --config release
Expected behavior The release build is successful.
Actual behavior The release build does not create the install directory and errors are printed to the Command Line.
Assets required https://github.com/o3de/o3de-atom-sampleviewer
Found in Branch ASV: Stabilization/2205(3efc7e3) O3DE: Stabilization/2205(3e47df2)
Desktop/Device:
- Device: PC
- OS: Windows
- Version: 10
- CPU: Intel Core i5-9600K
- GPU: NVIDIA GeForce RTX 2070
- Memory: 16GB
Additional context AtomSampleViewer_Release_INSTALL.txt
Removed from the milestone as Release builds are not a priority. Assigned to @rgba16f for upcoming sprint.
@galibzon do we support an install build of AtomSampleViewer? I could see a monolithic build as it's necessary for mobile platforms, but I'm not sure it was decided to support a pre-built sdk version of ASV.
I have fixes for the release config compile issues O3DE - https://github.com/o3de/o3de/pull/9517 AtomSampleViewer - https://github.com/o3de/o3de-atom-sampleviewer/pull/446
The release build fixes have now been committed to the development branch (too late for 2205). Assigning issue to @galibzon for discussion of whether an Install build is supported for AtomSampleViewer.
@galibzon Can we close this bug?