error message arduino.h:No such file or directory

Hi,
When I try upload the code Freenove_4WD_Car_Kit\Sketches\05.5_One_Code_Multifunctional_RF24_Remote_Car I get the error: /home/builder/opt/arduino-builder/arduino-builder -compile -core-api-version 10611 -hardware /home/builder/opt/arduino-builder/hardware -hardware /home/builder/.arduino15/packages -tools /home/builder/opt/arduino-builder/tools -tools /home/builder/.arduino15/packages -built-in-libraries /home/builder/opt/libraries/latest -logger humantags -fqbn arduino:avr:uno -build-cache /tmp -build-path /tmp/225977395/build -verbose -prefs runtime.tools.arduinoOTA.path=/home/builder/.arduino15/packages/arduino/tools/arduinoOTA/1.3.0 -prefs runtime.tools.avr-gcc.path=/home/builder/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5 -prefs runtime.tools.avrdude.path=/home/builder/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17 -prefs runtime.tools.arc-elf32.path=/home/builder/.arduino15/packages/Intel/tools/arc-elf32/1.6.9+1.0.1 -prefs runtime.tools.xtensa-lx106-elf-gcc.path=/home/builder/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9 -prefs runtime.tools.i586-poky-linux-uclibc.path=/home/builder/.arduino15/packages/Intel/tools/i586-poky-linux-uclibc/1.6.2+1.0 -prefs runtime.tools.openocd.path=/home/builder/.arduino15/packages/arduino/tools/openocd/0.10.0-arduino9 -prefs runtime.tools.nrf5x-cl-tools.path=/home/builder/.arduino15/packages/arduino/tools/nrf5x-cl-tools/9.3.1 -prefs runtime.tools.CMSIS-Atmel.path=/home/builder/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0 -prefs runtime.tools.linuxuploader.path=/home/builder/.arduino15/packages/arduino/tools/linuxuploader/1.5.1 -prefs runtime.tools.x86-linux-gcc.path=/home/builder/.arduino15/packages/arduino/tools/x86-linux-gcc/7.2.0 -prefs runtime.tools.CMSIS.path=/home/builder/.arduino15/packages/arduino/tools/CMSIS/4.5.0 -prefs runtime.tools.flashpack.path=/home/builder/.arduino15/packages/Intel/tools/flashpack/2.0.0 -prefs runtime.tools.sketchUploader.path=/home/builder/.arduino15/packages/Intel/tools/sketchUploader/1.6.2+1.0 -prefs runtime.tools.mkspiffs.path=/home/builder/.arduino15/packages/esp8266/tools/mkspiffs/2.5.0-3-20ed2b9 -prefs runtime.tools.dfu-util.path=/home/builder/.arduino15/packages/arduino/tools/dfu-util/0.9.0-arduino2 -prefs runtime.tools.arm-none-eabi-gcc.path=/home/builder/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs runtime.tools.arm-linux-gcc.path=/home/builder/.arduino15/packages/arduino/tools/arm-linux-gcc/4.9.3 -prefs runtime.tools.bossac.path=/home/builder/.arduino15/packages/industruino/tools/bossac/1.7.0-industruino -prefs runtime.tools.arduino101load.path=/home/builder/.arduino15/packages/Intel/tools/arduino101load/2.0.1 -prefs runtime.tools.core2-32-poky-linux.path=/home/builder/.arduino15/packages/Intel/tools/core2-32-poky-linux/1.6.2+1.0 -prefs runtime.tools.esptool.path=/home/builder/.arduino15/packages/esp8266/tools/esptool/2.5.0-3-20ed2b9 -libraries /tmp/225977395/custom -libraries /tmp/225977395/pinned /tmp/225977395/05.4_Multifunctional_RF24_Remote_Car

Multiple libraries were found for "EEPROM.h"

Used: /home/builder/.arduino15/packages/arduino/hardware/avr/1.8.2/libraries/EEPROM

Not used: /home/builder/opt/libraries/latest/hello_drum_0_7_7

