Web Editor not happy with RF24 library

I am having an issue using the RF24 library for my NRF2401 radios. The library works fine in my desktop IDE. I get what looks like a basic error message, but when i comment out the include lines, the error goes away and it compiles. This is a windows based 64x windows 10 laptop. I am using google chrome. I am using a Wemos D1 mini board. I will try to include a link to the sketch. https://create.arduino.cc/editor/Dscoggins/4f73ccf6-faea-470d-b6f0-22d69d417063
Here is my error message......

/usr/local/bin/arduino-cli compile --fqbn esp8266:esp8266:d1_mini:baud=921600,dbg=Disabled,eesz=4M,exception=disabled,ip=lm2f,lvl=None____,vt=flash,wipe=none,xtal=80 --libraries /home/builder/opt/libraries/latest --build-cache-path /tmp --output-dir /tmp/028355692/build --build-path /tmp/arduino-build-B12D360F3D2EE5AC2AE529B420962830 --library /home/builder/opt/libraries/rf24_1_4_1 /tmp/028355692/Led_nov16a

Using library arduino_debugutils_1_1_0 at version 1.1.0 in folder: /home/builder/opt/libraries/arduino_debugutils_1_1_0

Using library arduinomqttclient_0_1_5 at version 0.1.5 in folder: /home/builder/opt/libraries/arduinomqttclient_0_1_5

In file included from /tmp/028355692/Led_nov16a/Led_nov16a.ino:5:0:

/home/builder/opt/libraries/rf24_1_4_1/nRF24L01.h:35:21: error: expected identifier before numeric constant

#define CD 0x09

^

/home/builder/opt/libraries/latest/arduinoiotcloud_1_3_1/src/cbor/../property/types/automation/CloudTelevision.h:52:3: note: in expansion of macro 'CD'

CD = 9,

^

/home/builder/opt/libraries/rf24_1_4_1/nRF24L01.h:36:21: error: expected '}' before numeric constant

#define CD 0x09

^

/home/builder/opt/libraries/latest/arduinoiotcloud_1_3_1/src/cbor/../property/types/automation/CloudTelevision.h:52:3: note: in expansion of macro 'CD'

CD = 9,

^

/home/builder/opt/libraries/rf24_1_4_1/nRF24L01.h:36:21: error: expected unqualified-id before numeric constant

#define CD 0x09

^

/home/builder/opt/libraries/latest/arduinoiotcloud_1_3_1/src/cbor/../property/types/automation/CloudTelevision.h:52:3: note: in expansion of macro 'CD'

CD = 9,

^

In file included from /home/builder/opt/libraries/latest/arduinoiotcloud_1_3_1/src/cbor/../property/PropertyContainer.h:54:0,

from /home/builder/opt/libraries/latest/arduinoiotcloud_1_3_1/src/cbor/CBORDecoder.h:35,

from /home/builder/opt/libraries/latest/arduinoiotcloud_1_3_1/src/ArduinoIoTCloud.h:35,

from /tmp/028355692/Led_nov16a/thingProperties.h:3,

from /tmp/028355692/Led_nov16a/Led_nov16a.ino:30:

/home/builder/opt/libraries/latest/arduinoiotcloud_1_3_1/src/cbor/../property/types/automation/CloudTelevision.h:104:1: error: expected declaration before '}' token

};

^

Error during build: exit status 1

Thank you in advance.

Hi @Dscoggins. I think it must be caused by using different library versions on your desktop vs Arduino Web Editor.

I'm going to ask you to provide the output from compiling the sketch on your desktop IDE.

Please do this:

  1. Select File > Preferences from the Arduino IDE's menus.
  2. Check the box next to "Show verbose output during: compilation".
  3. Click the OK button.
  4. Select Sketch > Verify/Compile from the Arduino IDE's menus.
  5. Wait for the compilation to finish.
  6. Click on the black console pane at the bottom of the Arduino IDE window.
  7. Press Ctrl+A to select all the text.
  8. Press Ctrl+C to copy the selected text to the clipboard.
  9. Open a forum reply here by clicking the Reply button.
  10. Click the </> icon on the post composer toolbar. This will add the forum's code block markup (```) to your reply to make sure the compilation output is correctly formatted.
    Code block
  11. Press Ctrl+V. This will paste the compilation output into the code block.
  12. Move the cursor outside of the code tags before you add any additional text to your reply.
  13. Click the Reply button to post the output.

