Open andrrff opened 4 years ago
I am having this same issue on Mac. was just trying to compile a hello world to test my install.
I am having this same issue on Mac. was just trying to compile a hello world to test my install.
Me too. How to resolve?
What I realized was that what was actually wrong (on Mac) was that some c++ header files were not visible to the compiler because they were in an odd location. So I copied them to where the compiler expected them to be and that was it.
I am having this same issue on Mac. was just trying to compile a hello world to test my install.
Me too. How to resolve?
Just add ".c" in the file name before saving it.
That would not have solved my issue, since it was already saved as a c++ file. See solution above.
I'm still having this issue and the solution above is painfully vague, can someone please help?
@bignosejones are you on Mac or windows
I'm a tech noob and getting this error. someone please help! I'm on linux mint and I installed gcc. I don't know what the issue is.
I got this error on windows and have no idea how to solve it. Any help would be appreciated!
I can’t help with windows, sorry.
I'm on a Mac, and I have the same issue.
Do you get more than one error message, or just this one? In my case, the compiler was not seeing the header files and I just copied them to the location that it said in the error message.
I'm still having this issue and the solution above is painfully vague, can someone please help?
there was a unnecessary space and a comma in my printf section, which was automatically added by atom itself. i removed that space and the comma.Then everything went okay.
I'm having trouble to compile C (.c) but C++(.cpp) is ok.
Tengo este mismo problema en Mac. solo intentaba compilar un hello world para probar mi instalación.
Yo también. ¿Cómo resolverlo?
Simplemente agregue ".c" en el nombre del archivo antes de guardarlo.
Yo lo comprobé y me resulto funciona realmente.
I'm having trouble to compile C (.c) but C++(.cpp) is ok.
try reinstalling the gcc g++ compiler in the atom plugins . im using the "gpp-compiler" as the atom plugin.
I just downloaded the "gpp-compiler", set its PATH and executed a Hello, world! program, but it shows this exact error. I've tried re-installing the plug-in and even restarting my system but nothing seems to work!
I just downloaded the "gpp-compiler", set its PATH and executed a Hello, world! program, but it shows this exact error. I've tried re-installing the plug-in and even restarting my system but nothing seems to work!
are you sure about the MinGW? did you installed it correctly ?
Today, I found a way to fix that #319
[Enter steps to reproduce:]
Atom: 1.44.0 x64 Electron: 4.2.7 OS: Unknown Windows version Thrown From: gpp-compiler package 3.0.7
Stack Trace
Uncaught Callback must be a function
Commands
Non-Core Packages