Not used: /home/builder/opt/libraries/latest/arduino_nvm_0_9_1

Multiple libraries were found for "Servo.h"

Used: /home/builder/opt/libraries/latest/servo_1_1_7

Not used: /home/builder/opt/libraries/latest/servoesp32_1_0_3

Not used: /home/builder/opt/libraries/latest/rokitsmart_1_0_9

Not used: /home/builder/opt/libraries/latest/printoo_library_1_0_2

Not used: /home/builder/opt/libraries/latest/evive_2_0_3

Multiple libraries were found for "RF24.h"

Used: /tmp/225977395/custom/RF24

Not used: /home/builder/opt/libraries/latest/rf24_1_3_11

Using library SPI at version 1.0 in folder: /home/builder/.arduino15/packages/arduino/hardware/avr/1.8.2/libraries/SPI

Using library ukit_explore_1_2_15 at version 1.2.15 in folder: /home/builder/opt/libraries/latest/ukit_explore_1_2_15

In file included from /tmp/225977395/build/sketch/Automatic_Obstacle_Avoidance_Mode.cpp:5:0:

/tmp/225977395/build/sketch/Automatic_Obstacle_Avoidance_Mode.h:7:10: fatal error: arduino.h: No such file or directory

#include "arduino.h"

^~~~~~~~~~~

compilation terminated.

exit status 1

I use the online editor.
The kit I have is this one: https://www.amazon.ca/Freenove-Compatible-Avoidance-Ultrasonic-Bluetooth/dp/B07YBPTXHG
I use an arduino uno board.

Try spelling it Arduino.h

Or post the actual (cut and paste) error message, and the code that caused it.

error:
/home/builder/opt/arduino-builder/arduino-builder -compile -core-api-version 10611 -hardware /home/builder/opt/arduino-builder/hardware -hardware /home/builder/.arduino15/packages -tools /home/builder/opt/arduino-builder/tools -tools /home/builder/.arduino15/packages -built-in-libraries /home/builder/opt/libraries/latest -logger humantags -fqbn arduino:sam:arduino_due_x_dbg -build-cache /tmp -build-path /tmp/141766997/build -verbose -prefs runtime.tools.arm-none-eabi-gcc.path=/home/builder/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1 -prefs runtime.tools.bossac.path=/home/builder/.arduino15/packages/arduino/tools/bossac/1.6.1-arduino -prefs runtime.tools.i586-poky-linux-uclibc.path=/home/builder/.arduino15/packages/Intel/tools/i586-poky-linux-uclibc/1.6.2+1.0 -prefs runtime.tools.avrdude.path=/home/builder/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8 -prefs runtime.tools.xtensa-lx106-elf-gcc.path=/home/builder/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9 -prefs runtime.tools.esptool.path=/home/builder/.arduino15/packages/esp8266/tools/esptool/2.5.0-3-20ed2b9 -prefs runtime.tools.arm-linux-gcc.path=/home/builder/.arduino15/packages/arduino/tools/arm-linux-gcc/4.9.3 -prefs runtime.tools.dfu-util.path=/home/builder/.arduino15/packages/arduino/tools/dfu-util/0.9.0-arduino2 -prefs runtime.tools.nrf5x-cl-tools.path=/home/builder/.arduino15/packages/arduino/tools/nrf5x-cl-tools/9.3.1 -prefs runtime.tools.x86-linux-gcc.path=/home/builder/.arduino15/packages/arduino/tools/x86-linux-gcc/7.2.0 -prefs runtime.tools.sketchUploader.path=/home/builder/.arduino15/packages/Intel/tools/sketchUploader/1.6.2+1.0 -prefs runtime.tools.CMSIS.path=/home/builder/.arduino15/packages/arduino/tools/CMSIS/4.5.0 -prefs runtime.tools.CMSIS-Atmel.path=/home/builder/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0 -prefs runtime.tools.linuxuploader.path=/home/builder/.arduino15/packages/arduino/tools/linuxuploader/1.5.1 -prefs runtime.tools.mkspiffs.path=/home/builder/.arduino15/packages/esp8266/tools/mkspiffs/2.5.0-3-20ed2b9 -prefs runtime.tools.arduinoOTA.path=/home/builder/.arduino15/packages/arduino/tools/arduinoOTA/1.3.0 -prefs runtime.tools.arduino101load.path=/home/builder/.arduino15/packages/Intel/tools/arduino101load/2.0.1 -prefs runtime.tools.openocd.path=/home/builder/.arduino15/packages/arduino/tools/openocd/0.10.0-arduino9 -prefs runtime.tools.arc-elf32.path=/home/builder/.arduino15/packages/Intel/tools/arc-elf32/1.6.9+1.0.1 -prefs runtime.tools.avr-gcc.path=/home/builder/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5 -prefs runtime.tools.core2-32-poky-linux.path=/home/builder/.arduino15/packages/Intel/tools/core2-32-poky-linux/1.6.2+1.0 -prefs runtime.tools.flashpack.path=/home/builder/.arduino15/packages/Intel/tools/flashpack/2.0.0 -libraries /tmp/141766997/custom -libraries /tmp/141766997/pinned /tmp/141766997/05.4_Multifunctional_RF24_Remote_Car
Multiple libraries were found for "Freenove_WS2812B_RGBLED_Controller.h"
Used: /tmp/141766997/custom/Freenove WS2812B RGBLED Controller
Not used: /home/builder/opt/libraries/latest/freenove_ws2812b_rgbled_controller_1_0_2
Using library Freenove WS2812B RGBLED Controller at version 1.0.0 in folder: /tmp/141766997/custom/Freenove WS2812B RGBLED Controller
In file included from /tmp/141766997/05.4_Multifunctional_RF24_Remote_Car/05.4_Multifunctional_RF24_Remote_Car.ino:1:0:
/tmp/141766997/custom/Freenove WS2812B RGBLED Controller/src/Freenove_WS2812B_RGBLED_Controller.h:14:21: fatal error: arduino.h: No such file or directory