This is a sketch that uses the RF24 library on my desktop version. It compiles fine. I just tried to load the same sketch into Web Editor and it wont compile The same libraries are installed on each, though im not sure of the version. Here is the compile notes from the IDE. Thank You.











C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\bigda\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\bigda\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\bigda\Documents\Arduino\libraries -fqbn=esp8266:esp8266:d1_mini_clone:xtal=80,vt=flash,exception=disabled,stacksmash=disabled,ssl=all,mmu=3232,non32xfer=fast,FlashMode=dout,FlashFreq=40,eesz=4M2M,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=921600 -ide-version=10816 -build-path C:\Users\bigda\AppData\Local\Temp\arduino_build_590915 -warnings=none -build-cache C:\Users\bigda\AppData\Local\Temp\arduino_cache_373805 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.python3.path=C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\tools\python3\3.7.2-post1 -prefs=runtime.tools.python3-3.7.2-post1.path=C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\tools\python3\3.7.2-post1 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed -prefs=runtime.tools.xtensa-lx106-elf-gcc-3.0.4-gcc10.3-1757bed.path=C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed -prefs=runtime.tools.mklittlefs.path=C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\tools\mklittlefs\3.0.4-gcc10.3-1757bed -prefs=runtime.tools.mklittlefs-3.0.4-gcc10.3-1757bed.path=C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\tools\mklittlefs\3.0.4-gcc10.3-1757bed -prefs=runtime.tools.mkspiffs.path=C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\tools\mkspiffs\3.0.4-gcc10.3-1757bed -prefs=runtime.tools.mkspiffs-3.0.4-gcc10.3-1757bed.path=C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\tools\mkspiffs\3.0.4-gcc10.3-1757bed -verbose C:\Users\bigda\Dropbox\Arduino\Arduino Libraries\D1MiniStartupWRF24\D1MiniStartupWRF24.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\bigda\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\bigda\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\bigda\Documents\Arduino\libraries -fqbn=esp8266:esp8266:d1_mini_clone:xtal=80,vt=flash,exception=disabled,stacksmash=disabled,ssl=all,mmu=3232,non32xfer=fast,FlashMode=dout,FlashFreq=40,eesz=4M2M,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=921600 -ide-version=10816 -build-path C:\Users\bigda\AppData\Local\Temp\arduino_build_590915 -warnings=none -build-cache C:\Users\bigda\AppData\Local\Temp\arduino_cache_373805 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.python3.path=C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\tools\python3\3.7.2-post1 -prefs=runtime.tools.python3-3.7.2-post1.path=C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\tools\python3\3.7.2-post1 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed -prefs=runtime.tools.xtensa-lx106-elf-gcc-3.0.4-gcc10.3-1757bed.path=C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\3.0.4-gcc10.3-1757bed -prefs=runtime.tools.mklittlefs.path=C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\tools\mklittlefs\3.0.4-gcc10.3-1757bed -prefs=runtime.tools.mklittlefs-3.0.4-gcc10.3-1757bed.path=C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\tools\mklittlefs\3.0.4-gcc10.3-1757bed -prefs=runtime.tools.mkspiffs.path=C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\tools\mkspiffs\3.0.4-gcc10.3-1757bed -prefs=runtime.tools.mkspiffs-3.0.4-gcc10.3-1757bed.path=C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\tools\mkspiffs\3.0.4-gcc10.3-1757bed -verbose C:\Users\bigda\Dropbox\Arduino\Arduino Libraries\D1MiniStartupWRF24\D1MiniStartupWRF24.ino
Using board 'd1_mini_clone' from platform in folder: C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2
Using core 'esp8266' from platform in folder: C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2
Detecting libraries used...
"C:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/sdk/include" "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/sdk/lwip2/include" "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915/core" -c -w -Werror=return-type -Os -g -free -fipa-pta -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++17 -ffunction-sections -fdata-sections -fno-exceptions -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10816 -DARDUINO_ESP8266_WEMOS_D1MINI -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_WEMOS_D1MINI\"" -DFLASHMODE_DOUT -DESP8266 "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\cores\\esp8266" "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\variants\\d1_mini" "C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915\\sketch\\D1MiniStartupWRF24.ino.cpp" -o nul
Alternatives for ESP8266WiFi.h: [ESP8266WiFi@1.0]
ResolveLibrary(ESP8266WiFi.h)
  -> candidates: [ESP8266WiFi@1.0]
