Sublime Forum

Error in sublime text

#1

Hi

I have this problem

In sublime text

System linux mint

Language c++

Can’t compiler the code

Shiw this massge

/usr/bin/ld: cannot open output file /: Is a directory

collect2: error: ld returned 1 exit status

[Finished in 26ms with exit code 1]

[shell_cmd: g++ “” -o “/”]

[dir: /opt/sublime_text]

[path: /home/ssoo/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin]

0 Likes

#2

You need to save the file before compiling it.

0 Likes

#3

Thank you………… .

0 Likes