Code

05.5_One_Code_Multifunctional_RF24_Remote_Car.ino (19.4 KB)

The error is in the “Freenove_WS2812B_RGBLED_Controller” library.
Edit the file named Freenove_WS2812B_RGBLED_Controller.h in the src subdirectory of that library, and make the following change:

// Freenove_WS2812B_RGBLED_Controller.h
/**
 * Brief	Apply to Freenove WS2812B RGBLED Controller.
 *			You can use I2C or UART to communicate.
 * Author	SuhaylZhao
 * Company	Freenove
 * Date		2019-08-03
 */

#ifndef _FREENOVE_WS2812B_RGBLED_CONTROLLER_h
#define _FREENOVE_WS2812B_RGBLED_CONTROLLER_h

#if defined(ARDUINO) && ARDUINO >= 100
#include "arduino.h"    //<<<<<<<<<<<<<<<<<<<<<<< on line #14, change this to "Arduino.h"
#else
#include "WProgram.h"
#endif

Now I get the error /home/builder/opt/arduino-builder/arduino-builder -compile -core-api-version 10611 -hardware /home/builder/opt/arduino-builder/hardware -hardware /home/builder/.arduino15/packages -tools /home/builder/opt/arduino-builder/tools -tools /home/builder/.arduino15/packages -built-in-libraries /home/builder/opt/libraries/latest -logger humantags -fqbn arduino:sam:arduino_due_x_dbg -build-cache /tmp -build-path /tmp/199894032/build -verbose -prefs runtime.tools.arm-none-eabi-gcc.path=/home/builder/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1 -prefs runtime.tools.bossac.path=/home/builder/.arduino15/packages/arduino/tools/bossac/1.6.1-arduino -prefs runtime.tools.nrf5x-cl-tools.path=/home/builder/.arduino15/packages/arduino/tools/nrf5x-cl-tools/9.3.1 -prefs runtime.tools.arduino101load.path=/home/builder/.arduino15/packages/Intel/tools/arduino101load/2.0.1 -prefs runtime.tools.x86-linux-gcc.path=/home/builder/.arduino15/packages/arduino/tools/x86-linux-gcc/7.2.0 -prefs runtime.tools.dfu-util.path=/home/builder/.arduino15/packages/arduino/tools/dfu-util/0.9.0-arduino2 -prefs runtime.tools.linuxuploader.path=/home/builder/.arduino15/packages/arduino/tools/linuxuploader/1.5.1 -prefs runtime.tools.openocd.path=/home/builder/.arduino15/packages/Intel/tools/openocd/0.9.0+0.1 -prefs runtime.tools.flashpack.path=/home/builder/.arduino15/packages/Intel/tools/flashpack/2.0.0 -prefs runtime.tools.sketchUploader.path=/home/builder/.arduino15/packages/Intel/tools/sketchUploader/1.6.2+1.0 -prefs runtime.tools.core2-32-poky-linux.path=/home/builder/.arduino15/packages/Intel/tools/core2-32-poky-linux/1.6.2+1.0 -prefs runtime.tools.esptool.path=/home/builder/.arduino15/packages/esp8266/tools/esptool/2.5.0-3-20ed2b9 -prefs runtime.tools.CMSIS.path=/home/builder/.arduino15/packages/arduino/tools/CMSIS/4.5.0 -prefs runtime.tools.arduinoOTA.path=/home/builder/.arduino15/packages/arduino/tools/arduinoOTA/1.3.0 -prefs runtime.tools.CMSIS-Atmel.path=/home/builder/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0 -prefs runtime.tools.avr-gcc.path=/home/builder/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5 -prefs runtime.tools.arm-linux-gcc.path=/home/builder/.arduino15/packages/arduino/tools/arm-linux-gcc/4.9.3 -prefs runtime.tools.arc-elf32.path=/home/builder/.arduino15/packages/Intel/tools/arc-elf32/1.6.9+1.0.1 -prefs runtime.tools.avrdude.path=/home/builder/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8 -prefs runtime.tools.i586-poky-linux-uclibc.path=/home/builder/.arduino15/packages/Intel/tools/i586-poky-linux-uclibc/1.6.2+1.0 -prefs runtime.tools.mkspiffs.path=/home/builder/.arduino15/packages/esp8266/tools/mkspiffs/2.5.0-3-20ed2b9 -prefs runtime.tools.xtensa-lx106-elf-gcc.path=/home/builder/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9 -libraries /tmp/199894032/custom -libraries /tmp/199894032/pinned /tmp/199894032/05.4_Multifunctional_RF24_Remote_Car
Multiple libraries were found for “EEPROM.h”
Used: /home/builder/opt/libraries/latest/hello_drum_0_7_7
Not used: /home/builder/opt/libraries/latest/arduino_nvm_0_9_1
Using library hello_drum_0_7_7 at version 0.7.7 in folder: /home/builder/opt/libraries/latest/hello_drum_0_7_7
In file included from /tmp/199894032/05.4_Multifunctional_RF24_Remote_Car/05.4_Multifunctional_RF24_Remote_Car.ino:19:0:
/home/builder/opt/libraries/latest/hello_drum_0_7_7/src/EEPROM.h:25:24: fatal error: avr/eeprom.h: No such file or directory
#include <avr/eeprom.h>
^
compilation terminated.
exit status 1

