Hi everyone,
I am trying to build the authoring part of a Wwise plugin using the Python development tools. I'm following the instructions in the docs and at the ADC talk.
What I’ve done so far
1. Premake
When I premake Authoring (wp premake Authoring) I get Test2_Authoring_Windows_vc140.sln (vc140 instead of vc150).
2. Build
Then when I try to build Authoring (wp build Authoring Release) I get:
Building Test2 for Authoring in Release...
Building Authoring in Release using vc140. Build Command:
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\VsMSBuildCmd.bat" && msbuild.exe Test2_Authoring_Windows_vc140.sln /t:Build /p:Configuration="Release" /p:Platform="x64" /m /verbosity:minimal
Traceback (most recent call last):
File "C:\Program Files (x86)\Audiokinetic\Wwise 2018.1.4.6807\Scripts\Build\Plugins\wp.py", line 36, in <module>
subcommand.run(sys.argv[2:])
File "C:\Program Files (x86)\Audiokinetic\Wwise 2018.1.4.6807\Scripts\Build\Plugins\build.py", line 43, in run
res = platform_info.build.command(args.platform, args.configuration)
File "C:\Program Files (x86)\Audiokinetic\Wwise 2018.1.4.6807\Scripts\Build\Plugins\common\command\vs.py", line 106, in build
res = subprocess.Popen(build_command).wait()
File "C:\Users\subs\AppData\Local\Programs\Python\Python37-32\lib\subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "C:\Users\subs\AppData\Local\Programs\Python\Python37-32\lib\subprocess.py", line 1178, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
As I have VS2017 installed I don't have:
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\VsMSBuildCmd.bat
(Or its dependencies)
I have rather:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\Tools\VsMSBuildCmd.bat
And its dependencies
Am I missing a step or something in my approach? Any help is greatly appreciated.
James