"C:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/sdk/include" "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/sdk/lwip2/include" "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915/core" -c -w -Werror=return-type -Os -g -free -fipa-pta -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++17 -ffunction-sections -fdata-sections -fno-exceptions -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10816 -DARDUINO_ESP8266_WEMOS_D1MINI -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_WEMOS_D1MINI\"" -DFLASHMODE_DOUT -DESP8266 "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\cores\\esp8266" "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\variants\\d1_mini" "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\libraries\\ESP8266WiFi\\src" "C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915\\sketch\\D1MiniStartupWRF24.ino.cpp" -o nul
Alternatives for SPI.h: [SPI@1.0]
ResolveLibrary(SPI.h)
  -> candidates: [SPI@1.0]
"C:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/sdk/include" "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/sdk/lwip2/include" "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915/core" -c -w -Werror=return-type -Os -g -free -fipa-pta -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++17 -ffunction-sections -fdata-sections -fno-exceptions -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10816 -DARDUINO_ESP8266_WEMOS_D1MINI -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_WEMOS_D1MINI\"" -DFLASHMODE_DOUT -DESP8266 "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\cores\\esp8266" "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\variants\\d1_mini" "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\libraries\\ESP8266WiFi\\src" "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\libraries\\SPI" "C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915\\sketch\\D1MiniStartupWRF24.ino.cpp" -o nul
Alternatives for nRF24L01.h: [RF24-master@1.3.9 RF24@1.4.1]
ResolveLibrary(nRF24L01.h)
  -> candidates: [RF24-master@1.3.9 RF24@1.4.1]