What board are you compiling for?

Arduino uno

If you are using the Arduino IDE, check under Tools > Board and make sure you have "Arduino UNO" selected, your error messages seem to indicate you have it set for an Arduino DUE.

Did that and now I get the error
/home/builder/opt/arduino-builder/arduino-builder -compile -core-api-version 10611 -hardware /home/builder/opt/arduino-builder/hardware -hardware /home/builder/.arduino15/packages -tools /home/builder/opt/arduino-builder/tools -tools /home/builder/.arduino15/packages -built-in-libraries /home/builder/opt/libraries/latest -logger humantags -fqbn arduino:avr:uno -build-cache /tmp -build-path /tmp/225977395/build -verbose -prefs runtime.tools.arduinoOTA.path=/home/builder/.arduino15/packages/arduino/tools/arduinoOTA/1.3.0 -prefs runtime.tools.avr-gcc.path=/home/builder/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5 -prefs runtime.tools.avrdude.path=/home/builder/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17 -prefs runtime.tools.arc-elf32.path=/home/builder/.arduino15/packages/Intel/tools/arc-elf32/1.6.9+1.0.1 -prefs runtime.tools.xtensa-lx106-elf-gcc.path=/home/builder/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9 -prefs runtime.tools.i586-poky-linux-uclibc.path=/home/builder/.arduino15/packages/Intel/tools/i586-poky-linux-uclibc/1.6.2+1.0 -prefs runtime.tools.openocd.path=/home/builder/.arduino15/packages/arduino/tools/openocd/0.10.0-arduino9 -prefs runtime.tools.nrf5x-cl-tools.path=/home/builder/.arduino15/packages/arduino/tools/nrf5x-cl-tools/9.3.1 -prefs runtime.tools.CMSIS-Atmel.path=/home/builder/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0 -prefs runtime.tools.linuxuploader.path=/home/builder/.arduino15/packages/arduino/tools/linuxuploader/1.5.1 -prefs runtime.tools.x86-linux-gcc.path=/home/builder/.arduino15/packages/arduino/tools/x86-linux-gcc/7.2.0 -prefs runtime.tools.CMSIS.path=/home/builder/.arduino15/packages/arduino/tools/CMSIS/4.5.0 -prefs runtime.tools.flashpack.path=/home/builder/.arduino15/packages/Intel/tools/flashpack/2.0.0 -prefs runtime.tools.sketchUploader.path=/home/builder/.arduino15/packages/Intel/tools/sketchUploader/1.6.2+1.0 -prefs runtime.tools.mkspiffs.path=/home/builder/.arduino15/packages/esp8266/tools/mkspiffs/2.5.0-3-20ed2b9 -prefs runtime.tools.dfu-util.path=/home/builder/.arduino15/packages/arduino/tools/dfu-util/0.9.0-arduino2 -prefs runtime.tools.arm-none-eabi-gcc.path=/home/builder/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs runtime.tools.arm-linux-gcc.path=/home/builder/.arduino15/packages/arduino/tools/arm-linux-gcc/4.9.3 -prefs runtime.tools.bossac.path=/home/builder/.arduino15/packages/industruino/tools/bossac/1.7.0-industruino -prefs runtime.tools.arduino101load.path=/home/builder/.arduino15/packages/Intel/tools/arduino101load/2.0.1 -prefs runtime.tools.core2-32-poky-linux.path=/home/builder/.arduino15/packages/Intel/tools/core2-32-poky-linux/1.6.2+1.0 -prefs runtime.tools.esptool.path=/home/builder/.arduino15/packages/esp8266/tools/esptool/2.5.0-3-20ed2b9 -libraries /tmp/225977395/custom -libraries /tmp/225977395/pinned /tmp/225977395/05.4_Multifunctional_RF24_Remote_Car
Multiple libraries were found for "EEPROM.h"
Used: /home/builder/.arduino15/packages/arduino/hardware/avr/1.8.2/libraries/EEPROM
Not used: /home/builder/opt/libraries/latest/hello_drum_0_7_7
Not used: /home/builder/opt/libraries/latest/arduino_nvm_0_9_1
Multiple libraries were found for "Servo.h"
Used: /home/builder/opt/libraries/latest/servo_1_1_7
Not used: /home/builder/opt/libraries/latest/servoesp32_1_0_3
Not used: /home/builder/opt/libraries/latest/rokitsmart_1_0_9
Not used: /home/builder/opt/libraries/latest/printoo_library_1_0_2
Not used: /home/builder/opt/libraries/latest/evive_2_0_3
Multiple libraries were found for "RF24.h"
Used: /tmp/225977395/custom/RF24
Not used: /home/builder/opt/libraries/latest/rf24_1_3_11
Using library SPI at version 1.0 in folder: /home/builder/.arduino15/packages/arduino/hardware/avr/1.8.2/libraries/SPI
Using library ukit_explore_1_2_15 at version 1.2.15 in folder: /home/builder/opt/libraries/latest/ukit_explore_1_2_15
In file included from /tmp/225977395/build/sketch/Automatic_Obstacle_Avoidance_Mode.cpp:5:0:
/tmp/225977395/build/sketch/Automatic_Obstacle_Avoidance_Mode.h:7:10: fatal error: arduino.h: No such file or directory
#include "arduino.h"
^~~~~~~~~~~
compilation terminated.
exit status 1

