Arduino Cloud can not find header files from libraries

Wanted to import a skatch I made in the Arduino IDE to the Cloud. But when I try to upload my skatch following error appears:

/usr/local/bin/arduino-cli compile --fqbn esp32:esp32:esp32da:CPUFreq=240,DebugLevel=none,EventsCore=1,FlashFreq=80,FlashMode=dio,FlashSize=4M,LoopCore=1,PartitionScheme=default,UploadSpeed=921600 --libraries /home/builder/opt/libraries/latest --build-cache-path /tmp --output-dir /tmp/387521054/build --build-path /tmp/arduino-build-4C84A6A9F847F3BE694A9295995830BA --library /mnt/create-efs/webide/02/33/0233568d1f3f006b6a8f520cf54f791e:pommesfreak/libraries_v2/tmp1666028242290297431 /tmp/387521054/Projekt_Lichtschwert_oct17a

Using library SPI at version 2.0.0 in folder: /home/builder/.arduino15/packages/esp32/hardware/esp32/2.0.4/libraries/SPI

Using library audio_adafruit_fork_1_3_1 at version 1.3.1 in folder: /home/builder/opt/libraries/audio_adafruit_fork_1_3_1

In file included from /home/builder/opt/libraries/latest/audio_adafruit_fork_1_3_1/analyze_fft256.h:31,

from /home/builder/opt/libraries/latest/audio_adafruit_fork_1_3_1/Audio.h:66,

from /tmp/387521054/Projekt_Lichtschwert_oct17a/Projekt_Lichtschwert_oct17a.ino:18:

/home/builder/opt/libraries/latest/audio_adafruit_fork_1_3_1/AudioStream.h:70:10: fatal error: kinetis.h: No such file or directory

#include "kinetis.h"

^~~~~~~~~~~

compilation terminated.

Error during build: exit status 1

Last time I used the Cloud to do a little neopixel Skatch nothing went wrong.
I already tried to import the audio_adafruit_fork library manuelly but nothing changed.
When deleting the line that says "#include "kinetis.h" in the library, other header file seems missing:

/usr/local/bin/arduino-cli compile --fqbn esp32:esp32:esp32da:CPUFreq=240,DebugLevel=none,EventsCore=1,FlashFreq=80,FlashMode=dio,FlashSize=4M,LoopCore=1,PartitionScheme=default,UploadSpeed=921600 --libraries /home/builder/opt/libraries/latest --build-cache-path /tmp --output-dir /tmp/297390965/build --build-path /tmp/arduino-build-4C84A6A9F847F3BE694A9295995830BA --library /mnt/create-efs/webide/02/33/0233568d1f3f006b6a8f520cf54f791e:pommesfreak/libraries_v2/Audio - Adafruit Fork --library /mnt/create-efs/webide/02/33/0233568d1f3f006b6a8f520cf54f791e:pommesfreak/libraries_v2/tmp1666028242290297431 /tmp/297390965/Projekt_Lichtschwert_oct17a

Using library Audio - Adafruit Fork at version 1.3.1 in folder: /mnt/create-efs/webide/02/33/0233568d1f3f006b6a8f520cf54f791e:pommesfreak/libraries_v2/Audio - Adafruit Fork

Using library arduino_cmsis_dsp_5_7_0 at version 5.7.0 in folder: /home/builder/opt/libraries/arduino_cmsis_dsp_5_7_0

In file included from /mnt/create-efs/webide/02/33/0233568d1f3f006b6a8f520cf54f791e:pommesfreak/libraries_v2/Audio - Adafruit Fork/analyze_fft256.h:32,

from /mnt/create-efs/webide/02/33/0233568d1f3f006b6a8f520cf54f791e:pommesfreak/libraries_v2/Audio - Adafruit Fork/Audio.h:66,

from /tmp/297390965/Projekt_Lichtschwert_oct17a/Projekt_Lichtschwert_oct17a.ino:18:

/home/builder/opt/libraries/latest/arduino_cmsis_dsp_5_7_0/src/arm_math.h:389:10: fatal error: cmsis_compiler.h: No such file or directory

#include "cmsis_compiler.h"

^~~~~~~~~~~~~~~~~~

compilation terminated.

Error during build: exit status 1

My Skatch Code:





//LED-Bibliothek
#include <Freenove_WS2812_Lib_for_ESP32.h>
#define LEDS_COUNT  60
#define LEDS_PIN	33
#define CHANNEL		0
Freenove_ESP32_WS2812 strip = Freenove_ESP32_WS2812(LEDS_COUNT, LEDS_PIN, CHANNEL, TYPE_GRB);

//SD-und Audio-Bibliotheken
#include <FS.h>
#include <SD.h>
#include <SPI.h>
#include <Arduino.h>
#include <Audio.h>

//Cloud
#include "synth_whitenoise.h"
#include "thingProperties.h"

//Farben
#define RED 0xFF0000
#define NONE 0xFFFFFF
int COLOR=NONE;

//SD-Reader
#define SD_MISO     2
#define SD_MOSI     15
#define SD_SCLK     14
#define SD_CS       13
SPIClass sdSPI(VSPI);

//Verstärker
#define I2S_DOUT      22
#define I2S_BCLK      26
#define I2S_LRC       25

void setup() {
  Serial.begin(9600);


  // Cloud-Setup
  initProperties();
  ArduinoCloud.begin(ArduinoIoTPreferredConnection);
  setDebugMessageLevel(2);
  ArduinoCloud.printDebugInfo();

  // SD-Karten Lesen
  sdSPI.begin(SD_SCLK, SD_MISO, SD_MOSI, SD_CS);
  if(!SD.begin(SD_CS, sdSPI)) {
    Serial.println("SD-Karte kann nicht geöfffnet werden.");
    return;
  }
  uint8_t cardType = SD.cardType();
  if(cardType == CARD_NONE) {
    Serial.println("Keine SD-Karte vorhanden.");
    return;
  }
  if (!SD.begin(SD_CS)) {
    Serial.println("Fehler beim Lesen der SD-Karte");
    return;    
  }
    
  //Audio-Setup
  audio.setPinout(I2S_BCLK, I2S_LRC, I2S_DOUT);
  audio.setVolume(20);
  audio.connecttoFS(SD,"/Star Wars.mp3");
  
}

void loop() {
  //Cloud-Update
  ArduinoCloud.update();
  
  
  audio.loop();
}


void onLedvarChange()  {
}

void onRgbChange()  {
}

void onLightswitchChange()  {
}

void onSoundswitchChange()  {
}

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