# Problem Visual Studio Code unreal + ubuntu

**URL:** <https://forums.unrealengine.com/t/problem-visual-studio-code-unreal-ubuntu/481691>\
**Category:** Platform & Builds\
**Tags:** vscode, ubuntu, Linux, unreal-engine, UE4, question, CPP\
**Created:** [April 10, 2021, 7:23am UTC](https://forums.unrealengine.com/t/problem-visual-studio-code-unreal-ubuntu/481691 "2021-04-10T07:23:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![barakooda.com](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@barakooda.com](https://forums.unrealengine.com/u/barakooda.com)\
**Post date:** [April 10, 2021, 7:23am UTC](https://forums.unrealengine.com/t/problem-visual-studio-code-unreal-ubuntu/481691/1 "2021-04-10T07:23:56Z")

</div>

Hi there,  
I compiled Unreal 26.1 on my new Ubuntu 20.04 installed test machine .  
I have changed the “source code” editor parameter to Visual Studio Code option.

So far i`m fail to compile simple c++ actor modification and the errors are not too clear for me …  
Any tips,links or guides to to develop in unreal with c++ on Ubuntu will be great !

Updates:

1. [I installed .NET using Snap](https://docs.microsoft.com/en-us/dotnet/core/install/linux-snap)

2. Had to run this line “sudo ln -s /snap/dotnet-sdk/current/dotnet /usr/local/bin/dotnet”  
in the terminal as offered [here](https://github.com/OmniSharp/omnisharp-vscode/wiki/Configuring-Snap-installs-of-dotnet-sdk).

3. currently still cant compile getting this lines :

include errors detected. Consider updating your compile\_commands.json or includePath. Squiggles are disabled for this translation unit (/home/barakooda/Documents/Unreal Projects/test1/Source/test1/MyActor.cpp).

cannot open source file “intrin.h” (dependency of “/home/barakooda/Unreal/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/Engine/SharedPCH.Engine.ShadowErrors.h”)

* * *

spec : 32 gb Ram Intel® Core™ i7-7700HQ CPU @ 2.80GHz NVIDIA Corporation GP104BM [GeForce GTX 1070 Mobile] Ubuntu 20.04.2 LTS 64-bit Gnome 3.36.8 X11

---

<div class="post-metadata">

**Author:** ![IndieZen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@IndieZen](https://forums.unrealengine.com/u/IndieZen)\
**Post date:** [August 3, 2021, 11:30pm UTC](https://forums.unrealengine.com/t/problem-visual-studio-code-unreal-ubuntu/481691/2 "2021-08-03T23:30:33Z")

</div>

How did you generate your vscode workspace?

Consider something like

```
~/UnrealEngine/Engine/Build/BatchFiles/Linux/GenerateProjectFiles.sh ~/path/to/your/project.uproject -game -engine -server -rocket -progress -VSCode

```

That might help with the “squiggles”.

I’m not sure about the ‘intrin.h’ problem; I’ve not seen that before.

---

<div class="post-metadata">

**Author:** ![IndieZen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@IndieZen](https://forums.unrealengine.com/u/IndieZen)\
**Post date:** [August 3, 2021, 11:33pm UTC](https://forums.unrealengine.com/t/problem-visual-studio-code-unreal-ubuntu/481691/3 "2021-08-03T23:33:11Z")

</div>

I think he’s talking about VSCode, not Visual Studio. I’ve used VSCode on Linux for a couple of years as my primary IDE and it’s worked quite nicely for me, especially since I use so many languages simultaneously within the same workspace.
