This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Visual studio code Makefile problem

I am currently developing a code that will serve as my pulse sensor. I am now trying to write the code in VScode, for it is very appealing to me. The problem now arises with this. I followed the footsteps of this video:

https://www.youtube.com/watch?v=kyPKIRQIacI&lc=UgyVFm1e0LCgT6BEhxZ4AaABAg

In it, he uses the provided Makefile with the make command. I am using the MinGW compiler. It is located in my user path folder. I now seem to have an error regarding the make command itself. When I launch the code I get this error:

Makefile:278: ../../../../../../components/toolchain/gcc/Makefile.common: No such file or directory
make: *** No rule to make target '../../../../../../components/toolchain/gcc/Makefile.common'. Stop.

I need your help fellow electrotehnics. Thank you.

Here is what I wrote:

The main.c:

The c_cpp_properties.json:

The Makefile:

Parents Reply Children
Related