Using CTRL + B, I get an error.
The error message:
[Error 2] The system cannot find the file specified
[cmd: [u'g++', u'C:\\Users\\User\\Desktop\\Test.cpp', u'-o', u'C:\\Users\\User\\Desktop/Test']]
[path: C:\Program Files\Java\jdk1.7.0_07\bin;C:\Program Files (x86)\QuickTime\QTSystem\]
My build system is currently set to automatic. Manual set up to C++ and Python still results the same error.
When I try my CodeBlocks to run Test.cpp it runs fine.
- Code: Select all
std::cout << "Hello world!\n";
It has been few days since I started coding Python and C++. Since I only use Sublime Text 2 for web coding, this is the first time I have encountered an error on Sublime Text.
I am assuming that this error is because of the complier on my computer and the CodeBlocks compiler is different from Sublime Text's compiler.
Please help me run Python and C++ on my computer.