Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

wp.py premake Authoring 报错

0 votes
D:\WwisePlugin\JuceLimit>Python "C:/Audiokinetic/Wwise 2019.2.7.7402/Scripts/Build/Plugins/wp.py" premake Authoring
Premake Command: ['C:\\Audiokinetic\\Wwise 2019.2.7.7402\\Tools\\Win32\\bin\\premake5.exe', '--scripts=C:\\Audiokinetic\\Wwise 2019.2.7.7402\\SDK\\source\\Build;C:\\Audiokinetic\\Wwise 2019.2.7.7402\\Scripts\\Premake;C:\\Audiokinetic\\Wwise 2019.2.7.7402\\Scripts\\Build', '--file=C:\\Audiokinetic\\Wwise 2019.2.7.7402\\Scripts\\Build\\Plugins\\premakePlugins.lua', 'vs2015', '--os=windows', '--plugindir=D:\\WwisePlugin\\JuceLimit']
Traceback (most recent call last):
  File "C:\Audiokinetic\Wwise 2019.2.7.7402\Scripts\Build\Plugins\wp.py", line 35, in <module>
    subcommand.run(sys.argv[2:])
  File "C:\Audiokinetic\Wwise 2019.2.7.7402\Scripts\Build\Plugins\premake.py", line 61, in run
    res = subprocess.Popen(cmd).wait()
  File "C:\Users\caixinxing\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 947, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\caixinxing\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1416, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] 系统找不到指定的文件。
asked Apr 1, 2021 in General Discussion by cai x. (150 points)

1 Answer

+1 vote

The tool seems to not be able to find premake.exe. Can you confirm whether the premake5.exe executable is indeed at the path where it is looking for it?
"C:\Audiokinetic\Wwise 2019.2.7.7402\Tools\Win32\bin\premake5.exe"

From my end, this file is installed as soon as you check the Wwise SDK in the Launcher (along with a Linux and Mac version in "Wwise <version>/Tools").

answered Apr 1, 2021 by Samuel L. (Audiokinetic) (23,220 points)
...