Cannot create new project or build existing #442
Comments
Please carefully confirm that you have met the installation requirements for visual studio as outlined here : https://docs.aws.amazon.com/lumberyard/latest/userguide/setting-up-system-requirements.html Please confirm that you have your project selected as the default project in the Project Configurator. Instructions here : https://docs.aws.amazon.com/lumberyard/latest/userguide/configurator-projects.html#project-configurator-launch-projects |
You can use vs2017 if you want. The absence of a Qt folder for 2017 was not the cause of your issue. If you need help debugging 2017, please post a log for that issue. |
My setup:
My log for MSVS2017: I think that exactly unexistence of vc141 version of Qt causes this problem. But even for VC140 and MSVS 2015 there are another errors, on top. And for system requirements setup, I've installed and did everything shown in https://docs.aws.amazon.com/en_us/lumberyard/latest/userguide/setting-up-system-requirements.html . |
ExQDev, thank you for this detailed information. Concerning your VS2015 and VS2017 log - The command you are running "build_win_x64_vs2015_profile --enabled-game-projects=def -p def" doesn't match the screenshot from the project configurator. I don't see any project named "def" in that screenshot. Can you explain why you included "--enabled-game-projects=def" in your build command? You should select the project that you want to build as the default in the Project Configurator, and omit the "--enabled-game-projects" option. Also, the "-p" option is for the build spec, not for the project. I suggest using "-p all". See the WAF build documentation here https://docs.aws.amazon.com/lumberyard/latest/userguide/waf-commands.html Concerning the VS 2017 log - I believe that you are using a version of Visual Studio that is outside of the officially supported versions. To resolve this issue, you can expand the range of Visual Studio versions that WAF looks for. To do so, please open the file \dev_WAF_\user_settings.options, scroll to the bottom and replace the line for win_vs2017_vswhere_args with |
@joshbeacham There's no 'def' project on screenshot, because I'm trying to create it and it fails. When it fails it destroys the new project. I already tried to change versions between 14,15 and 16. The results with 15 and 16 are the same. |
@joshbeacham The build log: |
@joshbeacham after installing these components there are no changes in build log. |
Here's configure log: |
This makes me think that the build can't find Qt because the configure is failing. The configure log suggests that WAF cannot find your VS install, which is what I originally suspected. Would you please upload your \dev\_WAF_\user_settings.options file? Have you made any changes to any other file in the \dev\_WAF_\ directory? |
No, I didn't. This file is auto-configured. |
I'm wondering why you did not follow the explicit instructions I provided two separate times to modify that file?
Please modify that file as requested, and then run a configure and build, and share the logs. |
Thank you very much, I've been inattentive and modified another line of version, so had no success. Now it is fixed.
Maybe it is worth to make "How to install/build" doc with step-by-step instructions? At the last, should I remove VS 2015 or it is necessary? |
You are welcome. I am glad your issue is resolved. Regarding VS2015 - You can remove VS2015, it is not necessary. Unfortunately, this is an issue for almost everyone that installs the engine, because the Lumberyard team decided to hard code their supported VS versions into the configuration files in a way that causes build failures that emit nebulous and cryptic errors messages that appear to point to entirely unrelated causes. This issue would be eliminated if they would ship Lumberyard with a broader range of accepted VS versions and instead issue a warning in the log if the VS version found is outside of the supported range. If you would like to offer suggestions or feedback to the lumberyard team, you can contact them via email or the forums, details provided here https://docs.aws.amazon.com/lumberyard/latest/userguide/lumberyard-blog-forums-feedback.html You are also welcome to join the Lumberyard Community Discord server here https://discord.gg/GqbPQqT |
Thank you very much again, I have just joined Discord server, and I will check thier feedback! |
What is your question?
I tried to build project, using VS2017, but it said that it cannot find QT, but I've installed all required modules via Setup Assistant, so I went to 3drparty/Qt/{ver}/ and found version just for msvc140, there were not Qt for msvc141(VS2017). I've found VS2015 iso and installed it, but now I get the next errors:
Compilation failed - File: 'StreamSocketDriver.cpp.3470101.obj', Module: 'GridMate', Configuration: 'win_x64_vs2015|profile', error code 2
and other (this is the first one).How to fix it?
The full log is attached:
lmbr_create.log
Which part of the engine are you asking about?
Project Configurator
Which version of Lumberyard are you using?
1.21.2.0
The text was updated successfully, but these errors were encountered: