Page 1 of 1

Make Issue, Linux Installation

Posted: Sun Jul 20, 2025 10:55 pm
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


Re: Make Issue, Linux Installation

Posted: Sun Jul 20, 2025 11:26 pm
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


Re: Make Issue, Linux Installation

Posted: Mon Jul 21, 2025 12:35 am
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