Sublime Forum

The system cannot find the path specified [C build]

#1

I just made a simple hello world program…but the error occured…

Here’s the C build system…

{
"cmd" : ["gcc $file_name -o ${file_base_name} && ./${file_base_name}"],
"selector" : "source.c",
"shell": true,
"working_dir" : "$file_path"
}

and Here’s the output when I pressed Ctrl + Shift + B :

The system cannot find the path specified.
[Finished in 0.2s with exit code 1]
[cmd: ['gcc test2.c -o test2 && ./test2']]
[dir: D:\ChronicZamanProgramming\C]
[path: C:\MinGW\bin;C:\MinGW\bin]
0 Likes

#2

thank you for all the replies :slightly_smiling:

0 Likes

#3

You’re welcome.

0 Likes

#4

Do you get the same error if you use the default build for C/C++ that ships with Sublime?

0 Likes

#5

Can you make a simple “hello world” in Sublime and compile it with MinGW from the command line?

0 Likes