在 Audiokinetic 社区问答论坛上,用户可对 Wwise 和 Strata 相关问题进行提问和解答。如需从 Audiokinetic 技术支持团队获取答复,请务必使用技术支持申请单页面。

Wwise + UE4.10 symbols not found for architecture error.

0 投票
Hello! I'm having a problem when using Wwise + UE4.10.0 and XCode 7.2.1. (El Capitan)

I added the /include folder in the user header search paths. When I try to build my game in XCode, everything goes well when I add #includes on some source files, but as soon as I add AK::(....) to start loading a bank or register an object or post an event, I always get a compile error like this:

Does anyone have any idea what the problem might be? Thank you!

 

-------------------------------------------------------------------------------------------------------------------------------------------------

Setting up Mono

Building UBT...

     0 Error(s)

Building ShooterGameEditor...

2016-03-17 18:55:46.403 defaults[22253:148447]

The domain/default pair of (/Users/filipeduarte/Library/Preferences/com.apple.dt.Xcode, IDEBuildOperationMaxNumberOfConcurrentCompileTasks) does not exist

Running command : Engine/Binaries/DotNET/UnrealBuildTool.exe ShooterGameEditor Mac Development /Users/filipeduarte/Documents/Unreal Projects/ShooterGame/ShooterGame.uproject

Compiling game modules for hot reload

Performing 5 actions (8 in parallel)

[1/5] Link UE4Editor-ShooterGameLoadingScreen-83.dylib

[2/5] Compile Module.ShooterGame.cpp

[3/5] sh -c 'rm -rf "/Users/filipeduarte/Documents/Unreal Projects/ShooterGame/Binaries/Mac/UE4Editor-ShooterGameLoadingScreen-435.dSYM"; "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/"dsymutil -f "/Users/filipeduarte/Documents/Unreal Projects/ShooterGame/Binaries/Mac/UE4Editor-ShooterGameLoadingScreen-435.dylib" -o "/Users/filipeduarte/Documents/Unreal Projects/ShooterGame/Binaries/Mac/UE4Editor-ShooterGameLoadingScreen-435.dSYM"'

[4/5] Link UE4Editor-ShooterGame-3943.dylib

Undefined symbols for architecture x86_64:

  "AK::SoundEngine::LoadBank(char const*, int, unsigned int&)", referenced from:

      UShooterEngine::Init(IEngineLoop*) in Module.ShooterGame.cpp.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

-------- End Detailed Actions Stats -----------------------------------------------------------

ERROR: UBT ERROR: Failed to produce item: /Users/filipeduarte/Documents/Unreal Projects/ShooterGame/Binaries/Mac/UE4Editor-ShooterGame-3943.dylib

Total build time: 69.25 seconds

Command /Users/filipeduarte/Downloads/UnrealEngine-4.10/Engine/Build/BatchFiles/Mac/Build.sh failed with exit code 5

-------------------------------------------------------------------------------------------------------------------------------------------------
最新提问 3月 17, 2016 分类:General Discussion | 用户: - (240 分)

1个回答

0 投票
 
已采纳
In case anyone comes across the same problem, I found the solution and now everything is working great. I was missing the last step explained here: (C++ Projects)

 

https://www.audiokinetic.com/library/2015.1.4_5497/?source=UE4&id=building.html

 

Cheers!
最新回答 3月 21, 2016 用户: - (240 分)
采纳于 3月 21, 2016 用户:-
...