An attempt was made to remove unused libraries via the "Library Manager" and it appears that I removed too many. Now the #include <SDRAM.h> yields an compile error: fatal error:
SDRAM.h: No such file or directory
I'm a Newbe and cant figure what library to re-include with the "libraryManager" to resolve this. My Hardware is a Arduino GIGA R1 Wifi
Thanks
Hi @lapowels!
Did you try to (re-)install the Giga board files using the board manager:
That might help ...
Good luck!
ec2021
Not sure why you did that, it just takes up a bit of HDD or SDD space. Look at the verbose error messages and you will see what file was being processed that needed the sdram.h file, see if that is found in the library manager and if it is remove it then re-install it. Another approach is to delete all your libraries and when a compile tells you a lib is missing add it back, keep dong that until no errors.
did not help. I removed "Arduino Mbed Giga Boards and re-loaded it.
The Verbose compiler option yielded: (This error occurred after I started working with a second processor card "halloWing")
FQBN: adafruit:samd:adafruit_hallowing
Using board 'adafruit_hallowing' from platform in folder: C:\Users\lapow\AppData\Local\Arduino15\packages\adafruit\hardware\samd\1.7.16
Using core 'arduino' from platform in folder: C:\Users\lapow\AppData\Local\Arduino15\packages\adafruit\hardware\samd\1.7.16
Detecting libraries used...
C:\Users\lapow\AppData\Local\Arduino15\packages\adafruit\tools\arm-none-eabi-gcc\9-2019q4/bin/arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -c -g -Os -Werror=return-type -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -D__SKETCH_NAME__="""DatabaseServer.ino""" -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10607 -DARDUINO_SAMD_HALLOWING -DARDUINO_ARCH_SAMD -DARDUINO_SAMD_ADAFRUIT -D__SAMD21G18A__ -DCRYSTALLESS -DARDUINO_SAMD_HALLOWING_M0 -DADAFRUIT_HALLOWING -DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS -DUSB_VID=0x239A -DUSB_PID=0xDEAD -DUSBCON -DUSB_CONFIG_POWER=100 -DUSB_MANUFACTURER="Adafruit" -DUSB_PRODUCT="Hallowing M0" -IC:\Users\lapow\AppData\Local\Arduino15\packages\adafruit\hardware\samd\1.7.16/libraries/Adafruit_TinyUSB_Arduino/src/arduino -Os -D__SAMD21G18A__ -DCRYSTALLESS -DARDUINO_SAMD_HALLOWING_M0 -DADAFRUIT_HALLOWING -DARDUINO_SAMD_ZERO -DARM_MATH_CM0PLUS -DUSB_VID=0x239A -DUSB_PID=0xDEAD -DUSBCON -DUSB_CONFIG_POWER=100 -DUSB_MANUFACTURER="Adafruit" -DUSB_PRODUCT="Hallowing M0" -IC:\Users\lapow\AppData\Local\Arduino15\packages\adafruit\hardware\samd\1.7.16/libraries/Adafruit_TinyUSB_Arduino/src/arduino -IC:\Users\lapow\AppData\Local\Arduino15\packages\adafruit\tools\CMSIS\5.4.0/CMSIS/Core/Include/ -IC:\Users\lapow\AppData\Local\Arduino15\packages\adafruit\tools\CMSIS\5.4.0/CMSIS/DSP/Include/ -IC:\Users\lapow\AppData\Local\Arduino15\packages\adafruit\tools\CMSIS-Atmel\1.2.2/CMSIS/Device/ATMEL/ -IC:\Users\lapow\AppData\Local\Arduino15\packages\adafruit\hardware\samd\1.7.16\cores\arduino -IC:\Users\lapow\AppData\Local\Arduino15\packages\adafruit\hardware\samd\1.7.16\variants\hallowing_m0_express C:\Users\lapow\AppData\Local\arduino\sketches\74CA2B1DCA0E6F204928597694403256\sketch\DatabaseServer.ino.cpp -o nul
C:\Users\lapow\OneDrive\Documents\Arduino\DatabaseServer\DatabaseServer.ino:1:10: fatal error: SDRAM.h: No such file or directory
1 | #include <SDRAM.h>
| ^~~~~~~~~
compilation terminated.
Alternatives for SDRAM.h: []
ResolveLibrary(SDRAM.h)
-> candidates: []
exit status 1
Compilation error: SDRAM.h: No such file or directory
After a second look at the Compiler Verbose Output. I see the board "HalloWing" was selected. I changed it to "Arduino GIGA R1" and now the sketch compiles.
This issue is now resolved. Thanks ya all.
1 Like