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. 

Failed to build UE4 from source

I got error after VC++ finished the build process. How to solve the errors? I got the released zip on GitHub.

Severity Code Description Project File Line Suppression State Error C2065 'bAttributeLessDraw': undeclared identifier UE4 D:\UnrealEngine-release\Engine\Source\Runtime\OpenGLDrv\Private\OpenGLCommands.cpp 2792
Error Failed to produce item: D:\UnrealEngine-release\Engine\Binaries\Win64\UE4Editor-IntroTutorials.dll UE4 D:\UnrealEngine-release\Engine\Intermediate\ProjectFiles\ERROR 1
Error MSB3073 The command "....\Build\BatchFiles\Build.bat UE4Editor Win64 Development -waitmutex -2015" exited with code -1. UE4 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets 37
Error C1020 unexpected #endif UE4 D:\UnrealEngine-release\Engine\Source\Runtime\OpenGLDrv\Private\OpenGLCommands.cpp 2798

Product Version: UE 4.10
Tags:
more ▼

asked Jan 05 '16 at 08:21 AM in Installation & Setup

avatar image

flim
56 4 7 11

avatar image Moss Jan 05 '16 at 08:35 AM

Have you downloaded the prerequisites with using Setup.bat

avatar image flim Jan 05 '16 at 08:58 AM

Yes, I follow the instructions on GitHub. And I have the Game Launcher version installed. I compile from source because I want to get x86 Android support.

I tried to compile on another PC but got exact errors. :(

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

3 answers: sort voted first

I found this: https://answers.unrealengine.com/questions/352517/trying-to-build-410-w-vs-keep-getting-411.html

The release is 4.11, that's why when I tried to build 4.11 I got the same errors as release.

I download the 4.10 zip and build successfully. The splash screen shows version 4.10.2.

more ▼

answered Jan 11 '16 at 03:58 PM

avatar image

flim
56 4 7 11

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

UE4 doessn't compile 'as it comes' and does require about 2 days worth of tinkering if you don't know what you are doing to get compiling.

more ▼

answered Apr 12 '16 at 01:59 AM

avatar image

Chaoss
6 8 13 19

avatar image Tim C ♦♦ STAFF Apr 12 '16 at 03:47 PM

Hi Chaoss,

I have not experienced any problems when building the Engine from source code using any of the released versions. What version of the Engine did you download, and what were the errors that you received?

Tim

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

Just simply replace \u201D with "(use regex), and save.

You might need to switch to UTF8 BOM and save in order to find this Unicode Character.

This is because \u201D is a RIGHT DOUBLE QUOTATION MARK, which is widely used in Asia countries. it's a common typo bug.

more ▼

answered Apr 28 '16 at 05:07 AM

avatar image

wdhwg001
1 2 3 4

avatar image wdhwg001 Apr 28 '16 at 05:27 AM

I've pulled a request to fix this. https://github.com/EpicGames/UnrealEngine/pull/2338

(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