c++sublimetext2 I must have gone through every other similar question on stack overflow as well as other tutorials trying to get sublime text 2 to run my cpp code but I have yet to get it to work. My latest effort is using this guide here: But it still will not work. The error I get is: Please can someone guide me through this. In my bin folder, the exe is called mingw-get.exe if that helps. I created an enviroment varialbe as the guide said named MinGW with value of C:/MinGW/bin
my sublime text is not working what should i do after type hello world code and use command ctrl + B then (‘g++’ is not recognized as an internal or external command, operable program or batch file. [Finished in 0.1s]) it shows as output . what should i do
hello @parasjain7086 follow these steps-> https://blog.codingblocks.com/2016/setting-up-sublime-text-for-competitive-coding/ parasjain7086:
install g++ in ur system and add it in your environment variable
ok but this is for mac book users and i am using windows 10 so what should i do to resolve the problem
… parasjain7086:
installation procedure is same,apart from that u need to install g++ in ur system and add its path to environment variable.search it on internet how to do it for windows
sir i am unable to complete
refer this->link for g++ installation
may yu please take anydesk and do it please
bro i m here to help u with ds algo doubts. for any system specific doubt/issue pls take help of google stackoverflow or youtube
I hope I’ve cleared your doubt. I ask you to please rate your experience here Your feedback is very important. It helps us improve our platform and hence provide you the learning experience you deserve. On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
I am trying to set up Sublime Text 3 so I am able to build and run c++ files. I have installed MinGW, and added C:\MinGW\bin\g++.exe to my system path, but I am still receiving this error after restarted Sublime Text 3. Here is the full error message
4
THIS POST MAY BE IGNORED. RESTATING SUBLIME SOLVED IT Hi, I’m having problems when I try to compile programs in c++. I currently have this build file, which I stole of the internet somewhere, and it worked just fine. { "cmd": ["g++", "$file", "-o", "$file_base_name"], "selector": "source.c++", "working_dir": "$file_path", "variants": [ { "name": "Run", "cmd": ["g++", "$file", "-o", "$file_base_name", "&&", "$file_path/$file_base_name"], "shell": true } ] }However, afterwards, I tried to install SDL onto my computer using the tutorial here It didn’t work, so I deleted the related SDL files just in case, and also reverted the build file to what you see above. However, now, when I run it, I get the following error: And before you say that it’s something to do with the path, I have properly configured it. (Again, this build has worked before). When I run g++ --version in the cmd prompt, I get the message: As I have very little computing knowledge, may I ask that all steps be spelled out in painstaking detail? Thank you very much. 1 Like
For me, it's easily fixed by two steps, as below:
|