Creating Project WAF error

So, we’re having problems creating a new project, getting the error “Configuring project. Error executing WAF.”.

The log shows us what is wrong, but we can’t figure out how to solve the issues despite extensive searching.

Any suggestions?

“C:\Amazon\Lumberyard\1.15.0.0\dev\lmbr_waf.bat” configure --generate-vs-projects-automatically=false --enabled-game-projects=fhd
[WAF] Engine Root: C:\Amazon\Lumberyard\1.15.0.0\dev
A custom BuildEnv.json file was not found. This build will be untagged.
A custom BuildEnv.json file was not found. This build will be untagged.
[WAF] Executing ‘configure’
[INFO] Removing target platform win_x64_clang due to “Visual Studio 2015” not checked in Setup Assistant.
[INFO] Removing target platform win_x64_vs2015 due to “Visual Studio 2015” not checked in Setup Assistant.
[INFO] Removing target platform win_x64_vs2013 due to “Visual Studio 2013” not checked in Setup Assistant.
Traceback (most recent call last):
File “C:\Amazon\Lumberyard\1.15.0.0\dev\Tools\build\waf-1.7.13\waflib\Scripting.py”, line 226, in waf_entry_point
run_commands()
File “C:\Amazon\Lumberyard\1.15.0.0\dev\Tools\build\waf-1.7.13\waflib\Scripting.py”, line 342, in run_commands
ctx = run_command(cmd_name)
File “C:\Amazon\Lumberyard\1.15.0.0\dev\Tools\build\waf-1.7.13\waflib\Scripting.py”, line 319, in run_command
ctx.execute()
File “c:\Amazon\Lumberyard\1.15.0.0\dev\wscript”, line 474, in execute
return execute_method(self)
File “C:\Amazon\Lumberyard\1.15.0.0\dev\Tools\build\waf-1.7.13\waflib\Configure.py”, line 217, in execute
super(ConfigurationContext, self).execute()
File “C:\Amazon\Lumberyard\1.15.0.0\dev\Tools\build\waf-1.7.13\waflib\Context.py”, line 220, in execute
self.recurse([os.path.dirname(g_module.root_path)])
File “C:\Amazon\Lumberyard\1.15.0.0\dev\Tools\build\waf-1.7.13\waflib\Context.py”, line 303, in recurse
user_function(self)
File “c:\Amazon\Lumberyard\1.15.0.0\dev\wscript”, line 118, in configure
conf.configure_settings()
File “C:\Amazon\Lumberyard\1.15.0.0\dev\Tools\build\waf-1.7.13\waflib\Configure.py”, line 419, in fun
return f(k, **kw)
File “Tools\build\waf-1.7.13\lmbrwaflib\lumberyard.py”, line 341, in configure_settings
configure_general_compile_settings(conf)
File “Tools\build\waf-1.7.13\lmbrwaflib\lumberyard.py”, line 266, in configure_general_compile_settings
conf.load(‘android’, tooldir=[LMBR_WAF_TOOL_DIR])
File “C:\Amazon\Lumberyard\1.15.0.0\dev\Tools\build\waf-1.7.13\waflib\Configure.py”, line 343, in load
if type(func) is type(Utils.readf): func(self)
File “.\Tools\build\waf-1.7.13\lmbrwaflib\android.py”, line 312, in configure
installed_sdk_versions = os.listdir(os.path.join(sdk_root, ‘platforms’))
WindowsError: [Error 3] The system cannot find the path specified: 'C:/Program Files/sdk-tools-windows-4333796\platforms/
.*’
Process failed with return code: 1

Thanks!

I also faced this issue. In my case I found that are caused by a bad folder separator in environment.json. It had ‘/’ instead of ‘’.

Hi @Ruytaro,

I can see we’ve got two \s before platforms at the bottom of the message, but we also don’t have a platforms directory anyway. Was this the same for you? If so, where do I find environment.json?

Thanks!

You can find the environment.json in /dev/WAF