Make Issue, Linux Installation

CodeLite installation/troubleshooting forum
jda8818
CodeLite Curious
Posts: 2
Joined: Sun Jul 20, 2025 10:17 pm
Genuine User: Yes
IDE Question: C++
Contact:

Make Issue, Linux Installation

Post by jda8818 »

Codelite 17.1 on Linux Mint 21.3 (local software manager install) presents the following output on build:

Code: Select all

/usr/bin/make -j4 -e -f  Makefile
----------Building project:[ Project1 - Debug ]----------
make[1]: Entering directory '/home/john/Workspaces/Workspace1/Project1'
<built-in>: fatal error: opening dependency file /main.cpp.o.d: Permission denied
compilation terminated.
make[1]: *** [Project1.mk:97: /main.cpp.o] Error 1
make[1]: Leaving directory '/home/john/Workspaces/Workspace1/Project1'
make: *** [Makefile:5: All] Error 2
=== build completed successfully (0 errors, 0 warnings) ===

Thanks in advance for any and all comments/suggestions. GCC-12; simple "Hello, World!\n:" #include <iostream> & using namespace std;

jda8818

DavidGH
CodeLite Plugin
Posts: 823
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Make Issue, Linux Installation

Post by DavidGH »

Hi,

Various thoughts:

  • What happens if you try to build the code in a terminal? Does it compile there?

  • CodeLite comes with lots of sample projects. Try the minimal C one. Does that compile? If so, compare that project's settings with yours.

Regards,

David

jda8818
CodeLite Curious
Posts: 2
Joined: Sun Jul 20, 2025 10:17 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Make Issue, Linux Installation

Post by jda8818 »

Thank You David!

SOLVED

Yes it was 'That Question' on askUbubnu and the intermediate file specification which i changed to: $(ProjectPath)/Temp
per Steeldrivers comment. Apparently couldn't find a location for intermediate object files (or something).

Thanks again!

jda8818

Post Reply