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

Library architecture mismatch warning is not displayed when compilation fails due to missing include files #228

Open
per1234 opened this issue May 22, 2017 · 0 comments
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@per1234
Copy link
Contributor

per1234 commented May 22, 2017

Using Arduino IDE 1.8.3 Hourly Build 2017/04/26 01:33

Steps to reproduce:

  1. Install the ArduinoSound library
  2. Compile any example sketch of that library for Arduino/Genuino Uno

The compilation fails but no library architecture mismatch warning is shown:

In file included from E:\Stuff\misc\electronics\arduino\libraries\ArduinoSound\src/ArduinoSound.h:28:0,
                 from E:\Stuff\misc\electronics\arduino\libraries\ArduinoSound\examples\AmplitudeSerialPlotter\AmplitudeSerialPlotter.ino:20:
E:\Stuff\misc\electronics\arduino\libraries\ArduinoSound\src/AmplitudeAnalyzer.h:25:22: fatal error: arm_math.h: No such file or directory
 #include <arm_math.h>
                      ^
compilation terminated.
exit status 1
Error compiling for board Arduino/Genuino Uno.

The expected library architecture mismatch warning:

WARNING: library ArduinoSound claims to run on (samd) architecture(s) and may be incompatible with your current board which runs on (avr) architecture(s).

would have provided the user who reported arduino-libraries/ArduinoSound#4 with an important clue to the cause of the error.

Another example of when this warning being displayed would have been helpful: http://forum.arduino.cc/index.php?topic=504220

@facchinm facchinm added the bug label May 30, 2017
@per1234 per1234 changed the title Architecture mismatch warning is not displayed when compilation fails due to missing include files Library architecture mismatch warning is not displayed when compilation fails due to missing include files May 31, 2017
@per1234 per1234 removed the bug label Sep 16, 2021
@rsora rsora added the type: imperfection Perceived defect in any part of project label Sep 22, 2021
@per1234 per1234 added the topic: code Related to content of the project itself label Oct 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

3 participants