menu
 

Audiokinetic의 커뮤니티 Q&A는 사용자가 Wwise와 Strata 커뮤니티 내에서 서로 질문과 답변을 하는 포럼입니다. Audiokinetic의 기술 지원팀에게 문의하고 싶으신 경우 지원 티켓 페이지를 사용해주세요.

0 투표

Our team wants to use the Oculus Spatializer plugin in Wwise, which requires recompiling the Unity integration. However, our programmer is having trouble compiling the base integration even without the Oculus plugin.

We're trying to compile the Unity plugin for Wwise version 2015.1.2 build 5457.

We're following these instructions and hit a wall at step 4. We tried to compile the plugin for Windows 32-bit DEBUG, using both the command line script and the Visual Studio 2010 project, and got the same error seen in the log below. Does anyone know what the cause of this error might be?

Build started 4/17/2016 9:45:50 PM.
     1>Project "D:\FastUnityProjects\WwiseOculusTest\WwiseUnityPlugin\AkSoundEngine\Windows\AkSoundEngine.vcxproj" on node 2 (build target(s)).
     1>InitializeBuildStatus:
         Touching "..\..\Build\Windows\x86\Debug\obj\AkSoundEngine.unsuccessfulbuild".
       PreBuildEvent:
         Description: Generate Wwise SDK API bindings for Unity: python ..\Common\GenerateApiBinding.py Windows -a Win32 (Check detailed logs under: D:\FastUnityProjects\WwiseOculusTest\WwiseUnityPlugin\AkSoundEngine\Windows\..\..\Logs)
         python ..\Common\GenerateApiBinding.py Windows -a Win32
         :VCEnd
     1>Wwise : warning : BuildUtil.py (Init): 468: No Wwise SDK folder specified (-w). Fall back to use environment variable: WWISESDK = C:\Program Files (x86)\Audiokinetic\Wwise v2015.1.2 build 5457\SDK
         Traceback (most recent call last):
           File "..\Common\GenerateApiBinding.py", line 357, in <module>
             main()
           File "..\Common\GenerateApiBinding.py", line 344, in main
             PrepareSwigInput.main(pathMan)
           File "D:\FastUnityProjects\WwiseOculusTest\WwiseUnityPlugin\AkSoundEngine\Common\PrepareSwigInput.py", line 847, in main
             memberInserter = MemberListExpander(headerBlobber.lines, lineRegEx, GenerateExtraCallbacks(pathMan), BuildUtil.SpecialChars['CurlyBrackets'])
           File "D:\FastUnityProjects\WwiseOculusTest\WwiseUnityPlugin\AkSoundEngine\Common\PrepareSwigInput.py", line 790, in GenerateExtraCallbacks
             for k, v in BuildUtil.ExtraCallbackTypes.iteritems():
         AttributeError: 'dict' object has no attribute 'iteritems'
     1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: The command "python ..\Common\GenerateApiBinding.py Windows -a Win32
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error MSB3073: :VCEnd" exited with code 1.
     1>Done Building Project "D:\FastUnityProjects\WwiseOculusTest\WwiseUnityPlugin\AkSoundEngine\Windows\AkSoundEngine.vcxproj" (build target(s)) -- FAILED.

Build FAILED.

Time Elapsed 00:00:00.33
 

General Discussion Gubbles (100 포인트) 로 부터

1 답변

0 투표
In the past, I have gotten that same error about "iteritems".  I found that replacing "iteritems" with "items" in PerpareSwigInput.py solved the compilation issue.  However, in the upgrade that I'm currently doing (from 2015.1.4 to 2016.1.0), I did not get that error.

I'm pretty sure it's a Python version issue.

See:  http://stackoverflow.com/questions/10458437/what-is-the-difference-between-dict-items-and-dict-iteritems

Matt McCallus - Ubisoft Red Storm
Matt McCallus (140 포인트) 로 부터
...