Change all the "arduino.h" to "Arduino.h", the sketches appear to have been written on a computer with an operating system that is not cast-sensitive (does not differentiate between lower and upper case letters).

Ok I will let you know how that goes.

Same error
here is the error just in case you see a difference.Error:
/home/builder/opt/arduino-builder/arduino-builder -compile -core-api-version 10611 -hardware /home/builder/opt/arduino-builder/hardware -hardware /home/builder/.arduino15/packages -tools /home/builder/opt/arduino-builder/tools -tools /home/builder/.arduino15/packages -built-in-libraries /home/builder/opt/libraries/latest -logger humantags -fqbn arduino:avr:uno -build-cache /tmp -build-path /tmp/136316425/build -verbose -prefs runtime.tools.arduinoOTA.path=/home/builder/.arduino15/packages/arduino/tools/arduinoOTA/1.3.0 -prefs runtime.tools.avr-gcc.path=/home/builder/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5 -prefs runtime.tools.avrdude.path=/home/builder/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17 -prefs runtime.tools.i586-poky-linux-uclibc.path=/home/builder/.arduino15/packages/Intel/tools/i586-poky-linux-uclibc/1.6.2+1.0 -prefs runtime.tools.arm-linux-gcc.path=/home/builder/.arduino15/packages/arduino/tools/arm-linux-gcc/4.9.3 -prefs runtime.tools.x86-linux-gcc.path=/home/builder/.arduino15/packages/arduino/tools/x86-linux-gcc/7.2.0 -prefs runtime.tools.xtensa-lx106-elf-gcc.path=/home/builder/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9 -prefs runtime.tools.bossac.path=/home/builder/.arduino15/packages/industruino/tools/bossac/1.7.0-industruino -prefs runtime.tools.CMSIS-Atmel.path=/home/builder/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0 -prefs runtime.tools.openocd.path=/home/builder/.arduino15/packages/arduino/tools/openocd/0.10.0-arduino9 -prefs runtime.tools.sketchUploader.path=/home/builder/.arduino15/packages/Intel/tools/sketchUploader/1.6.2+1.0 -prefs runtime.tools.arc-elf32.path=/home/builder/.arduino15/packages/Intel/tools/arc-elf32/1.6.9+1.0.1 -prefs runtime.tools.nrf5x-cl-tools.path=/home/builder/.arduino15/packages/arduino/tools/nrf5x-cl-tools/9.3.1 -prefs runtime.tools.linuxuploader.path=/home/builder/.arduino15/packages/arduino/tools/linuxuploader/1.5.1 -prefs runtime.tools.CMSIS.path=/home/builder/.arduino15/packages/arduino/tools/CMSIS/4.5.0 -prefs runtime.tools.esptool.path=/home/builder/.arduino15/packages/esp8266/tools/esptool/2.5.0-3-20ed2b9 -prefs runtime.tools.core2-32-poky-linux.path=/home/builder/.arduino15/packages/Intel/tools/core2-32-poky-linux/1.6.2+1.0 -prefs runtime.tools.flashpack.path=/home/builder/.arduino15/packages/Intel/tools/flashpack/2.0.0 -prefs runtime.tools.dfu-util.path=/home/builder/.arduino15/packages/arduino/tools/dfu-util/0.9.0-arduino2 -prefs runtime.tools.arduino101load.path=/home/builder/.arduino15/packages/Intel/tools/arduino101load/2.0.1 -prefs runtime.tools.arm-none-eabi-gcc.path=/home/builder/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs runtime.tools.mkspiffs.path=/home/builder/.arduino15/packages/esp8266/tools/mkspiffs/2.5.0-3-20ed2b9 -libraries /tmp/136316425/custom -libraries /tmp/136316425/pinned /tmp/136316425/05.4_Multifunctional_RF24_Remote_Car
Multiple libraries were found for “RF24.h”
Used: /tmp/136316425/custom/RF24
Not used: /home/builder/opt/libraries/latest/rf24_1_3_11
Multiple libraries were found for “EEPROM.h”
Used: /home/builder/.arduino15/packages/arduino/hardware/avr/1.8.2/libraries/EEPROM
Not used: /home/builder/opt/libraries/latest/hello_drum_0_7_7
Not used: /home/builder/opt/libraries/latest/arduino_nvm_0_9_1
Multiple libraries were found for “Servo.h”
Used: /home/builder/opt/libraries/latest/servo_1_1_7
Not used: /home/builder/opt/libraries/latest/servoesp32_1_0_3
Not used: /home/builder/opt/libraries/latest/rokitsmart_1_0_9
Not used: /home/builder/opt/libraries/latest/printoo_library_1_0_2
Not used: /home/builder/opt/libraries/latest/evive_2_0_3
Using library SPI at version 1.0 in folder: /home/builder/.arduino15/packages/arduino/hardware/avr/1.8.2/libraries/SPI
Using library ukit_explore_1_2_15 at version 1.2.15 in folder: /home/builder/opt/libraries/latest/ukit_explore_1_2_15
In file included from /tmp/136316425/build/sketch/Automatic_Obstacle_Avoidance_Mode.cpp:5:0:
/tmp/136316425/build/sketch/Automatic_Obstacle_Avoidance_Mode.h:7:10: fatal error: arduino.h: No such file or directory
#include “arduino.h”
^~~~~~~~~~~
compilation terminated.
exit status 1

