コミュニティQ&A

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

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

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

+1 支持

Hi everyone, I'm writing because I'm trying to integrate Wwise in a simple empty c++ project (VS2015) for learn purpose, but I've got an error when i try to compile the complete InitSoundEngine() function ("Initialize the Different Modules of the Sound Engine ") .

THIS ERROR ---> Error C2664 'DWORD GetFileAttributesA(LPCSTR)': can not convert argument 1 'const AkOSChar *' to 'LPCSTR'

VS tells me the error is in the AkFileHelpers.h at line 180 //////   fileAttributes = GetFileAttributes(in_pszBasePath)

This is very strange because I already checked the box "Treat wchar_t as Built-in type" in project-settings.

An user of StackOverflow suggests me to modify the box "Character Set" (project-settings->general) from "multibyte " to "unicode", but at compile-time an ENORMOUS amount of errors overwhelm me !!!

Something like this -> LNK2019 reference to external symbol "public: __thiscall CAkDefaultIOHookBlocking :: CAkDefaultIOHookBlocking (void)" (?? 0CAkDefaultIOHookBlocking @@ QAE @ XZ) not solved in the function "void __cdecl` dynamic initializer for 'g_lowLevelIO' '(void) "(?? __ Eg_lowLevelIO @@ YAXXZ)

All the errors are referred to things included from folder "samples" contained in the SDK.

I hope someone cane help me, thanks in advance !!!

Mattia

 

 

Mattia P. (110 ポイント) General Discussion
Forgive the 2 year bump, but did you ever find a fix for this? I'm running into the same issue (Visual Studio 2017, x64 build)

回答 1

0 支持
In case anyone else sees this, the issue for me was that the "Character Set" property in Visual Studio was set to "Use Multi-Byte Character Set". Changing it to Unicode fixed the issue.
Daniel Pezdirc (140 ポイント)
...