tomlau10 / gcc-make-run

Compile-run C/C++ source code and execute Makefile in Atom.
https://atom.io/packages/gcc-make-run
MIT License
24 stars 10 forks source link

some terrible error #14

Closed ToSeven closed 7 years ago

ToSeven commented 7 years ago

my computer system is window10 the compiler is tdm-gcc default

tomlau10 commented 7 years ago

you need full path to executable instead of the directory eg: F:\Program Files (x86)\tdm-gcc\bin\gcc.exe


if you set the directory in you $PATH environment variable, then you can leave these config as default you may follow this youtube video


if the above resolve your issue, you may close it hope this help :smiley:

ToSeven commented 7 years ago

thanks you very much. but there is another error default

tomlau10 commented 7 years ago

missing separator seems will only occur when running makefiles

ToSeven commented 7 years ago

It is normal when I use compile run but run makefile not my final setting default

tomlau10 commented 7 years ago

your settings seems correct and from your screenshot yesterday, it seems the plugin tried to Make Run on the temp.c did you right click temp.c and Make Run instead of right clicking the makefile to do so?


the Make Run is really designed for makefile only it can be invoked in 2 ways:

  1. open the makefile as a tab in atom, in this tab, press f6 (the default hotkey) then it will execute the makefile
  2. right click the makefile on tree view then select Make Run

image

ToSeven commented 7 years ago

thank you very much .I got it .you are so kindhearted