コミュニティQ&A

Audiokineticのコミュニティ主導のQ&Aフォーラムへようこそ。ここはWwiseとStrataのユーザのみなさまがお互いに協力し合う場です。弊社チームによる直接のサポートをご希望の場合はサポートチケットページをご利用ください。バグを報告するには、Audiokinetic LauncherのBug Reportオプションをご利用ください。(Q&AフォーラムではBug Reportを受け付けておりませんのでご注意ください。専用のBug Reportシステムをご利用いただくことで、バグの報告が適切な担当部門に届き、修正される可能性が高まります。)

最適な回答を迅速に得られるよう、ご質問を投稿される際は以下のヒントをご参考ください。

  • 具体的に示す:何を達成したいのか、またはどんな問題に直面しているのかを具体的に示してください。
  • 重要な詳細情報を含める:Wwiseとゲームエンジンのバージョンやご利用のOSなど詳細情報を記載してください。
  • 試したことを説明する:すでに試してみたトラブルシューティングの手順を教えてください。
  • 事実に焦点を当てる:問題の技術的な事実を記載してください。問題に焦点を当てることで、ほかのユーザのみなさまが解決策を迅速に見つけやすくなります。

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
 

Gubbles (100 ポイント) General Discussion

回答 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 ポイント)
...