Custom files not builded in templates

AleGiaco
Posts: 10
Joined: Thu Feb 06, 2020 9:48 am

Custom files not builded in templates

Postby AleGiaco » Wed Apr 22, 2020 12:33 pm

Hi,

I'm using Eclipse with ESP-IDF 4.1 and I have some problems with predefined templates.
If I create custom files they are not builded and "undefined reference" errors are returned when I call their functions and variables in the main file.

Regards

AleGiaco
Posts: 10
Joined: Thu Feb 06, 2020 9:48 am

Re: Custom files not builded in templates

Postby AleGiaco » Thu Apr 23, 2020 8:43 am

I solved the problem by adding all the custom files to the CMakelist.txt file in the main folder.
But is there a better solution?

Regards

Who is online

Users browsing this forum: Bing [Bot], YaCy [Bot] and 83 guests