Unable to find Visual Studio 2013 for win_x64, removing build target (WAF)

The error in title is printed when running “lmbr_waf configure”

I’ve installed VS 2013 Ultimate - Update 5

But for some reason it doesnt find it (where does it look for it? Do I need to set some environment variables?)

I have installed VS 2015 as well so maybe there is some confusion because of that?

Full output of ‘lmbr_waf configure’

[WAF] Executing 'configure'
Running LumberyardLauncher...
--- Lumberyard Launcher ---
Lumberyard Launcher: Reading configuration from: c:/Users/xxx/Desktop/Lumberyard/dev/LumberyardLauncherConfig.json
Lumberyard Launcher: Reading configuration from: c:/Users/xxx/Desktop/Lumberyard/dev/Bin64/LumberyardLauncherConfig.js
on
SDK location: c:/Users/xxx/Desktop/Lumberyard/dev
Third-party location: C:/Users/xxx/Desktop/Lumberyard/3rdParty
Capabilities available, [x] enabled - [ ] disabled:
[ ] rungame - Run the game
[ ] runeditor - Run the Lumberyard Editor and tools
[X] compilegame - Compile the game code
[X] compileengine - Compile the engine and asset pipeline
[X] compilesandbox - Compile the Lumberyard Editor and tools
############# Log of operations #################
-->Run the game capability is not selected.
-->Run the Lumberyard Editor and tools capability is not selected.
-->Compile the game code capability is not selected.
-->Compile the engine and asset pipeline capability is not selected.
-->Compile the Lumberyard Editor and tools capability is not selected.
-->Compile the game code capability is selected.
-->Compile the engine and asset pipeline capability is selected.
-->Compile the Lumberyard Editor and tools capability is selected.
-->The Lumberyard installation location is valid: c:\Users\renee\Desktop\Lumberyard\dev.
#################################################
Successfully executed.
[INFO] Configure "win_x64 - [debug, profile, performance, release, debug_dedicated, profile_dedicated, performance_dedic
ated, release_dedicated]"
Unable to find Visual Studio 2013 for win_x64, removing build target
[INFO] Configure "win_x64_test - [debug, profile, performance, release, debug_dedicated, profile_dedicated, performance_
dedicated, release_dedicated]"
[INFO] Configure "win_x64_vs2012 - [debug, profile, performance, release, debug_dedicated, profile_dedicated, performanc
e_dedicated, release_dedicated]"
Unable to find Visual Studio 2012, removing build target
[INFO] Configure "win_x64_vs2010 - [debug, profile, performance, release, debug_dedicated, profile_dedicated, performanc
e_dedicated, release_dedicated]"
Unable to find Visual Studio 2010, removing build target
[INFO] Configure "android_armv7_gcc - [debug, profile, performance, release, debug_dedicated, profile_dedicated, perform
ance_dedicated, release_dedicated]"
[WARN] android_armv7_gcc setup failed, removing target platform
[WAF] 'configure' finished successfully (3.198s)
[WAF] Executing 'generate_uber_files' in 'c:\Users\xxx\Desktop\Lumberyard\dev\BinTemp'
[WAF] 'generate_uber_files' finished successfully (1.481s)
[WAF] Executing 'generate_use_map_files' in 'c:\Users\xxx\Desktop\Lumberyard\dev\BinTemp'
[WAF] 'generate_use_map_files' finished successfully (0.658s)
[WAF] Executing 'msvs' in 'c:\Users\xxx\Desktop\Lumberyard\dev\BinTemp'
Creating c:\Users\xxx\Desktop\Lumberyard\dev\Solutions\LumberyardSDK.sln
[WAF] 'msvs' finished successfully (0.661s)

The error comes from this file if you want to dig deeper :

Code\Tools\waf-1.7.13\lmbrwaflib\compile_rules_win_x64_win_x64.py in function : load_win_x64_win_x64_common_settings()

Otherwise try doing a reinstall of the VS2013.

I used to get hangs while running configure at this part of the code and also while compiling the engine. I had to reset my windows10 installation to get it working fine.

Is your OS 32-bit? See how it removed build targets for VS2010 and VS2012 because it couldn’t find them on your machine.

NO I’m running Window 10 Pro 64bit, I also just tried to compile a sample 64bit c++ application using VS2013 and it worked fine

I tried to this teh last few hours, this waf thing is a huge black box for me. The main problem seem occur when it tries to read from a VS_VERSIONS environment which is not even a system environment but something else that is set somewhere in the code.

Also installed other visual studio version didnt work

Q: Unable to find vs2013 for win_x64 ?

what I do: hehe…

step1: WHF(compile_rules_win_x64_win_x64.py)

try:

conf.auto_detect_msvc_compiler(‘msvc 12.0’, ‘x64’)

except:

if ‘win_x64’ in conf.get_supported_platforms():

Logs.warn(‘Unable to find Visual Studio 2013 for win_x64, removing build target’)

conf.mark_supported_platform_for_removal(‘win_x64’)

return

step2: …

lmbr_waf.exe build_win_x64_release -p all

step3: WHF

File “Code/Tools/waf-1.7.13/lmbrwaflib\cry_utils.py”, line 649,

in add_compiler_dependency

if os.path.isabs( self.env[‘CC’] ):
File “d:\program files\python2.7.8\lib\ntpath.py”, line 58, in isabs

TypeError: 'in ’ requires string as left operand, not list

step4: my Q:

my python is :C:/python34/

Is amazon wite this code with python ???

what I do ?

Hi @Aurus,

Can you try running the “vcvarsall.bat x64” for Visual Studio 2013 before running lmbr_waf configure?

For example, if your Visual Studio 2013 is installed in C:\Program Files (x86)\Microsoft Visual Studio 12.0 run:

"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x64

After running this bat file try running “lmbr_waf configure” in the same command window.

Let me know if that fixes it for ya!

Greetings!

Lumberyard uses Python 2.7.x (2.7.8 for the editor and 2.7.10 for everything else) and does not support Python 3.x

Running that, I get: “\Microsoft was unexpected at this time.”
That seems to be some kind of issue spaces and/or parens… but vcvarsall.bat has ALWAYS been in “Program Files (x86)” for vs2013. Why is that an issue for me?

@petrocket was close, I had to use “x86_amd64” not “x64” (see vcvarsall.bat /? for list)