I installed Ubuntu yesterday, so I don't know what many of the commands mean. I am just learning as they come. I installed Sublime Text 3 editor and tried to compile and run a program using a tutorial based on Ubuntu 16.04. The compilation was successful, but it shows some sort of error like this and the opened running terminal doesn't do anything.
So what I did was to change the build system: in line 12 I removed '-e' and added '--':
Now the error is not shown in the compile status, but the terminal is showing another error.
I think I need to make some additional changes to the Build System.
Here's the code I used for Build System:
{
"cmd": ["g++", "$file", "-o", "${file_path}/${file_base_name}"],
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"working_dir": "${file_path}",
"selector": "source.c, source.c++, source.cxx, source.cpp",
"variants":
[
{
"name": "Run",
"shell": true,
"cmd": ["gnome-terminal -e 'bash -c
\"${file_path}/${file_base_name};echo;echo; echo Press ENTER
to continue; read line;exit; exec bash\"'"]
}
]
}