Sublime Forum

The system cannot find the file specified. sublime text4

#1

error showing -->The system cannot find the file specified.

my build system is
{
“cmd”: [“g++.exe”, “-std=c++17”, “${file}”,
“-o”, “${file_base_name}.exe”,
“&&”, “${file_base_name}.exe<input.in>output.out”],
“shell”:true,
“working_dir”:"$file_path",
“selector”:“source.cpp”
}

currently i am using sublime text 4
my gcc and g++ is up and running
my antivirus is disabled(as mentioned in the solution of the problem of another person )

0 Likes

#2

Are you sure you’ve saved the file you’re trying to compile and run?

0 Likes