Compiling in VSCode

I was wondering how can I compile inside the VSCode interface like in the Forward Declaration & Capsule component lecture. I tried several times and watch some tutorials but still gave me an error when I try to compile in VSCode.

Hey Jesinky, can you send a picture of your code and the message your using for compiling please, since either one of these would cause the complier to throw up a message where you can’t compile code.

I mean it compiles from the UE editor, but I was trying to compile from the VSCode terminal, I’m not sure if I need to install an extension or something else. I want to compile from VSCode because sometimes it’s easier to debug errors I think. :smiley:

You need to use the Editor Win64 Development configuration. That’s the build the editor is using.

I gave up, I try to find the “Editor Ein64 Development config” but the documentation says that I need to build a “Configure Default Build Task” and create a “task.json” and to be honest, I’m pretty new to C++ and I don’t know what I’m doing haha, I’m gonna continue compiling in UE4 since its easier for me. Thanks so much. :pray:

It’s presumably the same place where you ran the build task. You just chose the wrong one.

image

Ctrl + Shift + B > Then search Editor and use Win64 Development Build.

You chose Debug Build

Thank you, I think I got it :smiley: , I was doing it in the wrong way.
Cheers!!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms