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"

creating new project in 4.10.4 and getting errors when comiling c++ source code

Hi, trying to make blank C++ template and getting this error:

 Running C:/Program Files/Epic Games/UE_4.10/Engine/Binaries/DotNET/UnrealBuildTool.exe MyProject Development Win64 -project="C:/Users/felix/Documents/Unreal Projects/MyProject/MyProject.uproject" -rocket -editorrecompile -progress -noubtmakefiles -2015
 @progress push 5%
 Parsing headers for MyProjectEditor
   Running UnrealHeaderTool "C:/Users/felix/Documents/Unreal Projects/MyProject/MyProject.uproject" "C:\Users\felix\Documents\Unreal Projects\MyProject\Intermediate\Build\Win64\MyProjectEditor\Development\UnrealHeaderTool.manifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -rocket -installed
 Reflection code generated for MyProjectEditor in 7.2990397 seconds
 @progress pop
 Performing 7 actions (2 in parallel)
 [2/7] Resource PCLaunch.rc
 PCH.MyProject.h.cpp
 [3/7] Resource ModuleVersionResource.rc.inl
 MyProject.generated.cpp
 MyProjectGameMode.cpp
 C:\Users\felix\Documents\Unreal Projects\MyProject\Intermediate\Build\Win64\UE4Editor\Inc\MyProject\MyProject.generated.cpp: error C4599: '/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE': command line argument number 228 does not match precompiled header
 C:\Users\felix\Documents\Unreal Projects\MyProject\Source\MyProject\MyProjectGameMode.cpp: error C4599: '/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE': command line argument number 228 does not match precompiled header
 MyProject.cpp
 C:\Users\felix\Documents\Unreal Projects\MyProject\Source\MyProject\MyProject.cpp: error C4599: '/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE': command line argument number 228 does not match precompiled header
 -------- End Detailed Actions Stats -----------------------------------------------------------
 ERROR: UBT ERROR: Failed to produce item: C:\Users\felix\Documents\Unreal Projects\MyProject\Binaries\Win64\UE4Editor-MyProject.dll
 Total build time: 41.40 seconds

=================================================================

i have the common tools downloaded for visual studio 2015 which i assumed was causing issues but nope still getting this probolem please help me thanks Felix

Product Version: UE older version
Tags:
more ▼

asked Feb 02 '17 at 04:06 PM in Installation & Setup

avatar image

bobbincat
1 1 1

avatar image Matthew J Feb 08 '17 at 03:56 PM

Hello Bobbincat,

From looking at this log, I noticed that this filepath seems different than usual:

/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE'

Is your Visual Studio installed on a drive called IC:\ ? If so, is this the same drive your Windows installation is installed on? If not, you may need to reinstall Visual Studio and place it on the same drive as your Windows installation for this to work correctly, as it needs to be able to reference files in system32.

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

1 answer: sort voted first

We haven't heard from you in a while, bobbincat. Are you still experiencing this issue? If so, was my last comment of any help? In the meantime, I'll be marking this issue as resolved for tracking purposes.

more ▼

answered Feb 14 '17 at 10:27 PM

avatar image bobbincat Feb 15 '17 at 05:15 AM

im so sorry i completly forgot to reply, so the probolem seemed to be caused by a bad install of VS15. So i had reinstalled many times from other replys to other probolems that were similar and this created issues. What i had to do is download an advanced uninstaller to get rid of everything to do with VS and then install a last time. Now its fixed :) thanks for your help anyways. sorry again for not replying, thanks Felix

(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