"C:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/sdk/include" "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/sdk/lwip2/include" "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915/core" -c -w -Werror=return-type -Os -g -free -fipa-pta -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++17 -ffunction-sections -fdata-sections -fno-exceptions -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10816 -DARDUINO_ESP8266_WEMOS_D1MINI -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_WEMOS_D1MINI\"" -DFLASHMODE_DOUT -DESP8266 "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\cores\\esp8266" "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\variants\\d1_mini" "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\libraries\\ESP8266WiFi\\src" "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\libraries\\SPI" "-IC:\\Users\\bigda\\Documents\\Arduino\\libraries\\RF24-master" "C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915\\sketch\\D1MiniStartupWRF24.ino.cpp" -o nul
Using cached library dependencies for file: C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\BearSSLHelpers.cpp
Using cached library dependencies for file: C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\CertStoreBearSSL.cpp
Using cached library dependencies for file: C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\ESP8266WiFi.cpp
Using cached library dependencies for file: C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\ESP8266WiFiAP.cpp
Using cached library dependencies for file: C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\ESP8266WiFiGeneric.cpp
Using cached library dependencies for file: C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\ESP8266WiFiGratuitous.cpp
Using cached library dependencies for file: C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\ESP8266WiFiMulti.cpp
Using cached library dependencies for file: C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\ESP8266WiFiSTA-WPS.cpp
Using cached library dependencies for file: C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\ESP8266WiFiSTA.cpp
Using cached library dependencies for file: C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\ESP8266WiFiScan.cpp
Using cached library dependencies for file: C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\WiFiClient.cpp
Using cached library dependencies for file: C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\WiFiClientSecureBearSSL.cpp
Using cached library dependencies for file: C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\WiFiServer.cpp
Using cached library dependencies for file: C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\WiFiServerSecureBearSSL.cpp
Using cached library dependencies for file: C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\WiFiUdp.cpp
Using cached library dependencies for file: C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\enable_wifi_at_boot_time.cpp
Using cached library dependencies for file: C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\SPI\SPI.cpp
Using cached library dependencies for file: C:\Users\bigda\Documents\Arduino\libraries\RF24-master\RF24.cpp
Generating function prototypes...
"C:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/sdk/include" "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/sdk/lwip2/include" "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915/core" -c -w -Werror=return-type -Os -g -free -fipa-pta -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++17 -ffunction-sections -fdata-sections -fno-exceptions -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10816 -DARDUINO_ESP8266_WEMOS_D1MINI -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_WEMOS_D1MINI\"" -DFLASHMODE_DOUT -DESP8266 "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\cores\\esp8266" "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\variants\\d1_mini" "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\libraries\\ESP8266WiFi\\src" "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\libraries\\SPI" "-IC:\\Users\\bigda\\Documents\\Arduino\\libraries\\RF24-master" "C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915\\sketch\\D1MiniStartupWRF24.ino.cpp" -o "C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" -I "C:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/signing.py" --mode header --publickey "C:\\Users\\bigda\\Dropbox\\Arduino\\Arduino Libraries\\D1MiniStartupWRF24/public.key" --out "C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915/core/Updater_Signing.h"
"C:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -D_GNU_SOURCE "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/sdk/include" "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/sdk/lwip2/include" "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915/core" -c -w -Werror=return-type -Os -g -free -fipa-pta -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++17 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10816 -DARDUINO_ESP8266_WEMOS_D1MINI -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_WEMOS_D1MINI\"" -DFLASHMODE_DOUT -DESP8266 "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\cores\\esp8266" "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\variants\\d1_mini" "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\libraries\\ESP8266WiFi\\src" "-IC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2\\libraries\\SPI" "-IC:\\Users\\bigda\\Documents\\Arduino\\libraries\\RF24-master" "C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915\\sketch\\D1MiniStartupWRF24.ino.cpp" -o "C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915\\sketch\\D1MiniStartupWRF24.ino.cpp.o"
Compiling libraries...
Compiling library "ESP8266WiFi"
Using previously compiled file: C:\Users\bigda\AppData\Local\Temp\arduino_build_590915\libraries\ESP8266WiFi\CertStoreBearSSL.cpp.o
Using previously compiled file: C:\Users\bigda\AppData\Local\Temp\arduino_build_590915\libraries\ESP8266WiFi\BearSSLHelpers.cpp.o
Using previously compiled file: C:\Users\bigda\AppData\Local\Temp\arduino_build_590915\libraries\ESP8266WiFi\ESP8266WiFiAP.cpp.o
Using previously compiled file: C:\Users\bigda\AppData\Local\Temp\arduino_build_590915\libraries\ESP8266WiFi\ESP8266WiFi.cpp.o
Using previously compiled file: C:\Users\bigda\AppData\Local\Temp\arduino_build_590915\libraries\ESP8266WiFi\ESP8266WiFiGeneric.cpp.o
Using previously compiled file: C:\Users\bigda\AppData\Local\Temp\arduino_build_590915\libraries\ESP8266WiFi\ESP8266WiFiGratuitous.cpp.o
Using previously compiled file: C:\Users\bigda\AppData\Local\Temp\arduino_build_590915\libraries\ESP8266WiFi\ESP8266WiFiMulti.cpp.o
Using previously compiled file: C:\Users\bigda\AppData\Local\Temp\arduino_build_590915\libraries\ESP8266WiFi\ESP8266WiFiSTA-WPS.cpp.o
Using previously compiled file: C:\Users\bigda\AppData\Local\Temp\arduino_build_590915\libraries\ESP8266WiFi\ESP8266WiFiSTA.cpp.o
Using previously compiled file: C:\Users\bigda\AppData\Local\Temp\arduino_build_590915\libraries\ESP8266WiFi\ESP8266WiFiScan.cpp.o
Using previously compiled file: C:\Users\bigda\AppData\Local\Temp\arduino_build_590915\libraries\ESP8266WiFi\WiFiClient.cpp.o
Using previously compiled file: C:\Users\bigda\AppData\Local\Temp\arduino_build_590915\libraries\ESP8266WiFi\WiFiClientSecureBearSSL.cpp.o
Using previously compiled file: C:\Users\bigda\AppData\Local\Temp\arduino_build_590915\libraries\ESP8266WiFi\WiFiServer.cpp.o
Using previously compiled file: C:\Users\bigda\AppData\Local\Temp\arduino_build_590915\libraries\ESP8266WiFi\WiFiServerSecureBearSSL.cpp.o
Using previously compiled file: C:\Users\bigda\AppData\Local\Temp\arduino_build_590915\libraries\ESP8266WiFi\WiFiUdp.cpp.o
Using previously compiled file: C:\Users\bigda\AppData\Local\Temp\arduino_build_590915\libraries\ESP8266WiFi\enable_wifi_at_boot_time.cpp.o
Using previously compiled file: C:\Users\bigda\AppData\Local\Temp\arduino_build_590915\libraries\ESP8266WiFi\ESP8266WiFi.a
Compiling library "SPI"
Using previously compiled file: C:\Users\bigda\AppData\Local\Temp\arduino_build_590915\libraries\SPI\SPI.cpp.o
Compiling library "RF24-master"
Using previously compiled file: C:\Users\bigda\AppData\Local\Temp\arduino_build_590915\libraries\RF24-master\RF24.cpp.o
Compiling core...
Using precompiled core: C:\Users\bigda\AppData\Local\Temp\arduino_cache_373805\core\core_1d83645bea6c5d9282acb49c4ddb2e62.a
Linking everything together...
"C:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" -I "C:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/mkdir.py" -p "C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915/ld_h/"
"C:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" -I "C:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/cp.py" "C:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/sdk/ld/eagle.flash.4m2m.ld" "C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915/ld_h/local.eagle.flash.ld.h"
"C:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-gcc" -CC -E -P -DVTABLES_IN_FLASH -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 "C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915/ld_h/local.eagle.flash.ld.h" -o "C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915/local.eagle.flash.ld"
"C:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-gcc" -CC -E -P -DVTABLES_IN_FLASH -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 "C:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/sdk/ld/eagle.app.v6.common.ld.h" -o "C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915/local.eagle.app.v6.common.ld"
"C:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-gcc" -fno-exceptions -Wl,-Map "-Wl,C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915/D1MiniStartupWRF24.ino.map" -g -w -Werror=return-type -Os -nostdlib -Wl,--no-check-sections -u app_entry -u _printf_float -u _scanf_float -Wl,-static "-LC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/sdk/lib" "-LC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/sdk/lib/NONOSDK22x_190703" "-LC:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915" "-LC:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/sdk/libc/xtensa-lx106-elf/lib" -Tlocal.eagle.flash.ld -Wl,--gc-sections -Wl,-wrap,system_restart_local -Wl,-wrap,spi_flash_read -o "C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915/D1MiniStartupWRF24.ino.elf" -Wl,--start-group "C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915\\sketch\\D1MiniStartupWRF24.ino.cpp.o" "C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915\\libraries\\ESP8266WiFi\\ESP8266WiFi.a" "C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915\\libraries\\SPI\\SPI.cpp.o" "C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915\\libraries\\RF24-master\\RF24.cpp.o" "C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_cache_373805\\core\\core_1d83645bea6c5d9282acb49c4ddb2e62.a" -lhal -lphy -lpp -lnet80211 -llwip2-536-feat -lwpa -lcrypto -lmain -lwps -lbearssl -lespnow -lsmartconfig -lairkiss -lwpa2 -lstdc++ -lm -lc -lgcc -Wl,--end-group "-LC:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915"
"C:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" -I "C:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/elf2bin.py" --eboot "C:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/bootloaders/eboot/eboot.elf" --app "C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915/D1MiniStartupWRF24.ino.elf" --flash_mode dout --flash_freq 40 --flash_size 4M --path "C:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.0.4-gcc10.3-1757bed/bin" --out "C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915/D1MiniStartupWRF24.ino.bin"
Creating BIN file "C:\Users\bigda\AppData\Local\Temp\arduino_build_590915/D1MiniStartupWRF24.ino.bin" using "C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/bootloaders/eboot/eboot.elf" and "C:\Users\bigda\AppData\Local\Temp\arduino_build_590915/D1MiniStartupWRF24.ino.elf"
"C:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" -I "C:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/signing.py" --mode sign --privatekey "C:\\Users\\bigda\\Dropbox\\Arduino\\Arduino Libraries\\D1MiniStartupWRF24/private.key" --bin "C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915/D1MiniStartupWRF24.ino.bin" --out "C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915/D1MiniStartupWRF24.ino.bin.signed" --legacy "C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915/D1MiniStartupWRF24.ino.bin.legacy_sig"
"C:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\python3\\3.7.2-post1/python3" -I "C:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\3.0.2/tools/sizes.py" --elf "C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915/D1MiniStartupWRF24.ino.elf" --path "C:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.0.4-gcc10.3-1757bed/bin" --mmu "-DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000"
Executable segment sizes:
ICACHE : 32768           - flash instruction cache 
IROM   : 242072          - code in flash         (default or ICACHE_FLASH_ATTR) 
IRAM   : 27273   / 32768 - code in IRAM          (IRAM_ATTR, ISRs...) 
DATA   : 1500  )         - initialized variables (global, static) in RAM/HEAP 
RODATA : 1020  ) / 81920 - constants             (global, static) in RAM/HEAP 
BSS    : 25784 )         - zeroed variables      (global, static) in RAM/HEAP 
Multiple libraries were found for "nRF24L01.h"
 Used: C:\Users\bigda\Documents\Arduino\libraries\RF24-master
 Not used: C:\Users\bigda\Documents\Arduino\libraries\RF24
