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"

Mac build error

Hello! I make a game with a team for the UE4jam. I'm the only one on Mac. And I can't build the project. I've get an actual project folder (works fine on Win) I've deleted Intermediate, Binaries and Saves folders (there was not Saves folder), after that I've generate Xcode project from .uproject When I try to build it via Xcode it gives me two errors:

virtual void Crouch(); 'AMechRogueLikeCharacter::Crouch' hides overloaded virtual function virtual void UnCrouch(); 'AMechRogueLikeCharacter::UnCrouch' hides overloaded virtual function

I tried to override them: virtual void Crouch(); override; virtual void UnCrouch(); override;

and it gives me 72 errors on build. I'm an audio guy and this is where my programming knowledge ends. My team coders are on Win and they can't help me also.

It there a way to run it on Mac?

Xcode version - Version 10.1 (10B61) UE version - 4.21.2

Maybe I can build it via Visual studio for Mac?

Product Version: UE 4.21
Tags:
more ▼

asked Feb 18 '19 at 02:10 PM in C++ Programming

avatar image

slcrimson
1 1

avatar image 王宸乾 Feb 25 '19 at 01:25 PM

I have this problom too.

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

3 answers: sort voted first

If the Mac compilation fails, try to configure Xcode with the source code on GitHub, and I'm trying now.

more ▼

answered Feb 24 '19 at 04:29 PM

avatar image

王宸乾
1 1

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

Visualization Studio (mac) does not support UE4 editing.

more ▼

answered Feb 24 '19 at 04:29 PM

avatar image

王宸乾
1 1

avatar image slcrimson Feb 25 '19 at 09:13 AM

ok, so I can delete VS, cause it isn't useful for me. Thanks.

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

Not sure if this is a typo or not, but you don't need the ; before override so:

 virtual void Crouch(); override;

becomes:

 virtual void Crouch() override;

Maybe VS ignores / corrects this error which is why you're seeing it on mac, but the 'override' is part of the function signature so shouldn't be split with a semicolon.

more ▼

answered Feb 25 '19 at 03:37 PM

avatar image

phil_me_up
1.1k 4 6 12

(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