That is the same error you posted previously, "arduino.h" does not start with a capital A. That particular sketch has the same error in several files, the IDE should highlight the appropriate line each time you compile.

What do you mean appropriate line?
Never mind

Is there a way to download the library Arduino.h?
Because it dosen't show a library called Arduino.h.

The Arduino IDE should highlight the line that contains the error, if not the error message tells you the file name, followed by the line number, followed by the character position within that line:

In file included from /tmp/136316425/build/sketch/Automatic_Obstacle_Avoidance_Mode.cpp:5:0:
/tmp/136316425/build/sketch/Automatic_Obstacle_Avoidance_Mode.h:7:10: fatal error: arduino.h: No such file or directory

In this case, the file is Automatic_Obstacle_Avoidance_Mode.h, the error is on line 7, with the error located beginning at the 10th character on that line.

Is there a way to download the library Arduino.h?
Because it dosen't show a library called Arduino.h.

That library is included with the Arduino IDE, but is not stored in the libraries folder. It should already be there. The problem is, the sketch does not want "Arduino.h", it wants "arduino.h". That is an error caused by someone writing the sketch on a computer using Windows, which does not recognize a difference between upper and lower case letters, while you appear to be compiling on a linux (or possibly Mac OS) based system, which does differentiate between upper and lower case.

The Chrome OS operating system is based off of linux.

As for your error messages, just capitalize the A in Arduino.h (referring to the #include "arduino.h" statement in the code, not the actual Arduino.h file itself) in each location that the IDE shows you the error.

OK

I just don't get how the error points to the end of a comment(*/)