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
-------------------------------------------------------------------------------------------------------------------------------------------------