Using library ESP8266WiFi at version 1.0 in folder: C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi 
Using library SPI at version 1.0 in folder: C:\Users\bigda\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\SPI 
Using library RF24-master at version 1.3.9 in folder: C:\Users\bigda\Documents\Arduino\libraries\RF24-master 
"C:\\Users\\bigda\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\3.0.4-gcc10.3-1757bed/bin/xtensa-lx106-elf-size" -A "C:\\Users\\bigda\\AppData\\Local\\Temp\\arduino_build_590915/D1MiniStartupWRF24.ino.elf"
Sketch uses 271865 bytes (26%) of program storage space. Maximum is 1044464 bytes.
Global variables use 28304 bytes (34%) of dynamic memory, leaving 53616 bytes for local variables. Maximum is 81920 bytes.

I see. So you are compiling a different sketch on your desktop IDE and in Arduino Web Editor.

The problem is not anything to do with Arduino Web Editor. If you compiled https://create.arduino.cc/editor/Dscoggins/4f73ccf6-faea-470d-b6f0-22d69d417063 on your desktop IDE you would have the same problem.

The problem is that there is a name collision between the two libraries. They both used the very common CD name for macros.

There is a workaround, which is to undefine the problematic macro between the first and second definitions. That is done by adding this line to the Led_nov16a.ino file of your sketch:

