Problem with creating a new project

0

I have a problem with creating a new project: REMOVEDUPLOAD

The log:

"D:\Amazon\Lumberyard\1.25.0.0\dev\lmbr_waf.bat" build_win_x64_vs2019_profile --enabled-game-projects=test -p test [WAF] Engine Root: D:\Amazon\Lumberyard\1.25.0.0\dev
[WAF] Executing 'build_win_x64_vs2019_profile' in 'd:\Amazon\Lumberyard\1.25.0.0\dev\BinTemp\win_x64_vs2019_profile' [Error] The build command build_win_x64_vs2019_profile is invalid to the platform being disabled during configuration. Please check the error message when running 'lmbr_waf configure' for more details. Process failed with return code: 1

asked 4 years ago208 views
8 Answers
0

It looks like your project is configured to build using VS2019 but VS2019 is disabled in Setup Assistant perhaps?

Which version of Visual Studio are you using?

answered 4 years ago
0

Here's some help if the issue is your VS version:

Run Setup Assistant and verify you have the correct version(s) of Visual Studio checked on the bottom of the Get Started page.

Verify you have correctly installed the version of Visual Studio and its prerequisites. You can find more info here:

https://docs.aws.amazon.com/lumberyard/latest/welcomeguide/wg-requirements.html

Now reconfigure your project. We'll do this at the command line. First, ensure you have the correct default project set in Project Configurator, and that you have all the Gems you need enabled. Make sure to save the configuration.

Now open a command line and navigate to the dev directory of your Lumberyard installation.

cd D:\Amazon\Lumberyard\1.25.0.0\dev\

Run the configure command. This command will generate your solutions and may take few minutes.

lmbr_waf configure

Now run the build command for the version of Visual Studio you are using. One of the following:

lmbr_waf build_win_x64_vs2017_profile -p all --progress or lmbr_waf build_win_x64_vs2019_profile -p all --progress

the build process can take some time, possibly a couple of hours depending on your machine and what components need to be built.

answered 4 years ago
0

I'm using VS2019: REMOVEDUPLOAD REMOVEDUPLOAD

answered 4 years ago
0

An error happened:

REMOVEDUPLOAD

answered 4 years ago
0

There is a warning there saying it can't find a valid WIndows SDK. That's a requirement.

From the link I posted above, double check you Visual Studio Installation and make sure you have installed all the required features for Visual Studio particularly Step 4 in Prerequisites.

https://docs.aws.amazon.com/lumberyard/latest/welcomeguide/wg-requirements.html

Make sure you have completed all the steps on this page and run configure and build again.

If it still won't build, we'll dig into your logs and figure this out.

answered 4 years ago
0

I've done it, but there is another problem:

REMOVEDUPLOAD

It has not completed yet.

answered 4 years ago
0

So i had the same issue with the project configuration. So I just ran the waf build system by the command line. The command that I ran was 'lmbr_waf build_win_x64_vs2019_profile -p all -progress" Note: That if you don't have VS2019 selected then replace the 'vs2019' with 'vs2017'. You can replace 'all"(which builds engine, project, editor, and tools) command with 'game_and_engine'(which only builds the engine and game project.

Source: WAF commands running lmbr_waf -help

answered 4 years ago
0

@REDACTEDUSER

Hope it finished OK.

The initial build time is lengthy and a known issue the team is working to address. It can take over 2 hours on a modern CPU. Subsequent builds for minor changes and adding additional gems should be much quicker.

answered 4 years ago

This post is closed: Adding new answers, comments, and votes is disabled.