Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

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

-------------------------------------------------------------------------------------------------------------------------------------------------
in General Discussion by - (240 points)

1 Answer

0 votes
 
Best answer
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!
by - (240 points)
selected by -
...