New Compilation error in rc-6 and rc-7

Hi, I've used version 2.0.0 rc6 for a while but I've strated to get his strange compilation error.
I'm using Windows 11 and I had this error on rc-6 and also on rc-7.

Anyone have any suggestions as to what it could be?
I've switched on verbose for copilation and included the output log.

Pastebin link https://pastebin.com/X4RfpF0r

It would be more convenient if you posted the error text here in code tags and even more helpful if you posted your code in the same way

1 Like

Normally people complain on forums of large logs being posted and it breaks the maximum character limit of a forum post anyway so I can't post it, sorry.

I tried it in 1.8.19 and it compiles OK so Iguess I'l have to use that until a later version.

Understood, so follow the advice in

and attach the error log to a post here to avoid the need to visit another site

How did you install RC7? I don't know much about ESP but this is the relevant part of the output

Using board 'esp32doit-devkit-v1' from platform in folder: C:\Users\gadje\OneDrive\Documents1\Arduino\hardware\espressif\esp32
Using core 'esp32' from platform in folder: C:\Users\gadje\OneDrive\Documents1\Arduino\hardware\espressif\esp32

...
...

In file included from c:\users\gadje\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32-elf\include\c++\8.4.0\xtensa-esp32-elf\no-rtti\bits\gthr.h:151,
                 from c:\users\gadje\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32-elf\include\c++\8.4.0\ext\atomicity.h:35,
                 from c:\users\gadje\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32-elf\include\c++\8.4.0\memory:73,
                 from C:\Users\gadje\OneDrive\Documents1\Arduino\hardware\espressif\esp32\libraries\FS\src/FS.h:24,
                 from c:\Users\gadje\OneDrive\Documents1\Arduino\libraries\TFT_eSPI-master/Processors/TFT_eSPI_ESP32.h:137,
                 from c:\Users\gadje\OneDrive\Documents1\Arduino\libraries\TFT_eSPI-master/TFT_eSPI.h:73,
                 from C:\Users\gadje\OneDrive\Documents1\Arduino\ESP Sketches\ESP32 Sketches\watchESP\watchESP.ino:1:
c:\users\gadje\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32-elf\include\c++\8.4.0\xtensa-esp32-elf\no-rtti\bits\gthr-default.h: In function 'int __gthread_mutex_timedlock(__gthread_mutex_t*, const __gthread_time_t*)':
c:\users\gadje\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32-elf\include\c++\8.4.0\xtensa-esp32-elf\no-rtti\bits\gthr-default.h:781:12: error: 'pthread_mutex_timedlock' was not declared in this scope
     return __gthrw_(pthread_mutex_timedlock) (__mutex, __abs_timeout);
            ^~~~~~~~
c:\users\gadje\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3\xtensa-esp32-elf\include\c++\8.4.0\xtensa-esp32-elf\no-rtti\bits\gthr-default.h:781:12: note: suggested alternative: 'pthread_mutex_trylock'

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.