# What's difference between editor's compile and visual studio's build?

**URL:** <https://forums.unrealengine.com/t/whats-difference-between-editors-compile-and-visual-studios-build/371864>\
**Category:** C++\
**Tags:** unreal-engine, unrealbuildtool, ubt, editor, UE4, CPP, question\
**Created:** [September 28, 2016, 10:10am UTC](https://forums.unrealengine.com/t/whats-difference-between-editors-compile-and-visual-studios-build/371864 "2016-09-28T10:10:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_96c9f467](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_96c9f467](https://forums.unrealengine.com/u/anonymous_user_96c9f467)\
**Post date:** [September 28, 2016, 10:10am UTC](https://forums.unrealengine.com/t/whats-difference-between-editors-compile-and-visual-studios-build/371864/1 "2016-09-28T10:10:58Z")

</div>

Hi. I’m beginner to unreal engine.

It looks like when I build project with visual studio, `UBT` is ran, but it looks like editor’s compile menu run `UBT`, too.

When I do clean project with visual studio and use editor’s compile, error happens.

`CompilerResultsLog:Error: Error LINK : fatal error LNK1181: 'C:\Users\juhong.jung\Documents\Unreal Projects\MyFirstTopDown\Plugins\{$MY_PLUGIN_NAME}\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-{$MY_PLUGIN_NAME}.lib' ?Է? ?????? ?? ?? ?????ϴ?.`

So I ran build with visual studio and recompiled with editor, there wasn’t error message.

They samely run `UBT` but why error happened?

Why editor’s compile don’t generate `*.lib` file?

---

<div class="post-metadata">

**Author:** ![mamoniem](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mamoniem/32/1194698_2.png) [@mamoniem](https://forums.unrealengine.com/u/mamoniem)\
**Post date:** [September 28, 2016, 10:25am UTC](https://forums.unrealengine.com/t/whats-difference-between-editors-compile-and-visual-studios-build/371864/2 "2016-09-28T10:25:10Z")

</div>

> The “Compile” button in the editor will not use the same build folder as Visual, so be consistent and either always build from Visual/XCode or always from the Unreal Editor. That way you will not be recompiling untouched files.

So basically both using different directories, in order to avoid any possible conflicts.

Source:  
[https://wiki.unrealengine.com/Hot\_Reload](https://wiki.unrealengine.com/Hot_Reload)

-m

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_96c9f467](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_96c9f467](https://forums.unrealengine.com/u/anonymous_user_96c9f467)\
**Post date:** [September 29, 2016, 1:44am UTC](https://forums.unrealengine.com/t/whats-difference-between-editors-compile-and-visual-studios-build/371864/3 "2016-09-29T01:44:46Z")

</div>

thank you!

---

<div class="post-metadata">

**Author:** ![mamoniem](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mamoniem/32/1194698_2.png) [@mamoniem](https://forums.unrealengine.com/u/mamoniem)\
**Post date:** [September 29, 2016, 5:38pm UTC](https://forums.unrealengine.com/t/whats-difference-between-editors-compile-and-visual-studios-build/371864/4 "2016-09-29T17:38:53Z")

</div>

welcome 😉
