Compilation error

gamename
Posts: 32
Joined: Fri Dec 08, 2023 11:33 pm

Compilation error

Postby gamename » Sun Dec 10, 2023 12:30 am

Hi,

I'm getting this error when I compile for esp32 (below). I haven't touched `sleep_modes.c`, so I'm assuming there is an ifdef missing. Anyone have any ideas?

Code: Select all

/Users/tennis/esp/esp-idf/components/esp_hw_support/sleep_modes.c: In function 'esp_sleep_get_touchpad_wakeup_status':
/Users/tennis/esp/esp-idf/components/esp_hw_support/sleep_modes.c:1432:5: error: implicit declaration of function 'touch_hal_get_wakeup_status'; did you mean 'rtc_hal_ext1_get_wakeup_status'? [-Werror=implicit-function-declaration]
 1432 |     touch_hal_get_wakeup_status(&pad_num);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |     rtc_hal_ext1_get_wakeup_status
cc1: some warnings being treated as errors
Thanks,
-T

gamename
Posts: 32
Joined: Fri Dec 08, 2023 11:33 pm

Re: Compilation error

Postby gamename » Sun Dec 10, 2023 10:33 am

found the problem.

a2800276
Posts: 78
Joined: Sat Jan 23, 2016 1:59 pm

Re: Compilation error

Postby a2800276 » Sun Dec 10, 2023 11:50 am

gamename wrote:
Sun Dec 10, 2023 10:33 am
found the problem.
It really helps out forum ecosystems if you add a quick summary about what the problem was and how you solved it :)

gamename
Posts: 32
Joined: Fri Dec 08, 2023 11:33 pm

Re: Compilation error

Postby gamename » Sun Dec 10, 2023 3:59 pm

a2800276 wrote:
Sun Dec 10, 2023 11:50 am
gamename wrote:
Sun Dec 10, 2023 10:33 am
found the problem.
It really helps out forum ecosystems if you add a quick summary about what the problem was and how you solved it :)
Very true. I didn't include the correct headers in CMakeLists.txt. That caused the error.

But, I'm still wrestling with getting compilation to work and I'm recreating the CMakeLists.txt file altogether now.

Who is online

Users browsing this forum: Majestic-12 [Bot] and 228 guests