# Compile C++ Without IDE

**URL:** <https://forums.unrealengine.com/t/compile-c-without-ide/621565>\
**Category:** C++\
**Tags:** UE4-23, unreal-engine, UE4, question, CPP\
**Created:** [August 4, 2022, 9:16pm UTC](https://forums.unrealengine.com/t/compile-c-without-ide/621565 "2022-08-04T21:16:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![OmegaRunner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@OmegaRunner](https://forums.unrealengine.com/u/OmegaRunner)\
**Post date:** [August 4, 2022, 9:16pm UTC](https://forums.unrealengine.com/t/compile-c-without-ide/621565/1 "2022-08-04T21:16:33Z")

</div>

So I’m getting ready to begin implementing code into my project but before I can do that I need to know how to compile my code. I don’t have the money for Visual Studio or CLion so I can’t run those currently, I’m on a Windows 7 machine and that means I can’t use XCode or CodeLite as much as CodeLite does run in Windows but none of the tutorials I was able to follow helped me build it at all. I’ve seen people suggest the solution of creating the code and then just compiling it in Unreal Engine but with all the problems I’ve been running into I’d like a proper workflow to get me started.

Specifically with creating C++ files, preparing them for compiling in Unreal Engine, and then actually compiling them. If anyone has any tips or tricks that would help please let me know.

Thank you.

---

<div class="post-metadata">

**Author:** ![pezzott1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pezzott1/32/1215068_2.png) [@pezzott1](https://forums.unrealengine.com/u/pezzott1)\
**Post date:** [August 4, 2022, 9:21pm UTC](https://forums.unrealengine.com/t/compile-c-without-ide/621565/2 "2022-08-04T21:21:50Z")

</div>

> [@OmegaRunner](#):
>
> I don’t have the money for Visual Studio

Visual Studio Community is free.

---

<div class="post-metadata">

**Author:** ![GigiK-K-K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GigiK-K-K](https://forums.unrealengine.com/u/GigiK-K-K)\
**Post date:** [August 7, 2022, 7:09am UTC](https://forums.unrealengine.com/t/compile-c-without-ide/621565/4 "2022-08-07T07:09:43Z")

</div>

I congratulate you on your fine option, get rid of it !!!  
Get a lite text editor, I use notepad ++ , has c++ key bindings and unreal key bindings, to automate sintax and make it easy when you type, auto fill in.

You press on the editor and it pops up in one second with the pages you left on the last time, pop in one second, save one second, close editor one second, switching between cpp pages tab one second. No hard drive herd, no lag, no “the page is stuck” or " it’s ruining my day it’s delaying it".

Mmmm no compile button inside the editor, no problem the unreal editor has one inside, hit the save button in the text editor alt tab hit compile inside the unreal editor. So you just go to the source files inside project and open what ever you want inside the text editor.

But before doing this you need the msbuild tools, with a bootstraper, make a cache on the drive , install from there from the command prompt .

Review this thread.

> [@Building with unreal build tools my project, I get an Error](https://forums.unrealengine.com/t/building-with-unreal-build-tools-my-project-i-get-an-error/241518):
>
> I’m trying to build my projects without Visual Studio I want to see how it is done and also Visual Studio is humongus slugish and slow, just not my kind of thing. So I followed a tutorial on how to build projects without VS. This is the tutorial. [[Unreal Engine C++ Project Setup, From Scratch] ](https://www.youtube.com/watch?v=94FvzO1HVzY) I followed it step by step and digested it down to understand it, but when I run from command prompt the following: "C:\Program Files\Epic Games\UE\_4.26\Engine\Build\BatchFiles\Build.bat" …

If you want your data collected by intelisense with visual studio and shipped to microsoft, or to ruin your day with this heavy IDE then use Visual Studio IDE.

Notice Microsoft makes you log in like a slave once a month to use the community edition for free. That is not free. Free is giving something then saying here you go, use it, you don’t have to do anything.