#undef CD

That must be done after the #include directive for the RF24 library and before the #include directive for the "ArduinoIoTCloud" library. Since the "ArduinoIoTCloud" library #include is in thingProperties.h, and it is not a good idea to modify this automatically generated file, you shoud place that #undef just above the #include directive for thingProperties.h:

#undef CD
#include "thingProperties.h"

I have done some experimenting with different libraries and library combinations. Im sorry to keep switching sketches, but the last attempt yielded results. In the editor i opened a new sketch. I initially chose my board "ESP8266 Wemos D1 and R2 mini. I only included the RF24 library. No code. It compiled. Then I commented out the RF24 library and included the ESP8266WiFi library. Once again it compiled. If I try to use both libraries even without any code, I get the same compile error message. Perhaps a conflict with the included libraries? I have attached the new compile error.
Error seems to occur after this line near the top.
Once again these 2 libraries work fine together on the Desktop IDE.

Using library rf24_1_4_1 at version 1.4.1 in folder: /home/builder/opt/libraries/rf24_1_4_1

/usr/local/bin/arduino-cli compile --fqbn esp8266:esp8266:d1_mini:baud=921600,dbg=Disabled,eesz=4M,exception=disabled,ip=lm2f,lvl=None____,vt=flash,wipe=none,xtal=80 --libraries /home/builder/opt/libraries/latest --build-cache-path /tmp --output-dir /tmp/735406996/build --build-path /tmp/arduino-build-3128317429ADEAD617F14B3D8D497A45 /tmp/735406996/Wifi2RadioTX

Using library SPI at version 1.0 in folder: /home/builder/.arduino15/packages/esp8266/hardware/esp8266/2.5.0/libraries/SPI

Using library rf24_1_4_1 at version 1.4.1 in folder: /home/builder/opt/libraries/rf24_1_4_1

In file included from /home/builder/.arduino15/packages/esp8266/hardware/esp8266/2.5.0/tools/sdk/libc/xtensa-lx106-elf/include/sys/stdio.h:6:0,

from /home/builder/.arduino15/packages/esp8266/hardware/esp8266/2.5.0/tools/sdk/libc/xtensa-lx106-elf/include/stdio.h:63,

from /home/builder/.arduino15/packages/esp8266/hardware/esp8266/2.5.0/cores/esp8266/Arduino.h:32,

