Hi
I have a concern with code blocks and I can not find anything anywhere. I can not compile a simple "hello world" by default when creating a new program and it does not run. The log tells me
Code:
Project: Console application
Compiler: GNU GCC Compiler (called directly)
Directory: / home / testusr / Programming /
-------------------------------------------------- ------------------------------
Switching to target: default
Linking console executable: / home / testusr / Programming / console
execvp (g + + -L/usr/lib-o, / home / testusr / Programming / console .objs / main.o) failed with error 2!
Process terminated with status 1 (0 minutes, 0 seconds)
Already I noticed that it uses the compiler "g + +" while a project is C and not C + + (though it is configured with "gcc" in compiler options for C projects). Thank you to all those who try to help.
Bookmarks