##Include errors (vscode)

19 messages · Page 1 of 1 (latest)

drifting gulch
#

I normally use jetbrains rider over VScode or VS, and I decided to use vscode for a project I'm working on.

The issue i've been having is with gcc not finding the include directories

And yes, I have added them to my c_cpp_properties file

I couldn't really find anything online (perhaps I didn't do a deep search), so yeah

feral canyonBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.

hollow onyx
#

(good luck lol)

drifting gulch
hollow onyx
drifting gulch
#

there's only two answers

#

either yes or no

dawn night
#

How do you compile? Using a tasks.json?
Note that the c_cpp_properties.json is just for IntelliSense.

drifting gulch
#

Note that the c_cpp_properties.json is just for IntelliSense.
oh

dawn night
#

So, just typing the command in the terminal?

drifting gulch
dawn night
#

Well you need to add the include path there with -I

drifting gulch
dawn night
#

But I'd rather use CMake

drifting gulch
#

I suppose so

dawn night