VS error on LogVisualizer

I got UE4.7.2 from Launcher. From https://github.com/audiokinetic/WwiseUE4integration I downloaded contents as a file and extracted it into UE4 folder and copied necessary files from Wwise installation, following guides carefully. Setup ran fine. Opened UE4.sln in VS and tried to build, ending up with following errors:

Error 1 error : All source files in module “LogVisualizer” must include same precompiled header first. Currently “C:\Program Files\Epic Games\4.7\Engine\Source\Developer\LogVisualizer\Private\LogVisualizer.h” is included by most of source files. following source files are not including “C:\Program Files\Epic Games\4.7\Engine\Source\Developer\LogVisualizer\Private\LogVisualizer.h” as their first include: C:\Program Files\Epic Games\4.7\Engine\Intermediate\ProjectFiles\EXEC UE4

Error 2 error MSB3073: command “…..\Build\BatchFiles\Build.bat UE4Editor Win64 Development” exited with code -1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets 38 5 UE4

All help would be much appreciated. Any ideas?

Hi ariein,

Two questions: have you already downloaded and installed Wwise? Have you tried building engine from source (rather than using Launcher version) and then integrating this?

Thanks
I have indeed installed Wwise and copied necessary Wwise SDK files from Wwise installation to my Unreal Engine 4 working directory (as per guide, https://github.com/audiokinetic/WwiseUE4integration)
I started with building engine from source getting same error. After reading about similar errors regarding precompiled headers where it was recommended that I’d use Launcher version, I went for that and still getting same error.

Hey ariein,

I just want to let you know we haven’t forgotten about this issue. I’m sorry for delay in response, but I had some unrelated compilation issues that were blocking me from testing this. I’ll be working on this today and will update you again later today or tomorrow.

I’m glad you found issue. If you compile separate projects and combine them, you’re gonna have a bad time.

I wasn’t extremely familiar with way Wwise Integration process worked before this week, so at least I learned something :stuck_out_tongue:

If you have any other issues, feel free to let us know!

Thanks
I did manage to get things up and running by going back to using a source build and do things in a different order than before. Not quite sure if that was problem but copying Wwise stuff over before running generateProjectFiles and using ‘build solution’ from VS’s build menu there after did trick.

-Ari