from /home/builder/opt/libraries/latest/rf24_1_4_1/RF24_config.h:69,

from /home/builder/opt/libraries/latest/rf24_1_4_1/RF24.cpp:10:

/home/builder/opt/libraries/latest/rf24_1_4_1/RF24.cpp: In member function 'void RF24::printDetails()':

/home/builder/.arduino15/packages/esp8266/hardware/esp8266/2.5.0/tools/sdk/libc/xtensa-lx106-elf/include/sys/pgmspace.h:76:81: error: 'const void*' is not a pointer-to-object type

#define pgm_read_ptr(addr) (*reinterpret_cast<const void*>(addr))

^

/home/builder/opt/libraries/latest/rf24_1_4_1/RF24.cpp:647:20: note: in expansion of macro 'pgm_read_ptr'

"\r\n"),(char*)pgm_read_ptr(&rf24_datarate_e_str_P[getDataRate()]));

^

/home/builder/.arduino15/packages/esp8266/hardware/esp8266/2.5.0/tools/sdk/libc/xtensa-lx106-elf/include/sys/pgmspace.h:76:81: error: 'const void*' is not a pointer-to-object type

#define pgm_read_ptr(addr) (*reinterpret_cast<const void*>(addr))

^

/home/builder/opt/libraries/latest/rf24_1_4_1/RF24.cpp:650:20: note: in expansion of macro 'pgm_read_ptr'

"\r\n"),(char*)pgm_read_ptr(&rf24_model_e_str_P[isPVariant()]));

^

/home/builder/.arduino15/packages/esp8266/hardware/esp8266/2.5.0/tools/sdk/libc/xtensa-lx106-elf/include/sys/pgmspace.h:76:81: error: 'const void*' is not a pointer-to-object type

#define pgm_read_ptr(addr) (*reinterpret_cast<const void*>(addr))

^

/home/builder/opt/libraries/latest/rf24_1_4_1/RF24.cpp:653:20: note: in expansion of macro 'pgm_read_ptr'

"\r\n"),(char*)pgm_read_ptr(&rf24_crclength_e_str_P[getCRCLength()]));

^

/home/builder/.arduino15/packages/esp8266/hardware/esp8266/2.5.0/tools/sdk/libc/xtensa-lx106-elf/include/sys/pgmspace.h:76:81: error: 'const void*' is not a pointer-to-object type

#define pgm_read_ptr(addr) (*reinterpret_cast<const void*>(addr))

^

/home/builder/opt/libraries/latest/rf24_1_4_1/RF24.cpp:656:20: note: in expansion of macro 'pgm_read_ptr'

"\r\n"),(char*)pgm_read_ptr(&rf24_pa_dbm_e_str_P[getPALevel()]));

^

/home/builder/opt/libraries/latest/rf24_1_4_1/RF24.cpp: In member function 'void RF24::printPrettyDetails()':

/home/builder/.arduino15/packages/esp8266/hardware/esp8266/2.5.0/tools/sdk/libc/xtensa-lx106-elf/include/sys/pgmspace.h:76:81: error: 'const void*' is not a pointer-to-object type

#define pgm_read_ptr(addr) (*reinterpret_cast<const void*>(addr))

^

/home/builder/opt/libraries/latest/rf24_1_4_1/RF24.cpp:680:21: note: in expansion of macro 'pgm_read_ptr'

"\r\n"), (char*)pgm_read_ptr(&rf24_datarate_e_str_P[getDataRate()]));

^

/home/builder/.arduino15/packages/esp8266/hardware/esp8266/2.5.0/tools/sdk/libc/xtensa-lx106-elf/include/sys/pgmspace.h:76:81: error: 'const void*' is not a pointer-to-object type

#define pgm_read_ptr(addr) (*reinterpret_cast<const void*>(addr))

^

/home/builder/opt/libraries/latest/rf24_1_4_1/RF24.cpp:683:21: note: in expansion of macro 'pgm_read_ptr'

"\r\n"), (char*)pgm_read_ptr(&rf24_pa_dbm_e_str_P[getPALevel()]));

^

/home/builder/.arduino15/packages/esp8266/hardware/esp8266/2.5.0/tools/sdk/libc/xtensa-lx106-elf/include/sys/pgmspace.h:76:81: error: 'const void*' is not a pointer-to-object type

