# Compiling C++ Code

**URL:** <https://forums.unrealengine.com/t/compiling-c-code/53333>\
**Category:** C++\
**Tags:** unreal-engine, Engine-Source-Code, GitHub, Engine-Source-GitHub\
**Created:** [January 24, 2016, 4:12am UTC](https://forums.unrealengine.com/t/compiling-c-code/53333 "2016-01-24T04:12:08Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sampuig12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sampuig12](https://forums.unrealengine.com/u/Sampuig12)\
**Post date:** [January 24, 2016, 4:12am UTC](https://forums.unrealengine.com/t/compiling-c-code/53333/1 "2016-01-24T04:12:08Z")

</div>

Hello,

I was adding the off screen indicator node in c++

I am getting 2 errors:

* * *

Severity Code Description Project File Line Suppression State  
Error cmd.exe failed with args /c “C:/NVPACK/apache-ant-1.8.2/bin/ant.bat” debug NightRun C:\Users\Sam\Documents\Unreal Projects\NightRun\Intermediate\ProjectFiles\UnrealBuildTool Exception 1

* * *

Severity Code Description Project File Line Suppression State  
Error MSB3073 The command ““D:\Software\EpicGames\Epic Games\4.10\Engine\Build\BatchFiles\Build.bat” NightRun Android Development “C:\Users\Sam\Documents\Unreal Projects\NightRun\NightRun.uproject” -rocket -waitmutex -2015” exited with code -1. NightRun C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets 37

* * *

And in my unreal editor i am getting these tons of errors for some reason(Other than adding the node because i had these errors before), although my game actualy build fine and launches (It is an ANDROID game), but when I will need to package it for shipment, I will not be able to because of these errors… If anyone would have any ideas, it would be very helpful I tried alot of things, all failed…  
Here are some screenshots:

 ![1.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/9/a/29a6cc45907174b1ae672061d16dd05419750530.png)  
 ![2.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/d/b/5db3ca9c2352c31234043e2c645963dd7663ad09.png)  
 ![3.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/a/d/6ad180dce8345baf6d039ccd7dee52ede50a9449.png)  
 ![4.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/e/2/8e24713650b4822ca3b10bb77a4f8b16d39a75dd.png)  
 ![5.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/4/c/04cd5eb70fdff58c4602f7a155586bae55748068.png)  
 ![6.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/9/c/e9c2869e4da48366871291113e8cd10160282dff.png)  
 ![7.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/b/c/bcfae9b47d4849f391db40714159dfe780a2c3c6.png)  
 ![7.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/8/b/b8b1f5f5e4c09d8ba2d5236a0f492dbf3c0f762d.png)

Hope Someone could point out the issue, thank you for taking the time.

Sam.

---

<div class="post-metadata">

**Author:** ![Sampuig12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sampuig12](https://forums.unrealengine.com/u/Sampuig12)\
**Post date:** [January 24, 2016, 7:12pm UTC](https://forums.unrealengine.com/t/compiling-c-code/53333/2 "2016-01-24T19:12:23Z")

</div>

I tried alot more things, none of them worked… Is there maybe a way to start of clean in c++ but keeping my project?

---

<div class="post-metadata">

**Author:** ![Sampuig12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sampuig12](https://forums.unrealengine.com/u/Sampuig12)\
**Post date:** [January 25, 2016, 3:18am UTC](https://forums.unrealengine.com/t/compiling-c-code/53333/3 "2016-01-25T03:18:51Z")

</div>

Ok so i reinstalled ue4 AND visual studios, and changed in build options makefile to application, now just getting error:

Error C1083 Cannot open include file: ‘Engine.h’: No such file or directory …

---

<div class="post-metadata">

**Author:** ![Sampuig12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sampuig12](https://forums.unrealengine.com/u/Sampuig12)\
**Post date:** [January 25, 2016, 5:40am UTC](https://forums.unrealengine.com/t/compiling-c-code/53333/4 "2016-01-25T05:40:52Z")

</div>

What configuration type in Visual studio should i use to build an android app in ue4, it is currently set as makefile, should i change that?

---

<div class="post-metadata">

**Author:** ![Sampuig12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sampuig12](https://forums.unrealengine.com/u/Sampuig12)\
**Post date:** [January 30, 2016, 2:40pm UTC](https://forums.unrealengine.com/t/compiling-c-code/53333/5 "2016-01-30T14:40:23Z")

</div>

Would like to bump this, I’m only having the 2 errors :

Severity Code Description Project File Line Suppression State  
Error cmd.exe failed with args /c “C:/NVPACK/apache-ant-1.8.2/bin/ant.bat” debug NightRun C:\Users\Sam\Documents\Unreal Projects\NightRun\Intermediate\ProjectFiles\UnrealBuildTool Exception 1

* * *

Severity Code Description Project File Line Suppression State  
Error MSB3073 The command ““D:\Software\EpicGames\Epic Games\4.10\Engine\Build\BatchFiles\Build.bat” NightRun Android Development “C:\Users\Sam\Documents\Unreal Projects\NightRun\NightRun.uproject” -rocket -waitmutex -2015” exited with code -1. NightRun C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets 37

Did not find a fix

---

<div class="post-metadata">

**Author:** ![Sampuig12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sampuig12](https://forums.unrealengine.com/u/Sampuig12)\
**Post date:** [January 31, 2016, 2:19pm UTC](https://forums.unrealengine.com/t/compiling-c-code/53333/6 "2016-01-31T14:19:56Z")

</div>

Bumping this again 😕

---

<div class="post-metadata">

**Author:** ![Moss](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/moss/32/704032_2.png) [@Moss](https://forums.unrealengine.com/u/Moss)\
**Post date:** [February 1, 2016, 7:08am UTC](https://forums.unrealengine.com/t/compiling-c-code/53333/7 "2016-02-01T07:08:57Z")

</div>

I saw from the errors that you are using Rama’s Victory plugin, are you using the binary version of the plugin or the source version?

---

<div class="post-metadata">

**Author:** ![Sampuig12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sampuig12](https://forums.unrealengine.com/u/Sampuig12)\
**Post date:** [February 1, 2016, 1:32pm UTC](https://forums.unrealengine.com/t/compiling-c-code/53333/8 "2016-02-01T13:32:21Z")

</div>

Oh thank god, thank you for the answer ahaha

So, yes i am using ramas plugin for the sound blueprint (controlling main music and sfx games volume)

I am using this download :

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

for 4.10 that i added in my plugins folder in documents, unreal projects, my project.  
(the plugin works fine, I used to be able to compile fine, but i’v may have changed something that i shouldn’t?

---

<div class="post-metadata">

**Author:** ![Sampuig12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sampuig12](https://forums.unrealengine.com/u/Sampuig12)\
**Post date:** [February 1, 2016, 1:37pm UTC](https://forums.unrealengine.com/t/compiling-c-code/53333/9 "2016-02-01T13:37:03Z")

</div>

These are the bugs and warning i’m currently getting from visual studio:

 ![NEW1.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/3/9/397d97b50217c6d4e1ffdd26002c13e0eee73a2a.png)

---

<div class="post-metadata">

**Author:** ![Sampuig12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sampuig12](https://forums.unrealengine.com/u/Sampuig12)\
**Post date:** [February 1, 2016, 1:37pm UTC](https://forums.unrealengine.com/t/compiling-c-code/53333/10 "2016-02-01T13:37:37Z")

</div>

And these errors now unable me to build my game on my phone -\_-

---

<div class="post-metadata">

**Author:** ![Sampuig12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sampuig12](https://forums.unrealengine.com/u/Sampuig12)\
**Post date:** [February 2, 2016, 6:46pm UTC](https://forums.unrealengine.com/t/compiling-c-code/53333/11 "2016-02-02T18:46:57Z")

</div>

Bump again 😕

---

<div class="post-metadata">

**Author:** ![Moss](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/moss/32/704032_2.png) [@Moss](https://forums.unrealengine.com/u/Moss)\
**Post date:** [February 5, 2016, 10:28pm UTC](https://forums.unrealengine.com/t/compiling-c-code/53333/12 "2016-02-05T22:28:07Z")

</div>

Check the **output window** instead of the error list to see what the real errors are.

---

<div class="post-metadata">

**Author:** ![Sampuig12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sampuig12](https://forums.unrealengine.com/u/Sampuig12)\
**Post date:** [February 5, 2016, 10:41pm UTC](https://forums.unrealengine.com/t/compiling-c-code/53333/13 "2016-02-05T22:41:34Z")

</div>

Well i did make a new thread with updated info, I still can’t compile to phone or get these errors off, and getting near the end of development, so I would need to find a solution ! ^^

Thanks for the answer
