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"

Unreal Engine don't compile with Xcode

Hi everyone, when i open a project with c++ i get this error:

The project could not be compiled. Would you like to open it in Xcode?

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 MyProjectEditor Running UnrealHeaderTool "/Users/flaviocamardella/Documents/Unreal Projects/MyProject/MyProject.uproject" "/Users/flaviocamardella/Documents/Unreal Projects/MyProject/Intermediate/Build/Mac/MyProjectEditor/Development/MyProjectEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed Reflection code generated for MyProjectEditor in 9,4580868 seconds @progress pop Performing 12 actions (8 in parallel) [1/12] 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/flaviocamardella/Documents/Unreal Projects/MyProject/Binaries/Mac/UE4Editor-MyProject.dylib Total build time: 27,22 seconds (Local executor: 0,00 seconds)

Do you have any solution for this?

Thanks in advance

Product Version: UE 4.18
more ▼

asked Apr 12 '18 at 08:00 PM in C++ Programming

avatar image

1 2 2

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

1 answer: sort voted first

I also run into this errors generated from [-Werror,-Wunused-lambda-capture] setting using Xcode 9.3 and was able to work around it with downgrading to Xcode 9.0.

more ▼

answered Apr 16 '18 at 04:01 PM

avatar image

j.mueller RFG
304 3 10 10

avatar image SalihBalkan Sep 29 '18 at 01:17 PM

I downgraded my Xcode 9.4.1 to Xcode 9.0 and it is fixed. Thank you very much for helping :)

(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