Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse not compiling all of my C code
Eclipse not compiling all of my C code [message #1836638] Sun, 10 January 2021 19:20
Craig Lindley is currently offline Craig LindleyFriend
Messages: 1
Registered: January 2021
Junior Member
I'm trying to compile an ESP-IDF project. I created a new project and it created a main.c file. I then imported all of my C code from elsewhere into the project which overwrote main.c and I then tried to compile and my main.c has errors because none of the other C code was compiled/linked. I assume this has something to do with Cmakelists.txt as it only references my main.c file

set(COMPONENT_SRCS "main.c")

I tried to change this to "*.c" but that causes errors.

What am I doing wrong?

TIA for any help you can offer
Previous Topic:dead MQTTClient_publish
Next Topic:Display/re-display issues with Eclipse
Goto Forum:
  


Current Time: Sat Apr 27 05:01:39 GMT 2024

Powered by FUDForum. Page generated in 0.23093 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top