x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Unreal Engine will not open C++ new project on Mac OS

At first I tried to compile with Xcode and thought it was not working because I got version 9.1xx so I decided to try Visual basics 2017 and find out there is no C++ extension for the Mac -_-. I install Visual code and install the C++ extension, Unreal extension, Mono Extension and LLDB debugging extension and still the same error. I am new to game developing and just getting this thing to work is already stressing me out. Below is the error message that I am getting. Please help!!

The project could not be compiled. Would you like to open it in Visual Studio Code?

Running Mono...

Setting up Mono /Users/Shared/Epic Games/UE_4.18/Engine /Users/Shared/Epic Games/UE_4.18/Engine/Binaries/Mac @progress push 5% Parsing headers for MyProject5Editor Running UnrealHeaderTool "/Users/user/Documents/Unreal Projects/MyProject5/MyProject5.uproject" "/Users/user/Documents/Unreal Projects/MyProject5/Intermediate/Build/Mac/MyProject5Editor/Development/MyProject5Editor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed Reflection code generated for MyProject5Editor in 9.4644434 seconds @progress pop Performing 6 actions (8 in parallel) [1/6] Compile SharedPCH.Engine.h In file included from /Users/Shared/Epic Games/UE_4.18/Engine/Intermediate/Build/Mac/UE4Editor/Development/Engine/SharedPCH.Engine.h:138: In file included from /Users/Shared/Epic Games/UE_4.18/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:300: Runtime/CoreUObject/Public/UObject/UnrealType.h:3285:37: error: lambda capture 'LocalMapLayoutForCapture' is not used [-Werror,-Wunused-lambda-capture] [LocalKeyPropForCapture, KeyPtr, LocalMapLayoutForCapture](void* NewElementKey) ^ Runtime/CoreUObject/Public/UObject/UnrealType.h:3298:41: error: lambda capture 'LocalMapLayoutForCapture' is not used [-Werror,-Wunused-lambda-capture] [LocalValuePropForCapture, ValuePtr, LocalMapLayoutForCapture](void* NewElementValue) ^ Runtime/CoreUObject/Public/UObject/UnrealType.h:3808:47: error: lambda capture 'LocalSetLayoutForCapture' is not used [-Werror,-Wunused-lambda-capture] [LocalElementPropForCapture, ElementToAdd, LocalSetLayoutForCapture](void* NewElement) ^ 3 errors generated. ERROR: UBT ERROR: Failed to produce item: /Users/user/Documents/Unreal Projects/MyProject5/Binaries/Mac/UE4Editor-MyProject5.dylib Total build time: 26.47 seconds (Local executor: 0.00 seconds)

Product Version: UE 4.18
Tags:
more ▼

asked Sep 04 '18 at 01:25 PM in C++ Programming

avatar image

STARSHIP Shel
1 1 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

3 answers: sort voted first

Try using Xcode 8.3.3, I found that latest version of Xcode doesn't work for version 4.18

more ▼

answered Sep 04 '18 at 01:45 PM

avatar image

ujrkingdom
12 7 14 15

avatar image STARSHIP Shel Sep 04 '18 at 03:30 PM

I just tried that and I get the same error -___- nothing seems to work. I don't know what the problem is

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Finally got it to work. Uninstalled all versions of Xcode and reinstalled Xcode 8.3.3. I had both X code before. Thanks a million

more ▼

answered Sep 04 '18 at 06:03 PM

avatar image

STARSHIP Shel
1 1 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

An error occurred while trying to generate project files.

Running Mono...

Setting up Mono /Users/Shared/Epic Games/UE_4.19/Engine /Users/Shared/Epic Games/UE_4.19/Engine/Binaries/Mac Discovering modules, targets and source code for project... Triggered an exception while looking for SDK directory in Xcode.app System.IO.DirectoryNotFoundException: Directory '/Library/Developer/CommandLineTools/Platforms/MacOSX.platform/Developer/SDKs' not found. at System.IO.Directory.ValidateDirectoryListing (System.String path, System.String searchPattern, System.Boolean& stop) [0x00000] in :0 at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, FileAttributes mask, FileAttributes attrs) [0x00000] in :0 at System.IO.Directory.GetDirectories (System.String path, System.String searchPattern) [0x00000] in :0 at System.IO.Directory.GetDirectories (System.String path) [0x00000] in :0 at UnrealBuildTool.AppleToolChainSettings.SelectSDK (System.String BaseSDKDir, System.String OSPrefix, System.String& PlatformSDKVersion, Boolean bVerbose) [0x00000] in :0  WARNING: Exception while generating include data for UE4Editor: Invalid SDK MacOSX.sdk, not found in /Library/Developer/CommandLineTools/Platforms/MacOSX.platform/Developer/SDKs Generating data for project indexing... 0%@progress 'Generating data for project indexing...' 50%  WARNING: Exception while generating include data for HelloWorldEditor: Invalid SDK MacOSX.sdk, not found in /Library/Developer/CommandLineTools/Platforms/MacOSX.platform/Developer/SDKs Generating data for project indexing... 50%@progress 'Generating data for project indexing...' 100% ERROR: UnrealBuildTool Exception: Invalid SDK MacOSX.sdk, not found in /Library/Developer/CommandLineTools/Platforms/MacOSX.platform/Developer/SDKs

more ▼

answered Oct 30 '18 at 12:10 PM

avatar image

Nishanth Kalidas
1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question