Search code examples
cgccvisual-studio-codeg++mingw-w64

Unable to build c code in visual studio code


1) using tmd-gcc 2) path is set

getting These errors while trying to Build the program


Solution

  • It is a very bad idea to have C&C++ directory. Rename it to C_CPP for example and everything will work OK

    Generally speaking try to avoid any non ASCII chars in the paths and filenames when programming. Even if theoretically speaking system allows them, the tools (like compilers, linkers etc) used in development might not.