[v4.7.2]Error on creating code project

On creating a basic code project from editor, error message
Failed to generate project files. Log output:

Running Mono…

Setting up Mono
/Users/Shared/UnrealEngine/4.7/Engine /Users/Shared/UnrealEngine/4.7/Engine/Binaries/Mac
Missing required components (… HTML5TargetPlatformFile, others here…). Check source control filtering, or try resyncing.
Discovering modules, targets and source code for game…
Errors detected while compiling /Users/adamgraham/Documents/Unreal Projects/QuickStart/Intermediate/Build/BuildRules/ProjectFileGeneratorModuleRules.dll:
/Users/Shared/UnrealEngine/4.7/Engine/Source/Runtime/CEF3Utils/CEF3Utils.Build.cs(5,14) : error CS0101: namespace global::' already contains a definition for CEF3Utils’
(0,0) : error : /Users/Shared/UnrealEngine/4.7/Engine/Source/Developer/CEF3Utils/CEF3Utils.Build.cs(5,14): (Location of symbol related to previous error)
/Users/Shared/UnrealEngine/4.7/Engine/Source/Runtime/WebBrowser/WebBrowser.Build.cs(5,14) : error CS0101: namespace global::' already contains a definition for WebBrowser’
(0,0) : error : /Users/Shared/UnrealEngine/4.7/Engine/Source/Developer/WebBrowser/WebBrowser.Build.cs(5,14): (Location of symbol related to previous error)
UnrealBuildTool Exception: ERROR: UnrealBuildTool encountered an error while compiling source files

Hardware 2012 Mac Mini gpu Intel HD 4000

Hi ag858,

Did you run Setup.command before running GenerateProjectFiles.command?

Ah, okay, I misunderstood. Let me check and see what might be causing this. I may need to check with Mac devs, which means I may not get a response until Monday. I’ll let you know if I find anything before then.

Sorry, I’m not familiar with those commands.
I should have mentioned I did not build editor from git source code, I just started launched editor from epic launcher and created a new project from editor ‘new project’ tab.
Sorry if I’m vague, I’m a novice.

Xcode 6.1.1 is installed, yes.

Quick check: do you have Xcode 6.1.1 installed?

Hi again ag858,

Sorry for delay in response. It looks like something might be wrong with your install. Go to your Launcher and select engine version on Library page. Click down arrow beside Launch button and select Verify. Once it’s done verifying installation, try creating a new code project again, and let us know what happens. Thanks!

I verified, and after completing verification and creating a new code project it just outputs same error message.


For some reason you have CEF3Utils and WebBrowser folders in both /Users/Shared/UnrealEngine/4.7/Engine/Source/Runtime and /Users/Shared/UnrealEngine/4.7/Engine/Source/Developer. It should only be present in former. It’s very weird Verify did not fix this, it was designed to catch issues like this.

Maybe it’s some leftover after some preview build you installed in past? Please try deleting these two folders:


and try again.

Yes, deleting those folders resolved issue, code project created. And yes, I did have preview 4.7 builds installed before.

Hi there,
I am currently having same problem where a project does not build due to CEF3Utils having no module rules.
For some reason project built fine but since I have included plugin I have been having this build error.
I assume this means that one of headers I am including from Unreal Engine is including CEF3Utils and WebBrowser somewhere along line.
My plugin type is Runtime and I am including following in my pch.

#include "ModuleManager.h"
#include "LevelEditor.h"
#include "LevelEditorActions.h"
#include "SharedPointer.h"
#include "Internationalization.h"
#include "MultiBoxExtender.h"
#include "Engine.h"
#include "Animation/Skeleton.h"
#include "Animation/SkeletalMeshActor.h"
#include "EditorModes.h"