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"

New C++project : compile failed (v4.12.4)

Hello, I tried to create a new C++ blank project but it failed to compile. Here is the error log :


Running G:/all/EpicGames/Epic Games/4.12/Engine/Binaries/DotNET/UnrealBuildTool.exe MyProject3 Development Win64 -project="G:/en attendant/Game/MyProject3/MyProject3.uproject" -editorrecompile -progress -noubtmakefiles -NoHotReloadFromIDE @progress push 5% Parsing headers for MyProject3Editor Running UnrealHeaderTool "G:\en attendant\Game\MyProject3\MyProject3.uproject" "G:\en attendant\Game\MyProject3\Intermediate\Build\Win64\MyProject3Editor\Development\MyProject3Editor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed Reflection code generated for MyProject3Editor in 3,1272109 seconds @progress pop Performing 7 actions (4 in parallel) [3/7] Resource ModuleVersionResource.rc.inl [2/7] Resource PCLaunch.rc PCH.MyProject3.h.cpp MyProject3.generated.cpp MyProject3.cpp MyProject3GameMode.cpp G:\en attendant\Game\MyProject3\Intermediate\Build\Win64\UE4Editor\Inc\MyProject3\MyProject3.generated.cpp: error C4599: '/IG:\all\fghjfgj\VC\INCLUDE': command line argument number 261 does not match precompiled headerG:\en attendant\Game\MyProject3\Source\MyProject3\MyProject3.cpp: error C4599: '/IG:\all\fghjfgj\VC\INCLUDE': command line argument number 261 does not match precompiled header

G:\en attendant\Game\MyProject3\Source\MyProject3\MyProject3GameMode.cpp: error C4599: '/IG:\all\fghjfgj\VC\INCLUDE': command line argument number 261 does not match precompiled header ERROR: UBT ERROR: Failed to produce item: G:\en attendant\Game\MyProject3\Binaries\Win64\UE4Editor-MyProject3.dll Total build time: 47,14 seconds


I tried to reinstall several times both Unreal Engine and Visual Studio, I tried to run the launcher as admin, but nothing changed. I installed the Windows 10 SDK and I am running with Windows 7. I also tried to run Unreal Engine 4.11.2, but the issue is the same. Could anyone help me ?

Product Version: UE 4.12
Tags:
more ▼

asked Jul 02 '16 at 11:28 AM in C++ Programming

avatar image

miketearon
21 1 4 4

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

1 answer: sort voted first

FIXED. I just followed the instructions of Tim's answer to this post and it worked !!! :D

more ▼

answered Jul 02 '16 at 02:48 PM

avatar image

miketearon
21 1 4 4

(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