You are not logged in.
I'm trying to compile the current file inside a project when I get the error. Tried unsuccesfully to abort but still it seems to be stuck somewhere.
I can compile again if I restart Codeblocks, otherwise still stuck even inside another projects. Any help?
gcc -Wall -g -c /home/florea/Projects/lxsession-0.5.2#download/lxclipboard/clipboard.c -o obj/Debug/lxsession-0.5.2#download/lxclipboard/clipboard.o
In file included from /home/florea/Projects/lxsession-0.5.2#download/lxclipboard/clipboard.c:36:0:
/usr/include/gtk-3.0/gdk/gdk.h:30:27: fatal error: gdk/gdkconfig.h: No such file or directory
compilation terminated.
Aborting build...
Process aborted (killed).
Aborting build...
Process aborted (killed).Later edit:
Seems to work fine after I told the compiler where to find headers and library files.
I used this path:
Settings->Compiler settings->Other options And I added:
-I/usr/include/gtk-3.0
-I/usr/include/gtk-3.0/gdkLast edited by asdfiex (2015-12-16 16:00:47)
Offline
You don't really need Code Blocks or any other IDE. You can use vim, emacs, gedit etc after you install (from package manager) gcc, etc. I have used vim to do java coding with no problem. Using vim is easier than resorting to code blocks, etc.
Here is a website with more explanation: http://www.cyberciti.biz/faq/howto-comp … -in-linux/
Offline
There's more convenient for me to use an IDE, donatom! Thanks anyway for your solution, that was good to know about!
So far I experienced it got stuck whenever there were linking problems. I'll mark the topic as being solved.
Offline