When creating a new C program the Hello World main.c file doesn't appear

CodeLite installation/troubleshooting forum
RAD
CodeLite Curious
Posts: 4
Joined: Sun Feb 11, 2024 4:42 pm
Genuine User: Yes
IDE Question: C++
Contact:

When creating a new C program the Hello World main.c file doesn't appear

Post by RAD »

In the older versions of Codelite, for each new GCC project a Hello World main.c file was created in the <project_name><src> folder.

After updating Codelite to the latest version(s) the main.c file no longer appears on my machine and I only see a <include> and <src> folder under the project without any files in them. I have tried every setting possible without success and now find myself in the situation of not being able to create new projects.

It could be I am doing something stupid or have missed an important functionality change, but I would be grateful for any helps/steers on why this might occur.

Thanks.

RAD
CodeLite Curious
Posts: 4
Joined: Sun Feb 11, 2024 4:42 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: When creating a new C program the Hello World main.c file doesn't appear

Post by RAD »

Found a way to solve this.

My settings for a new project should be:
Category: Console
Type: Simple executable (gcc)
Compiler: gnu gcc
Debugger: GNU gdb debugger
Build system: Codelite Makefile Generator

With these settings everything works as I was used to before. :D

Post Reply