#define pgm_read_ptr(addr) (*reinterpret_cast<const void*>(addr))

^

/home/builder/opt/libraries/latest/rf24_1_4_1/RF24.cpp:686:21: note: in expansion of macro 'pgm_read_ptr'

"\r\n"), (char*)pgm_read_ptr(&rf24_feature_e_str_P[(bool)(read_register(RF_SETUP) & 1) * 1]));

^

/home/builder/.arduino15/packages/esp8266/hardware/esp8266/2.5.0/tools/sdk/libc/xtensa-lx106-elf/include/sys/pgmspace.h:76:81: error: 'const void*' is not a pointer-to-object type

#define pgm_read_ptr(addr) (*reinterpret_cast<const void*>(addr))

^

/home/builder/opt/libraries/latest/rf24_1_4_1/RF24.cpp:689:21: note: in expansion of macro 'pgm_read_ptr'

"\r\n"), (char*)pgm_read_ptr(&rf24_crclength_e_str_P[getCRCLength()]));

^

/home/builder/.arduino15/packages/esp8266/hardware/esp8266/2.5.0/tools/sdk/libc/xtensa-lx106-elf/include/sys/pgmspace.h:76:81: error: 'const void*' is not a pointer-to-object type

#define pgm_read_ptr(addr) (*reinterpret_cast<const void*>(addr))

^

/home/builder/opt/libraries/latest/rf24_1_4_1/RF24.cpp:704:21: note: in expansion of macro 'pgm_read_ptr'

"\r\n"), (char*)pgm_read_ptr(&rf24_feature_e_str_P[(bool)(features & _BV(EN_DYN_ACK)) * 2]));

^

/home/builder/.arduino15/packages/esp8266/hardware/esp8266/2.5.0/tools/sdk/libc/xtensa-lx106-elf/include/sys/pgmspace.h:76:81: error: 'const void*' is not a pointer-to-object type

#define pgm_read_ptr(addr) (*reinterpret_cast<const void*>(addr))

^

/home/builder/opt/libraries/latest/rf24_1_4_1/RF24.cpp:707:21: note: in expansion of macro 'pgm_read_ptr'

"\r\n"), (char*)pgm_read_ptr(&rf24_feature_e_str_P[(bool)(features & _BV(EN_ACK_PAY)) * 1]));

^

/home/builder/.arduino15/packages/esp8266/hardware/esp8266/2.5.0/tools/sdk/libc/xtensa-lx106-elf/include/sys/pgmspace.h:76:81: error: 'const void*' is not a pointer-to-object type

#define pgm_read_ptr(addr) (*reinterpret_cast<const void*>(addr))

^

/home/builder/opt/libraries/latest/rf24_1_4_1/RF24.cpp:712:21: note: in expansion of macro 'pgm_read_ptr'

"\r\n"), (char*)pgm_read_ptr(&rf24_feature_e_str_P[(dynPl && (features &_BV(EN_DPL))) * 1]));

^

/home/builder/.arduino15/packages/esp8266/hardware/esp8266/2.5.0/tools/sdk/libc/xtensa-lx106-elf/include/sys/pgmspace.h:76:81: error: 'const void*' is not a pointer-to-object type

#define pgm_read_ptr(addr) (*reinterpret_cast<const void*>(addr))

^

/home/builder/opt/libraries/latest/rf24_1_4_1/RF24.cpp:719:25: note: in expansion of macro 'pgm_read_ptr'

"\r\n"), (char*)pgm_read_ptr(&rf24_feature_e_str_P[(bool)(autoAck) * 1]));

^

/home/builder/.arduino15/packages/esp8266/hardware/esp8266/2.5.0/tools/sdk/libc/xtensa-lx106-elf/include/sys/pgmspace.h:76:81: error: 'const void*' is not a pointer-to-object type

#define pgm_read_ptr(addr) (*reinterpret_cast<const void*>(addr))

^

/home/builder/opt/libraries/latest/rf24_1_4_1/RF24.cpp:740:31: note: in expansion of macro 'pgm_read_ptr'

") bound"), i, (char*)pgm_read_ptr(&rf24_feature_e_str_P[isOpen + 3]));

^

Error during build: exit status 1

Once again, that is irrelevant. If you want a fair comparison, you must compile the same sketch in both environments. If you do that, you'll find you get the same error on your desktop PC.