As suggested here is my verbose log output for codebase.
FQBN: arduino:avr:nano
Using board 'nano' from platform in folder: /home/nathan/.arduino15/packages/arduino/hardware/avr/1.8.6
Using core 'arduino' from platform in folder: /home/nathan/.arduino15/packages/arduino/hardware/avr/1.8.6
Detecting libraries used...
/home/nathan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/nathan/.arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/home/nathan/.arduino15/packages/arduino/hardware/avr/1.8.6/variants/eightanaloginputs /tmp/arduino/sketches/E77BE22A19D79FE346DA77D64CA6748B/sketch/under-vehicle-scanner-hades-5-atmega328p.ino.cpp -o /dev/null
Alternatives for AccelStepper.h: [AccelStepper@1.64]
ResolveLibrary(AccelStepper.h)
-> candidates: [AccelStepper@1.64]
/home/nathan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/nathan/.arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/home/nathan/.arduino15/packages/arduino/hardware/avr/1.8.6/variants/eightanaloginputs -I/home/nathan/Arduino/libraries/AccelStepper/src /tmp/arduino/sketches/E77BE22A19D79FE346DA77D64CA6748B/sketch/under-vehicle-scanner-hades-5-atmega328p.ino.cpp -o /dev/null
Alternatives for Wire.h: [Wire@1.0]
ResolveLibrary(Wire.h)
-> candidates: [Wire@1.0]
In file included from /home/nathan/repositories/under-vehicle-scanner-hades-5-atmega328p/under-vehicle-scanner-hades-5-atmega328p.ino:5:0:
/home/nathan/Arduino/libraries/MeanFilterLib/src/MeanFilterLib.h:14:11: fatal error: arduino.h: No such file or directory
#include "arduino.h"
^~~~~~~~~~~
compilation terminated.
/home/nathan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/nathan/.arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/home/nathan/.arduino15/packages/arduino/hardware/avr/1.8.6/variants/eightanaloginputs -I/home/nathan/Arduino/libraries/AccelStepper/src -I/home/nathan/.arduino15/packages/arduino/hardware/avr/1.8.6/libraries/Wire/src /tmp/arduino/sketches/E77BE22A19D79FE346DA77D64CA6748B/sketch/under-vehicle-scanner-hades-5-atmega328p.ino.cpp -o /dev/null
Alternatives for MeanFilterLib.h: [MeanFilterLib@1.0.0]
ResolveLibrary(MeanFilterLib.h)
-> candidates: [MeanFilterLib@1.0.0]
/home/nathan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/nathan/.arduino15/packages/arduino/hardware/avr/1.8.6/cores/arduino -I/home/nathan/.arduino15/packages/arduino/hardware/avr/1.8.6/variants/eightanaloginputs -I/home/nathan/Arduino/libraries/AccelStepper/src -I/home/nathan/.arduino15/packages/arduino/hardware/avr/1.8.6/libraries/Wire/src -I/home/nathan/Arduino/libraries/MeanFilterLib/src /tmp/arduino/sketches/E77BE22A19D79FE346DA77D64CA6748B/sketch/under-vehicle-scanner-hades-5-atmega328p.ino.cpp -o /dev/null
Alternatives for arduino.h: []
ResolveLibrary(arduino.h)
-> candidates: []
exit status 1
Compilation error: exit status 1
And the culprit line in our code
//********************************* Include Files
#include <Arduino.h>
#include <AccelStepper.h>
#include <Wire.h>
#include <MeanFilterLib.h>
Haven't been able to find the issue on the internet. Can you point me in right direction as to where this problem is occuring and what I can do about it?
Operating systems in Question: Linux Mint 22, Ubuntu 22.04