Building a new project fails

After runnnig lmbr_waf.bat configure i run this : lmbr_waf.bat build_win_x64_vs2015_profile -p all

EDIT: I have also noticed in the documentation it says to enable MFC for visual studio 2015. What does this mean? I can’t find any options when modifying the visual studio install (I have enable c++ stuff though)

It starts with some yellow but gets to 3035/5558 before failing. Here is the error code:

        PVRTC.cpp
d:\Amazon\Lumberyard\1.9.0.1\dev\Code\Tools\RC\ResourceCompilerImage\Formats\PVRTC.cpp(32): fatal error C1083: Cannot open include file: 'PowerVRTexTool/Include/PVRTexture.h': No such file or directory
Build failed
<++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>
Compilation failed - File: 'PVRTC.cpp.68.obj', Module: 'ResourceCompilerImage', Configuration: 'win_x64_vs2015|profile', error code 2
Input Files: 'd:\Amazon\Lumberyard\1.9.0.1\dev\Code\Tools\RC\ResourceCompilerImage\Formats\PVRTC.cpp'
Output Files: 'd:\Amazon\Lumberyard\1.9.0.1\dev\BinTemp\win_x64_vs2015_profile\Code\Tools\RC\ResourceCompilerImage\Formats\PVRTC.cpp.68.obj'
Command: 'D:\VisualStudio2015Community\VC\BIN\amd64\CL.exe /FS /Wv:18 /bigobj /nologo /W3 /WX /MP /Gy /GF /Gm- /fp:fast /Zc:wchar_t /Zc:forScope /Gd /wd4530 /Ox /Ob2 /Ot /Oi /Oy- /showIncludes /MD /wd4819 /Z7 /GR- /Id:\Amazon\Lumberyard\1.9.0.1\dev\BinTemp\win_x64_vs2015_profile\Code\Tools\RC\ResourceCompilerImage /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\Tools\RC\ResourceCompilerImage /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\CryEngine\CryCommon /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\SDKs\boost /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\Sandbox\Plugins\EditorCommon /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\Tools /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\Tools\SDKs /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\Tools\RC\ResourceCompiler /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\Tools\CryCommonTools /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\CryEngine\RenderDll /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\Tools\SDKs\squish-ccr /Id:\Amazon\Lumberyard\1.9.0.1\dev\BinTemp\win_x64_vs2015_profile\Code\Framework\AzToolsFramework /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\Framework\AzToolsFramework /Id:\Amazon\Lumberyard\1.9.0.1\dev\BinTemp\win_x64_vs2015_profile\Code\Framework\AzFramework /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\Framework\AzFramework /Id:\Amazon\Lumberyard\1.9.0.1\dev\BinTemp\win_x64_vs2015_profile\Code\Framework\GridMate /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\Framework\GridMate /Id:\Amazon\Lumberyard\1.9.0.1\dev\BinTemp\win_x64_vs2015_profile\Code\Framework\AzCore /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\Framework\AzCore /Id:\Amazon\Lumberyard\1.9.0.1\dev\BinTemp\win_x64_vs2015_profile\qt5\ResourceCompilerImage.68 /ID:\VisualStudio2015Community\VC\INCLUDE /ID:\VisualStudio2015Community\VC\ATLMFC\INCLUDE /IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt /IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um /IC:\Program Files (x86)\Windows Kits\8.1\include\shared /IC:\Program Files (x86)\Windows Kits\8.1\include\um /IC:\Program Files (x86)\Windows Kits\8.1\include\winrt /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\Sandbox\SDKs\Qt\msvc2015_64\include /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\Sandbox\SDKs\Qt\msvc2015_64\include\QtCore /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\Sandbox\SDKs\Qt\msvc2015_64\include\QtCore\5.6.2 /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\Sandbox\SDKs\Qt\msvc2015_64\include\QtCore\5.6.2\QtCore /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\Sandbox\SDKs\Qt\msvc2015_64\include\QtGui /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\Sandbox\SDKs\Qt\msvc2015_64\include\QtGui\5.6.2 /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\Sandbox\SDKs\Qt\msvc2015_64\include\QtWidgets /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\Sandbox\SDKs\Qt\msvc2015_64\include\QtWidgets\5.6.2 /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\Sandbox\SDKs\Qt\msvc2015_64\include\QtWidgets\5.6.2\QtWidgets /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\Sandbox\SDKs\Qt\msvc2015_64\include\QtSvg /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\SDKs\tiff\libtiff /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\SDKs\zlib-common\include /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\SDKs\rapidjson\include /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\SDKs\rapidxml /Id:\Amazon\Lumberyard\1.9.0.1\dev\Code\SDKs\Lua /D_WIN32 /D_WIN64 /DCODE_BASE_FOLDER="d:/Amazon/Lumberyard/1.9.0.1/dev/Code/" /D_PROFILE /DPROFILE /D_ITERATOR_DEBUG_LEVEL=0 /DAZ_DEBUG_BUILD /D_AFXDLL /DRESOURCECOMPILERIMAGE_EXPORTS /DRESOURCE_COMPILER_IMAGE /DBINFOLDER_NAME="Bin64vc140" /DPLATFORM_SUPPORTS_AWS_NATIVE_SDK /DUSE_WINDOWS_DLL_SEMANTICS /DLY_BUILD=398643 /D_MT /D_DLL /DRESOURCE_COMPILER /DFORCE_STANDARD_ASSERT /DNOT_USE_CRY_MEMORY_MANAGER /D_CRT_SECURE_NO_DEPRECATE=1 /D_CRT_NONSTDC_NO_DEPRECATE=1 /DWIN32 /DQT_CORE_LIB /DQT_GUI_LIB /DQT_WIDGETS_LIB /DQT_SVG_LIB /DEXE_VERSION_INFO_0=1 /DEXE_VERSION_INFO_1=9 /DEXE_VERSION_INFO_2=0 /DEXE_VERSION_INFO_3=1 d:\Amazon\Lumberyard\1.9.0.1\dev\Code\Tools\RC\ResourceCompilerImage\Formats\PVRTC.cpp /c /Fo d:\Amazon\Lumberyard\1.9.0.1\dev\BinTemp\win_x64_vs2015_profile\Code\Tools\RC\ResourceCompilerImage\Formats\PVRTC.cpp.68.obj'
Output:
PVRTC.cpp
d:\Amazon\Lumberyard\1.9.0.1\dev\Code\Tools\RC\ResourceCompilerImage\Formats\PVRTC.cpp(32): fatal error C1083: Cannot open include file: 'PowerVRTexTool/Include/PVRTexture.h': No such file or directory
<++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>

HELP! What have I done wrong? Should i try re-installing Lumberyard?

I only had the first 4 boxes ticked in the getting started section of the setupassistant. I ticked the 5th one too and then it worked. Problem SOLVED.

Glad you got this resolved! Thanks for sharing :smiley: