Hello all,
I have a very strange problem where installing ArduinoFake (via the registry) seems to break the building of my project. Before installing, building works, however after installing it (even without doing any other changes) it seems to make the building process fail with a lot of errors. The only other library I have installed is Unity.
The errors that appear repeatedly during building are:
.pio\libdeps\pico\ArduinoFake\src/fakeit.hpp:5376:9: error: no return statement in function returning non-void [-Werror=return-type]
C:\Users\jamhu\.platformio\packages\framework-arduinopico\libraries\LittleFS\src\LittleFS.h:174:13: error: 'DEBUGV' was not declared in this scope
C:\Users\jamhu\.platformio\packages\framework-arduinopico\libraries\lwIP_Ethernet\src/LwipIntfDev.h:319:14: error: 'class IPAddress' has no member named 'isSet'
C:\Users\jamhu\.platformio\packages\framework-arduinopico\libraries\WiFi\src/WiFiUdp.h:104:5: error: reference to 'IPAddress' is ambiguous
cc1plus.exe: some warnings being treated as errors
*** [.pio\build\pico\src\manager.cpp.o] Error 1
cc1plus.exe: some warnings being treated as errors
*** [.pio\build\pico\lib2d4\lwIP_CYW43\lwIP_CYW43.cpp.o] Error 1
cc1plus.exe: some warnings being treated as errors
*** [.pio\build\pico\liba30\LittleFS\LittleFS.cpp.o] Error 1
Below is my ini file:
[env:pico]
platform = https://github.com/maxgerhardt/platform-raspberrypi
framework = arduino
board = rpipicow
board_build.core = earlephilhower
build_flags = -Iinclude -frtti
lib_deps = fabiobatsilva/ArduinoFake@^0.4.0
Please leave any suggestions if you have any.
Thank you for reading!