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"

Visual 2012 project build error

Hello.

I downloaded the UE4 project from github and managed to get it built using VS 2012 Express(I followed the instructions I found all over the documentation and this answerhub). Then, with that newly built editor, it was possible to generate project files. So I created a basic c++ empty project and tried to build it. Configuration DebugGame Editor, Win32, I get the following errors:

Error 2 error : Failed to produce item: D:\Pobrane\dev\UnrealEngine-4.0\Engine\Intermediate\Build\Win32\UE4Editor\Development\UE4Editor-UnrealEd.lib D:\Projekty\Moje Projekty\UE4\Arkanoid\Intermediate\ProjectFiles\ERROR Arkanoid

Error 1 error C2719: 'Location': formal parameter with __declspec(align('16')) won't be aligned D:\Pobrane\dev\UnrealEngine-4.0\Engine\Source\Editor\UnrealEd\Private\LevelEditorViewport.cpp 112 1 Arkanoid

Error 3 error MSB3073: The command "D:\Pobrane\dev\UnrealEngine-4.0\Engine\Build\BatchFiles\Build.bat ArkanoidEditor Win32 DebugGame "D:\Projekty\Moje Projekty\UE4\Arkanoid\Arkanoid.uproject"" exited with code -1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.MakeFile.Targets 38 5 Arkanoid

I got no clue why it's not working-if the editor itself compiles sucessfully, then the project should compile as well. The error "C2719: 'Location': formal parameter with __declspec(align('16')) won't be aligned" looks like a clear programmers mistake, but I'm not sure. Any ideas what could be wrong?

Product Version: Not Selected
Tags:
more ▼

asked Apr 09 '14 at 07:19 PM in C++ Programming

avatar image

Oti
50 5 7 11

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

1 answer: sort voted first

Duplicate of this question: https://answers.unrealengine.com/questions/27132/getting-an-error-when-compiling-the-source-eu4-im.html

You need to switch the Solution Platform in Visual Studio from Win32 to Win64 when building the Editor.

more ▼

answered Apr 09 '14 at 07:22 PM

avatar image Oti Apr 09 '14 at 07:28 PM

Oh, thank you very much! I'm sorry that I duplicated the question-I did not manage to find this one(I was sure it was about the VS2012, so that was my keyword when searching). :)

(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