Completely new to Ubuntu and programming as well. Installed CodeLite yesterday and still cannot compile a project. I get this after pressing "Compile this file".
/bin/sh -c '/usr/bin/make -j4 -e -f "ge_me.mk" MakeIntermediateDirs && /usr/bin/make -j4 -e -f "ge_me.mk" /main.cpp.o'
----------Building project:[ ge_me - Debug ] (Single File Build)----------
<built-in>: fatal error: opening dependency file /main.cpp.o.d: Permission denied
compilation terminated.
ge_me.mk:97: recipe for target '/main.cpp.o.d' failed
make: *** [/main.cpp.o.d] Error 1
====0 errors, 0 warnings====
Searched lots of problems about this throughout the internet, installed a number of packages. Since I wasn't understanding what I was doing (I am completely new to this stuff as I mentioned) I have run into this problem. Help please.
/main.cpp.o
, it looks like you are trying to save and compile files in the filesystem root directory/
(rather than somewhere under your user's home directory - which is where you should be working).g++
is the GNU C++ compiler