Error when trying to launch new project in editor on Lumberyard 1.25

I just installed lumberyard and when into the project configuration and created a new project (Requiem) and that screen showed me that it built the project and everything; however, when I go into the editor, I get an error from the Asset Processor, picture of the error message is below. I have noticed that in the Bin64vc142 there is no Gem.Requiem.something.dll file either. So it looks to be that Gem was not compiled and could not find a way to manually compile that Gem like with VS2019 or command line

lumberyardError

1 Like

I just tested this, at least with 1.25 you should be able to build from command line and it should build what is necessary in minutes instead of taking 2 hours to build everything.

Run these commands in your dev directory from command line.

Configure the project:
lmbr_waf configure

Build all for VS2019:
lmbr_waf build_win_x64_vs2019_profile -p all --progress

1 Like

when i run “lmbr_waf build_win_x64_vs2019_profile -p all --progress” i get a build error:

e:\Games\Requiem\lumberyard\dev\Code\Framework\AzQtComponents\AzQtComponents/Components/AutoCustomWindowDecorations.h(15): fatal error C1083: Cannot open include file: ‘QObject’: No such file or directory
ButtonDivider.cpp
e:\Games\Requiem\lumberyard\dev\Code\Framework\AzQtComponents\AzQtComponents/Components/ButtonDivider.h(16): fatal error C1083: Cannot open include file: ‘QFrame’: No such file or directory
Build failed
<++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>
Compilation failed - File: ‘AutoCustomWindowDecorations.cpp.9426794.obj’, Module: ‘AzQtComponents’, Configuration: ‘win_x64_vs2019|profile’, error code 2
Input Files: ‘e:\Games\Requiem\lumberyard\dev\Code\Framework\AzQtComponents\AzQtComponents\Components\AutoCustomWindowDecorations.cpp’
Output Files: ‘e:\Games\Requiem\lumberyard\dev\BinTemp\win_x64_vs2019_profile\Code\Framework\AzQtComponents\AzQtComponents\Components\AutoCustomWindowDecorations.cpp.9426794.obj’
Command: ‘C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\bin\HostX64\x64\CL.exe /bigobj /nologo /WX /MP /Gy /GF /Gm- /fp:fast /Zc:wchar_t /Zc:forScope /Gd /Zc:inline /wd4530 /wd4577 /FS /std:c++17 /Zc:__cplusplus /experimental:external /external:W0 /wd4193 /Ox /Ob2 /Ot /Oi /Oy- /GR /showIncludes /MD /W4 /wd4127 /wd4251 /wd4351 /Z7 /Ie:\Games\Requiem\lumberyard\dev\BinTemp\win_x64_vs2019_profile\Code\Framework\AzQtComponents\AzQtComponents /Ie:\Games\Requiem\lumberyard\dev\Code\Framework\AzQtComponents\AzQtComponents /Ie:\Games\Requiem\lumberyard\dev\BinTemp\win_x64_vs2019_profile\Code\Framework\AzQtComponents /Ie:\Games\Requiem\lumberyard\dev\Code\Framework\AzQtComponents /Ie:\Games\Requiem\lumberyard\dev\BinTemp\win_x64_vs2019_profile\Code\Framework\AzToolsFramework /Ie:\Games\Requiem\lumberyard\dev\Code\Framework\AzToolsFramework /Ie:\Games\Requiem\lumberyard\dev\BinTemp\win_x64_vs2019_profile\Code\Framework\AzFramework /Ie:\Games\Requiem\lumberyard\dev\Code\Framework\AzFramework /Ie:\Games\Requiem\lumberyard\dev\Code\Framework\AzFramework\Platform\Windows /Ie:\Games\Requiem\lumberyard\dev\BinTemp\win_x64_vs2019_profile\Code\Framework\GridMate /Ie:\Games\Requiem\lumberyard\dev\Code\Framework\GridMate /Ie:\Games\Requiem\lumberyard\dev\Code\Framework\GridMate\Platform\Windows /Ie:\Games\Requiem\lumberyard\dev\BinTemp\win_x64_vs2019_profile\Code\Framework\AzCore /Ie:\Games\Requiem\lumberyard\dev\Code\Framework\AzCore /Ie:\Games\Requiem\lumberyard\dev\Code\Framework\AzCore\Platform\Windows /IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\ATLMFC\include /IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\include /IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um /IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt /IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared /IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um /IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt /IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt /external:IE:\Games\Requiem\lumberyard\3rdParty\rapidjson\rapidjson-1.1.0\include /external:IE:\Games\Requiem\lumberyard\3rdParty\rapidxml\1.13-modified.1\include /external:IE:\Games\Requiem\lumberyard\3rdParty\Lua\5.1.1.9-az /external:IE:\Games\Requiem\lumberyard\3rdParty\zstd\1.35-pkg.1\lib /external:IE:\Games\Requiem\lumberyard\3rdParty\zstd\1.35-pkg.1\lib\common /external:IE:\Games\Requiem\lumberyard\3rdParty\zstd\1.35-pkg.1\lib\compress /external:IE:\Games\Requiem\lumberyard\3rdParty\zstd\1.35-pkg.1\lib\decompress /external:IE:\Games\Requiem\lumberyard\3rdParty\lz4\r128-pkg.3\lib /external:IE:\Games\Requiem\lumberyard\3rdParty\zlib\1.2.8-pkg.3\include /DPRODUCT_SKU_default /D_WIN32 /D_WIN64 /D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING /D_ENABLE_EXTENDED_ALIGNED_STORAGE /D_PROFILE /DPROFILE /DNDEBUG /DAZ_ENABLE_TRACING /DAZ_ENABLE_DEBUG_TOOLS /DEXE_VERSION_INFO_0=1 /DEXE_VERSION_INFO_1=25 /DEXE_VERSION_INFO_2=0 /DEXE_VERSION_INFO_3=0 /DQT_QML_DEBUG /DAZ_QT_COMPONENTS_EXPORT_SYMBOLS /D_MT /D_DLL /DPLATFORM_SUPPORTS_AWS_NATIVE_SDK /DUSE_WINDOWS_DLL_SEMANTICS /DRESOURCE_COMPILER /DFORCE_STANDARD_ASSERT /D_CRT_SECURE_NO_DEPRECATE=1 /D_CRT_NONSTDC_NO_DEPRECATE=1 /DWIN32 /DWIN64 /DNOMINMAX /DLY_METRICS_BUILD_TIME=0 /DUSE_ZSTD e:\Games\Requiem\lumberyard\dev\Code\Framework\AzQtComponents\AzQtComponents\Components\AutoCustomWindowDecorations.cpp /c /Fo e:\Games\Requiem\lumberyard\dev\BinTemp\win_x64_vs2019_profile\Code\Framework\AzQtComponents\AzQtComponents\Components\AutoCustomWindowDecorations.cpp.9426794.obj’
Output:
AutoCustomWindowDecorations.cpp
e:\Games\Requiem\lumberyard\dev\Code\Framework\AzQtComponents\AzQtComponents/Components/AutoCustomWindowDecorations.h(15): fatal error C1083: Cannot open include file: ‘QObject’: No such file or directory
<++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>

1 Like

@ravenboilinux

Have you run Setup Assistant and made sure you have all the requirements? This looks like it’s having trouble finding Qt.

There’s a good, current set of installation instructions here:
https://docs.aws.amazon.com/lumberyard/latest/welcomeguide/wg-setup-intro.html
Particularly this page for Setup Assistant.
https://docs.aws.amazon.com/lumberyard/latest/welcomeguide/wg-setup-assistant.html

Make sure you have green checks for everything on the Install Required SDKs page. Also important to make sure the Path at the top of the Required SDKs page correctly points to your third party folder. If you are coming from an older version of Lumberyard, it’s possible that Qt was upgraded and needs to be re-downloaded.

Yes I did for the items that I had checked. I did some digging and the command “lmbr_waf build_win_x64_vs2019_profile -p all --progress” required the Qt framework is only copied when you have selected “compile the engine and asset pipeline” which I did not select.

2 Likes

Ahh, sorry, I should have thought of that. Glad you worked it out!