Unable to build a new project #549
Comments
Hi @guifrediani the logs indicate there is some permissions issue with your g:\lumberyard\1.28.0.0\dev\bin64vc142 folder.
Is it possible you are using Perforce and have checked in the files in that folder, making them read only? Another possibility is that those files are in use because the AssetProcessor or Editor is still open and need to be closed. The other errors appear to be related to Qt and could indicate you are using a version of the Visual Studio compiler
|
Hey, i double checked and i dont have Perforce installed ( i didnt even know what Perforce was) and no other softwares were running while building, just the project configurator. I installed Visual Studio using the Custom Install option and all the required SDKs, also, i dont know if i'm using the Visual Studio Compiler or not. |
Hi @guifrediani , please investigate the permission issues writing to this folder g:\lumberyard\1.28.0.0\dev\bin64vc142
|
Hey |
Hi @guifrediani, I recommend unchecking the readonly setting for that folder and letting it unset readonly on all those files, and then trying to create the project again. You shouldn't need to delete those files manually. |
For some reason even after i uncheck the readonly setting, when i open the folder's settings, the readonly setting appears to be checked |
Are the files themselves still set to readonly? |
Yeah, even after i click apply to all folders and wait for it to finish Oh, sorry, the folders are still readonly but the files are not readonly now |
OK, if the files are no longer readonly that should be good enough. Please try creating the project again and see if you get the same or different errors. |
I created a new project and tried to build, but i think i got the same errors: Link for logs download: https://www.dropbox.com/s/lmi6lakul96ldb0/SecondProject_build.log?dl=0 |
I've found another potential problem. I think the version of Visual Studio 2019 you are using 14.28.29910 is lower than the minimum supported version Visual Studio 2019 (any Edition): version 16.2.4 Can you verify your Visual Studio 2019 version meets the minimum requirements? EDIT I may be confusing the runtime with the VS version, but can you check your version to be sure? |
Just checked, my VS version is 16.9.6, i guess it meets the minimum version right? I downloaded it today and checked the C++ game and desktop development, the windows 10 sdk and the msvc version |
That looks good, can you open this file and search for the text 'nodiscard' without the quotes? G:\Lumberyard\1.28.0.0\3rdParty\Qt\5.15.1.1-az\msvc2019_64\include\QtGui\qcolor.h For some reason, the errors indicate this attribute exists in that file (and another) but I do not see that attribute in the official code.
|
There is a possible related Qt bug filed here that may be related https://bugreports.qt.io/browse/QTBUG-93748 To test this theory can you try changing the code in qcolor.h from
to
then save and try to create a project again? There may be a couple other places we need to change too to fix this issue (looking now) |
Found another in 3rdParty\Qt\5.15.1.1-az\msvc2019_64\include\QtGui\qpainterpath.h (line 207), need to change from
to
|
i just need to replace the content of those lines and then try to build the project again, right? |
correct |
lines replaced, rebuilding it now |
no errors so far, but there are more than 5000 tasks to build so it might take a while to finish |
More than 3000 tasks built and no errors so far, hopefully it stays that way and i can finally keep up with the official Lumberyard Tutorial If anything happens, i'll let you know. |
Good morning @AMZN-alexpete, i was able to build the new project and the welcomeguide project from youtube yesterday, thank you so much for helping me out on this! I still think that the fact that you were able to find the bug in another forum and basically, another subject is kinda crazy and impressive! Again, thank you so much and i hope that this issue can help other with the same bug! Have a nice day! |
Thanks for reporting the issue, happy game-deving! |
Describe the bug
Cant build new project
Steps to reproduce
Create the new project using the Project Configurator using the default settings (v1.28.0.0)
Try to build it using the rebuild project button in Project Configurator (v1.28.0.0)
Expected behavior
Get a complete build to start a new project
Screenshots/Logs
https://www.dropbox.com/s/jdexl0pjje0ux3q/BuildTestlog.txt?dl=0 (download the log file)
Lumberyard version
v1.28.0.0 but i had the same issue with 1.27
[OPTIONAL] What is your role in game development?
Student
[OPTIONAL] Tell us about your project or studio.
The text was updated successfully, but these errors were encountered: