Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

0 votes

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
 

in General Discussion by Gubbles (100 points)

1 Answer

0 votes
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
by Matt McCallus (140 points)
...