Sublime Forum

Sublime Text don't make .exe files (C++ code)

#1

Well, recently I wanted to learn SDL2 with C++, but, when I made a simple “program” (only a debug message to test) and pressed F7, the sublime text didn’t compiled. “Building” appeared at the bottom left of the screen, but it didn’t made the .exe file. Does someone know what’s going on?

0 Likes

#2

What build system are you using?

0 Likes

#3

I’m using the build system from codergopher SDL2 tutorial.
This is the code:


and this is the tutorial: https://youtu.be/KsG6dJlLBDw?list=PL2RPjWnJduNmXHRYwdtublIPdlqocBoLS (Build system in: 17:20 - 22:41)

0 Likes

#4

I think %{project_path} should at least be ${project_path}.

Perhaps a better template variable is ${folder}, the first folder in your folders array.

0 Likes

#5

thank you very much, I hadn’t seen that lol. Now it’s working

0 Likes