Compilation Errors

SparkyNZ
Posts: 48
Joined: Thu Jan 04, 2024 9:01 pm

Compilation Errors

Postby SparkyNZ » Tue Jan 09, 2024 8:36 am

I am trying to build the FabGL library that must have been built with an older IDF environment. Try as I may, I cannot see to resolve the following errors:

Code: Select all

C:/esp32/projects/paul_fabgl/components/fabgl/dispdrivers/vga8controller.cpp:483:72: error: 'spi_flash_cache_enabled' was not declared in this scope; did you mean 'spi_flash_cache2phys'?
  483 |     if (scanLine >= height && !ctrl->m_primitiveProcessingSuspended && spi_flash_cache_enabled() && ctrl->m_primitiveExecTask) {
I have:

* REQUIRES spi_flash in my CMakeFiles.txt
* #include "esp_spi_flash.h" in the offending vga8controller.cpp file

Why can't it find spi_flash_cache_enabled() ?

JohnnyZ
Posts: 8
Joined: Thu Jan 11, 2024 10:24 am

Re: Compilation Errors

Postby JohnnyZ » Thu Jan 11, 2024 12:43 pm

Maybe you are missing "idf.py add-dependency <component name>?"

Who is online

Users browsing this forum: aapee-jcv, Google [Bot] and 419 guests