Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error: No such file or directory #647

Open
ghost opened this issue Dec 7, 2020 · 0 comments
Open

fatal error: No such file or directory #647

ghost opened this issue Dec 7, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Dec 7, 2020

There was a similar thread but for me the problem is that there are multiple libs and it seems one wants to use a header from the another and that results a file not found.

BOARD_TAG = promicro
ALTERNATE_CORE    = SparkFun
BOARD_SUB = 16MHzatmega32U4
ARDUINO_PORT = /dev/ttyACM0
USER_LIB_PATH = /home/arduino/sketchbook/libraries
ARDUINO_DIR = /opt/arduino
include /home/arduino/sketchbook/Arduino-Makefile/Arduino.mk

I have these includes (order doesn't matter):

#include <SPI.h>
#include <MD_Parola.h>
#include <MD_MAX72xx.h>

I have the libraries in the right path: /home/arduino/sketchbook/libraries
This way I always get:

/home/arduino/sketchbook/libraries/MD_Parola/src/MD_Parola.h:428:10: fatal error: MD_MAX72xx.h: No such file or directory
 #include <MD_MAX72xx.h>
          ^~~~~~~~~~~~~~
compilation terminated.

Note here:

-                      ARDUINO_LIBS =
- [USER]                 MD_Parola
- [PLATFORM]             SPI

It seems it does not "detect" that library for some reason but if I go in the files and manually enter:

#include "/home/arduino/sketchbook/libraries/MD_MAX72XX/src/MD_MAX72xx.h"

that's acceptable but ugly because I have to change it on many places.

@ghost ghost changed the title fatal error: No such file or director fatal error: No such file or directory Dec 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants