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"

Running UE4 Editor from source code on Mac OS X

I try to run UE4 from source code on a Mac. I followed the instructions on the github site: https://github.com/EpicGames/UnrealEngine

Everything works until the point where I need to build the editor. I selected UE4Editor - Mac -> My Mac and clicked on Product->Build

Unfortunately I get the following error:

UE4Editor - Mac Group ~/github/UnrealEngine/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectBase.cpp ~/github/UnrealEngine/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectBase.cpp:277:7: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true ~/github/UnrealEngine/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectBase.cpp:296:7: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true ~/github/UnrealEngine/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectBaseUtility.cpp ~/github/UnrealEngine/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectBaseUtility.cpp:73:6: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true ~/github/UnrealEngine/Engine/Source/Runtime/CoreUObject/Private/UObject/Obj.cpp ~/github/UnrealEngine/Engine/Source/Runtime/CoreUObject/Private/UObject/Obj.cpp:495:6: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true ~/github/UnrealEngine/Engine/Source/Runtime/CoreUObject/Private/UObject/Obj.cpp:1015:7: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true

I am using a Hackintosh (Macintosh for PC): OS X Yosemite Version 10.10 Intel Core i5 8GB RAM Nvidia GeForce GTX 760 2048 MB

Xcode Version 6.3.1 (6D1002)

Product Version: UE 4.7
Tags:
more ▼

asked May 18 '15 at 10:10 AM in Installation & Setup

avatar image

Xazen
6 2 3 6

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hello Xazen,

Since you are using an unofficial and unsupported operating system the problem could be there. Have you ever been able to build the engine from source using the set up you have in any previous engine versions?

Thank you,

Andrew Hurley

more ▼

answered May 18 '15 at 02:56 PM

avatar image Xazen May 20 '15 at 02:11 PM

Hello Andrew,

thanks for the response. This was the first time I tried it with this set up.

avatar image ttvd Jun 01 '15 at 06:04 PM

You can use #pragma clang diagnostic ignored "-Wundefined-bool-conversion" to disable this (good place is CoreUObjectPrivate.h). I haven't found how to do this through UE4 generated xcode project though.

(comments are locked)
10|2000 characters needed characters left
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