CMakeLists.txt >> error: 'Building Active Configuration'

ignisuti
Posts: 41
Joined: Wed Nov 15, 2023 1:29 pm

CMakeLists.txt >> error: 'Building Active Configuration'

Postby ignisuti » Wed Nov 20, 2024 9:39 pm

Whenever I modify any of the CMakeLists.txt files and try to rebuild the project I get this Prompt:

Code: Select all

error: "'Building Active Configuration' has encountered a problem". 

Errors occurred during the build.
Errors running builder 'CDT Core Builder' on project 'TEST'.
Building TEST
D:\Test\Firmware_TEST\build\bootloader
Building TEST
D:\Test\Firmware_TEST\build\bootloader
Cleaning the project doesn't help.

What works most of the time is closing the Espressif Eclipse IDE and re-opening it.

Occasionally, that doesn't work either, and then I have to delete & re-import the project to get it working again.

-My project is using the nvs_rw_blob project
-Using ESP-IDF 5.3.1

ESP_kondalkolipaka
Posts: 199
Joined: Wed Jul 17, 2019 5:26 pm

Re: CMakeLists.txt >> error: 'Building Active Configuration'

Postby ESP_kondalkolipaka » Wed Dec 04, 2024 5:45 pm

Hello,

> Errors running builder 'CDT Core Builder' on project 'TEST'.

It looks like the project is not recognized as an IDF project. This could be due to how you created or imported the project.

if you're importing a project, please make sure you follow the import instructions from here.
https://docs.espressif.com/projects/esp ... ortproject

If you're creating a new project, please use the following option
https://docs.espressif.com/projects/esp ... ew-project

With that, you don't get to see the issue you've reported.

ignisuti
Posts: 41
Joined: Wed Nov 15, 2023 1:29 pm

Re: CMakeLists.txt >> error: 'Building Active Configuration'

Postby ignisuti » Wed Dec 11, 2024 10:36 pm

I have re-created my project by using an example project and all is good now.

Thank you for your suggestions!

leenowell
Posts: 142
Joined: Tue Jan 15, 2019 1:50 pm

Re: CMakeLists.txt >> error: 'Building Active Configuration'

Postby leenowell » Sat Dec 28, 2024 9:57 am

I have the same problem. I have created a couple of new projects using the mechanism suggested both using an example and not and still get the error. When the project is created it builds fine. I then add another file to "main" and try adding it to the CMakelists.txt file and immediately get the same issue. I used the helloworld example, which did you use?

Restarting Eclipse after changing CMakelists.txt does seem to resolve the issue.

thanks
Lee.

ignisuti
Posts: 41
Joined: Wed Nov 15, 2023 1:29 pm

Re: CMakeLists.txt >> error: 'Building Active Configuration'

Postby ignisuti » Sat Dec 28, 2024 4:27 pm

I was using the nvs_rw_blob example project.

I sort of gave-up on this issue. I know my original project was built off of this example project. But, the support here in this chat said that example projects would work fine. So, I wiped my project and started fresh with the example again, and the problem went away. But now, after many changes to my project, it's come back again a few days ago. It only happens to me when I update any of my CMakeList.txt files, which isn't that often, so I've been ignoring the error.

Would still like to get better guidance on this now that I know I'm not alone.

leenowell
Posts: 142
Joined: Tue Jan 15, 2019 1:50 pm

Re: CMakeLists.txt >> error: 'Building Active Configuration'

Postby leenowell » Sun Dec 29, 2024 7:40 am

Thanks very much for getting back to me. There does seem to be some sort of bug here. I am early on in my project so have had to change the CMakesLists.txt file quite a few times and each time needing to reboot Eclipse to fix the problem. Bit of a pain.

Hopefully someone will have an idea about out to fix this.

leenowell
Posts: 142
Joined: Tue Jan 15, 2019 1:50 pm

Re: CMakeLists.txt >> error: 'Building Active Configuration'

Postby leenowell » Mon Dec 30, 2024 7:44 pm

Not sure how to flag this to the esp folks but the issue for me has gone worse. I created a new project based on hello world and then linked it to a component I have in another project. Now, I get this issue but every time I change my code and try to build it. Only way I have found to fix it is to restart Eclipse and all is well until I change something and then have to restart it again to build it. My CMakelists,txt is

idf_component_register(SRCS "BBQThermometer.c"
PRIV_REQUIRES spi_flash
INCLUDE_DIRS ""
EXTRA_COMPONENT_DIRS "../../HomeIoT/components")

Would appreciate any help as this is painful to use now.

Many thanks

Lee.

leenowell
Posts: 142
Joined: Tue Jan 15, 2019 1:50 pm

Re: CMakeLists.txt >> error: 'Building Active Configuration'

Postby leenowell » Sun Jan 05, 2025 6:25 pm

Any thoughts on this as this bug is painful

Who is online

Users browsing this forum: No registered users and 8 guests