Fatal error hid h no such file or directory

OS: Mac Arduino: 1.8.13 Keyboard Library: 1.0.2 I have a generic ESP8266 board, and I have the following code void setup() { // put your setup code here, to run once: pinMode(LED_BUILTIN, OUTP...

OS: Mac
Arduino: 1.8.13
Keyboard Library: 1.0.2

ESP8266

I have a generic ESP8266 board, and I have the following code

void setup() {
  // put your setup code here, to run once:
  pinMode(LED_BUILTIN, OUTPUT);
  Keyboard.begin();
}

void loop() {}

However I get the following ouput:

In file included from /Users/quba/Sandbox/sketch_feb07a/sketch_feb07a.ino:1:0:
/Applications/Arduino.app/Contents/Java/libraries/Keyboard/src/Keyboard.h:25:17: fatal error: HID.h: No such file or directory
#include «HID.h»
                          ^
compilation terminated.
exit status 1
Error compiling for board Generic ESP8266 Module.
Could not find boards.txt in /Users/quba/Library/Arduino15/packages/arduino/hardware/megaavr/1.8.7. Is it pre-1.5?

asked Feb 7, 2021 at 22:20

Quintin Balsdon's user avatar

The Keyboard library is for Arduino ATMega32U4 based Arduinos (and other similar ones with USB) only. The ESP8266 does not have USB, so how can it possibly use the Keyboard library?

answered Feb 7, 2021 at 22:45

Majenko's user avatar

MajenkoMajenko

104k5 gold badges75 silver badges133 bronze badges

2

I have been looking around for an answer and found a great explanation here:

Arduino/Genuino Uno does not support Keyboard. You can see it in hardware/ardunino/avr/libraries/HID/HID.h. This file is included from Keyboard.h and contains #if defined(USBCON). But USBCON is not defined for Arduino/Genuino Uno. You need to use another board for Keyboard.h

Following controllers support it:

* ATmega32U6
* ATmega8U2
* ATmega16U2
* ATmega16U4
* ATmega32U2
* ATmega32U4
* and some ATxxUSBxx

Arduino/Genuino Uno uses ATmega32U8.

So ESP8266, as kindly mentioned by StarCat above, cannot communicate directly with the USB bus. It does not have the hardware that allows it to be an HID

In short, the board itself needs to define a USBCON field (and have the associated hardware) which allows the Arduino to be a USB Master.

I would still like to know how to find the code behind this so I can see what I’m getting when I buy a board, but that is part of the learning process.

answered Feb 8, 2021 at 10:16

Quintin Balsdon's user avatar

4

 
 

Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled

 

Save the new Output to a Text File and….

  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
  VS Arduino › › › Error Compiling — Library HID-Project

Hot Topic (More than 8 Replies) Error Compiling — Library HID-Project (Read 11111 times)


the droid

Newbies

*
Offline

Posts: 4

Joined: Dec 3rd, 2015

Error Compiling — Library HID-Project

Dec 3rd, 2015 at 3:26am

Print Post
 

The below sample code utilizes the https://github.com/NicoHood/HID library.  

Code (C++)

Select All

#include <HID-Project.h>
#include <HID-Settings.h>

void setup() {
  Keyboard.begin();
  System.begin(); 
}

void loop() {
  // put your main code here, to run repeatedly:
  Keyboard.press(KEY_ENTER);
  Keyboard.release(KEY_ENTER);
  Keyboard.write(KEY_ENTER);
   Consumer.write(MEDIA_PLAY_PAUSE);
}
 

It compiles fine under the Arduino 1.6.6 IDE.  Utilizing the latest Visual Micro (with visual studio 2013) the build process error out. Log file attached.

Any help would be appreciated.

« Last Edit: Dec 12th, 2015 at 6:13pm by Tim@Visual Micro »  


Please Register or Login to the Forum to see File Attachments

Back to top

IP Logged
 


Tim@Visual Micro

Administrator

*****
Offline

Posts: 11684
Location: United Kingdom

Joined: Apr 10th, 2010

Re: Error Compiling

Reply #1 — Dec 3rd, 2015 at 2:16pm

Print Post
 

Hi,

There is a new special folder for libraries called extras which we need to support in Visual Micro. Support will be added during the next week.

You can see in your error report(useful thanks) that the hid.h can’t be located. This is because it is in the extras folder.

AbsoluteMouse.cpp:In file included from
AbsoluteMouse.h:29:17: fatal error: HID.h: No such file or directory
:#include «HID.h»

Back to top

WWW
 

IP Logged
 


Tim@Visual Micro

Administrator

*****
Offline

Posts: 11684
Location: United Kingdom

Joined: Apr 10th, 2010

Re: Error Compiling

Reply #2 — Dec 6th, 2015 at 8:54pm

Print Post
 

Hi,

This issue isn’t what I thought. The problem is because arduino 1.6.6 has some new code to automatically discover libraries hidden in other libraries. This new feature will shortly be in visual micro but for now you have to do it the way things were done until a couple of weeks ago. #Include <HID.h> in your main sketch.ino.

However you need to wait for the next update in a few days because there is also a change to the way version numbers work and teensy uses the new format in the HID library.

Back to top

WWW
 

IP Logged
 


the droid

Newbies

*
Offline

Posts: 4

Joined: Dec 3rd, 2015

Re: Error Compiling

Reply #3 — Dec 10th, 2015 at 4:55am

Print Post
 

Just tried the latest version 1512.10.0. But getting the same (or similar) errors.

added the #include <HID.h>

Code (C++)

Select All

#include <HID-Project.h>
#include <HID-Settings.h>
#include <HID.h>


void setup() {
  // put your setup code here, to run once:
  Keyboard.begin();
  Consumer.begin();
}

void loop() {
  // put your main code here, to run repeatedly:
  Keyboard.press(KEY_ENTER);
  Keyboard.release(KEY_ENTER);
  Keyboard.write(KEY_ENTER);
   Consumer.write(MEDIA_PLAY_PAUSE);
}
 

Log attached


Please Register or Login to the Forum to see File Attachments

Back to top

IP Logged
 


Tim@Visual Micro

Administrator

*****
Offline

Posts: 11684
Location: United Kingdom

Joined: Apr 10th, 2010

Re: Error Compiling — Library HID-Project

Reply #4 — Dec 14th, 2015 at 3:13am

Print Post
 

Thanks, although the library now appears to compile the same as the arduino ide (using verbose output in both as a test)  I agree it fails as soon as some classes are referenced. 

It’s strange I can’t see any difference in the arduino build but there obviously is. I will try to find some time during the next week to look at the arduino builder source code again.

Back to top

WWW
 

IP Logged
 


PeteF

Newbies

*
Offline

Posts: 1

Joined: Jan 8th, 2016

Re: Error Compiling — Library HID-Project

Reply #5 — Jan 8th, 2016 at 3:30pm

Print Post
 

Hi, have you had time to investigate this issue yet?

Being new to Visual Studio I presumed the compile error was of my own making but eventually found this post.

May be nothing related but this is the only library that I use which makes use of the  «.hpp» file type.

« Last Edit: Jan 8th, 2016 at 3:32pm by PeteF »  

Back to top

IP Logged
 


Tim@Visual Micro

Administrator

*****
Offline

Posts: 11684
Location: United Kingdom

Joined: Apr 10th, 2010

Re: Error Compiling — Library HID-Project

Reply #6 — Jan 8th, 2016 at 4:29pm

Print Post
 

Hi,

No sorry been clearing up more frequently hit bits from the changes of arduino end last year.

This weekend should see the final rendition and then over the next week or so hope to look at this.

In the meantime you can use «file>preferences>external editor» option of the arduino ide which allows code to be edited in VS then uploaded via the arduino ide with a single click.

Back to top

WWW
 

IP Logged
 


the droid

Newbies

*
Offline

Posts: 4

Joined: Dec 3rd, 2015

Re: Error Compiling — Library HID-Project

Reply #7 — Feb 19th, 2016 at 3:50pm

Print Post
 

Hi,

Has this been resolved?

Back to top

IP Logged
 


Tim@Visual Micro

Administrator

*****
Offline

Posts: 11684
Location: United Kingdom

Joined: Apr 10th, 2010

Re: Error Compiling — Library HID-Project

Reply #8 — Feb 19th, 2016 at 8:58pm

Print Post
 

Hi,

Over the past month there have been a lot of releases with library changes to bring inline with arduino 1.6.7

Hopefully you find it works with the latest release.

Hope to hear.

Back to top

WWW
 

IP Logged
 


the droid

Newbies

*
Offline

Posts: 4

Joined: Dec 3rd, 2015

Re: Error Compiling — Library HID-Project

Reply #9 — Feb 19th, 2016 at 10:42pm

Print Post
 

It appears that it is still broken.

Back to top

IP Logged
 


topin89

Newbies

*
Offline

Posts: 1

Joined: Oct 23rd, 2017

Re: Error Compiling — Library HID-Project

Reply #10 — Oct 23rd, 2017 at 11:48am

Print Post
 

It is not broken now, unless library is in folder:
%UserProfile%DocumentsArduinolibraryHID
That is, named exactly the same as
C:Program Files (x86)ArduinohardwarearduinoavrlibrariesHID

Back to top

IP Logged
 


Tim@Visual Micro

Administrator

*****
Offline

Posts: 11684
Location: United Kingdom

Joined: Apr 10th, 2010

Re: Error Compiling — Library HID-Project

Reply #11 — Jan 28th, 2018 at 2:37am

Print Post
 

which board were you using?

Back to top

WWW
 

IP Logged
 

У меня ошибка в ардуино:

fatal error: hid.h: No such file or directory

Как мне найти или скачать файл hid.h?


arduino

barcode-scanner

hid


01.05.2018 16:26

Что такое деструктуризация массива в JavaScript?

Что такое деструктуризация массива в JavaScript?

Деструктуризация позволяет распаковывать значения из массивов и добавлять их в отдельные переменные.

Лучшие 10 тем на основе Angular Material

Лучшие 10 тем на основе Angular Material

Затрудняетесь выбрать подходящие шаблоны и темы для своего проекта? Потерялись в огромном количестве вариантов? Не волнуйтесь, мы решили эту проблему…

5 причин выбрать React Native для вашего следующего мобильного приложения

5 причин выбрать React Native для вашего следующего мобильного приложения

React Native — это JavaScript-фреймворк для создания нативных мобильных приложений. Он использует тот же дизайн, что и React, позволяя вам создавать…

Преимущества и ограничения бессерверной технологии для фронт-энд приложений

Преимущества и ограничения бессерверной технологии для фронт-энд приложений

В последние годы бессерверная технология стала популярным трендом в разработке front-end приложений.

Есть ли способ встроить текстовый редактор в HTML-форму?

Есть ли способ встроить текстовый редактор в HTML-форму?

Есть ли способ встроить текстовый редактор в HTML-форму?

PHP

PHP

1

0

5 247

1

Перейти к ответу
Данный вопрос помечен как решенный


Ответы
1

Ответ принят как подходящий

Установите эту библиотеку в папку библиотеки. Папка lib находится внутри папки arduino или в ваших документах.
https://github.com/arduino-libraries/USBHost

Пожалуйста! =) отметьте, пожалуйста, этот ответ как правильный.


— Daniel Vettorazi

07.05.2018 23:16


01.05.2018 19:39

Другие вопросы по теме

Приложение для чтения штрих-кодов Android и сохранение в базе данных

Сканер штрих-кода на основе HTML

Отключить обратное сканирование изображений в приложении zxing

Сканер штрих-кода телефонного зазора не сканирует штрих-код pdf417

Как передать строку, отображающую qrcode, переменной в ReactNative?

Плагин сканера штрих-кода не работает при сборке в Adobe Build с использованием Phonegap

Как прочитать данные, введенные сканером штрих-кода в фоновом режиме?

Как отличить Android KeyEvent от KeyEvent внешнего устройства

Перенаправить вывод штрих-кода USB HID на устройство / dev / tty

Сканеры штрих-кода symbol (zebra / motorola) — обратная связь с результатами работы сканера, необработанная связь USB

It’s 11 PM on a Wednesday. You’ve just spent three hours toiling on your next Arduino project, and FINALLY, you’re ready to give your sketch a whirl. You hit upload, palms sweaty with anticipation to see all your hard work come to fruition. It’s then you see the error:

No such file or directory.

Surely this is a chance aberration. “Nothing to worry about,” you mutter, sleep-starved and semi-delirious as you hit upload again. And once more, those maddening words, “no such file or directory,” stare back at you in hostile gaslighting mockery.

Have you been here?

If you’re trying to run an Arduino sketch but keep coming across the “no such file or directory” error, don’t worry. This is actually a pretty common problem, and there are two easy fixes that almost always work.

Keep on reading. We’ll show you what they are.

No such file error!

Error messages can be such a pain. They do, however, serve a useful purpose by telling us something about what went wrong. At first glance, the no such file or directory error is particularly maddening because it seems to break that useful purpose rule. Of course there’s a file or directory! You just made the thing, and it’s right there, tucked inside a directory.

But hold up, let’s take a closer look. If you look at the bottom portion of the Arduino IDE where the error message shows up, there’s this handy little button that says “copy error messages.”

Click on that now. You probably won’t fall off your chair to learn that by clicking that button, you just copied the error message from the little window at the bottom of The Serial Monitor’s UI to the clipboard of your computer.

This copy feature is ridiculously useful. You could, for example, paste the error message into Google and learn more about the error. Or you could take advantage of the active Arduino community by asking for help in a forum. For this situation, however, we can be a bit more basic. All we’re going to do is take a closer look at what the message is actually saying. To do that, just fire up your PC’s text editor and paste it into the blank screen.

Decoding the no such file error

Here it is, that pesky error in all its freshly pasted glory.

no such file error printed out on Arduino IDE error section

I’ll break it down for you line by line.

  • The first line is easy. It’s just describing the Arduino version in use, what operating system is running, and which board you have selected.
  • Line 2 begins to zero in on the problem.
    • The first bit, “knob,” is referring to the name of the program. This is your sketch, basically.
    • The second bit is what usually begins to confuse people, but it’s easy once you know. The “10” in this example is telling you the error occurred on line 10 of your sketch. The “19” is telling you the length of the line of code in spaces and characters. The first number is usually the more helpful of the two because you can use it to locate the error in your sketch.
  • Then we get to the smoking gun of the error. It says, “servo.h: No such file or directory”.

So this thing, “Servo.h.” That’s the thing we need to fix, and thanks to line 2, we know where to find it. Line 10. It’s always line 10.

Now that we know what’s going on a bit better, let’s get down to the business of implementing a fix.

The error of our ways

Let’s lay down some scrutiny on this accursed line 10.

It says “#include <servo.h>”

When we verify this code, this line is telling the Arduino IDE compiler, “Hey, for this program to work, you need to go get this file called servo.h”.

Let’s say you had a label-making machine, and you wanted to use it to print some cool motivational labels, like “Success!” and “Keep Trying!” and “Look, Nachos!” To make that happen, you’ll first have to load in a roll of labels. No roll of labels? Well, then the label maker isn’t gonna work.

The sketch you’re trying to upload is like the label maker. The file (in our example, the file named “servo.h”) is the roll of labels.

So the error message actually is saying something useful. It’s saying, “Hey programmer, you said I needed this other file. Well, I looked for it and it’s not there. What gives?”

Now we know the error message isn’t complete gibberish, let’s look at the two most common scenarios that cause it.

Scenario 1 – Fat fingers

This sketch is one that you’ve written. You’re actually the one who wrote the “#include” line. The first thing you should check is your spelling and capitalization. Maybe you spelled the name of the library incorrectly? Or (as with the example below) perhaps you capitalized the wrong letters.

Arduino IDE with misspelled library name, which can create the no such file error

So “servo.h” should actually have a capital “S.” In full and with correct capitalization, it should read, “Servo.h.” You’ll notice above that the word servo changes color when it’s correctly capitalized. That color change signifies that the library name “Servo” is recognized as a “keyword” in the Arduino IDE.

Keep in mind that might not be the case for all the libraries you’re using. In other words, the color change won’t always indicate you’re using the right spelling or capitalization, but it’s often a helpful visual reminder.

Oh, and it’s probably good to mention that everyone in the history of Arduino programming has misspelled or incorrectly capitalized a word at some point. It’s amazing how long you can stare at a line of code and miss something like that.

So don’t sweat it.

Scenario 2 – Missing files

This brings us to the next common scenario for the “no such file or directory” error.

So often, working with Arduinos involves taking code that someone else has developed and shared online and then tailoring it to your project. That’s part of what makes it so easy to get stuff done with Arduino. One problem that frequently happens when we do that, however, is we accidentally introduce code without a matching file.

An easy way to check to see if you have the file a sketch is looking for is to navigate to Sketch > Include Library from within the Arduino IDE. Then look for the name of that library.

Arduino IDE library dropdown - if library is not included, the the no such file error will show up

Whatever library the #include statement was calling for, you want to look through this big long list for a library with the exact same name. If you don’t see the file name there, this means the library isn’t installed. You’ll have to add that library before the sketch will compile without errors.

So, how do you add that library?

The easiest way is to go to Sketch > Include Library > Manage Libraries. The Arduino IDE will open up a dialogue box from which you can search for the library you need.

Make sure you type the exact word that matches the #include line. Once you find the missing library, go ahead and click Install. The Arduino IDE will let you know that it’s installing the library you requested and updating the software accordingly.

Next, just double-check that the library has been successfully installed by going to Sketch > Include Library. You should see your new library in the dropdown list.

Good news! If the library is there, you should now be able to compile your sketch error-free.

Other library locations

OK, there’s one little fly in the ointment. How do these dang ointment flies always manage to complicate things so?

Here’s the thing. Not all libraries live in this convenient pop-up window inside the Arduino IDE. The Arduino community is bubbling with clever ideas, but cleverness (unlike processed cheese) doesn’t always come in conveniently standardized, individually wrapped slices. There are tons of different ways to find Arduino libraries on the web.

If you’re downloading or copying a program from the internet, just go to the page where you got that program and take a close look at the library the author is referencing. They may, for example, have a link to GitHub, which is a place where people keep a lot of code libraries.

Wherever you find it, usually the library will be included in a .zip file package. Once you’ve downloaded the .zip file, fire up the Arduino IDE and go to Sketch > Include Library > Add .ZIP library. Then navigate to the location you downloaded the file and select it. Assuming no additional ointment flies invade your workflow, the Arduino IDE will pop up the message “Library added to your libraries” just above the dark area where the original “no such file or directory” error appeared.

Now it’s business as usual! Just go to Sketch > Include Library, and the new library will appear in the drop-down list.

As the dyslexic Frenchman once said to the oversized violinist: “Viola!”

You now know not one but two ways to add a new library. What a time to be alive!

Review

A quick recap, then.

We’ve looked at the two main scenarios that cause the “no such file or directory” error to appear after you compile your sketch:

  • The fat fingers phenomenon: Check your spelling and capitalization! If you wrote the sketch, there’s a mighty good chance you introduced a tiny error. And don’t beat yourself up over it! Literally every coder has done this.
  • The missing files mixup: Failing that, if you copied code from someone else check that you have the correct libraries installed. Don’t see your library? Install it using the method described above, and you should be good to go.

There may be no such thing as a free lunch, a coincidence, or a luck dragon. But rest assured. Your files and directories? They’re alive and well.

Скопируй текст ошибки целиком, это только самый кончик

Arduino: 1.8.13 (Windows Store 1.8.42.0) (Windows 10), Плата:»Arduino Nano, ATmega328P (Old Bootloader)»

C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wttarduino-builder -dump-prefs -logger=machine -hardware C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtthardware -tools C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtttools-builder -tools C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtthardwaretoolsavr -built-in-libraries C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wttlibraries -libraries C:UsersAcerDocumentsArduinolibraries -fqbn=arduino:avr:nano:cpu=atmega328old -ide-version=10813 -build-path C:UsersAcerAppDataLocalTemparduino_build_621083 -warnings=none -build-cache C:UsersAcerAppDataLocalTemparduino_cache_358915 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtthardwaretoolsavr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtthardwaretoolsavr -prefs=runtime.tools.avr-gcc.path=C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtthardwaretoolsavr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtthardwaretoolsavr -prefs=runtime.tools.avrdude.path=C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtthardwaretoolsavr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtthardwaretoolsavr -verbose C:a1nixieClock_2_v2.5nixieClock_2_v2.5.ino

C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wttarduino-builder -compile -logger=machine -hardware C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtthardware -tools C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtttools-builder -tools C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtthardwaretoolsavr -built-in-libraries C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wttlibraries -libraries C:UsersAcerDocumentsArduinolibraries -fqbn=arduino:avr:nano:cpu=atmega328old -ide-version=10813 -build-path C:UsersAcerAppDataLocalTemparduino_build_621083 -warnings=none -build-cache C:UsersAcerAppDataLocalTemparduino_cache_358915 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtthardwaretoolsavr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtthardwaretoolsavr -prefs=runtime.tools.avr-gcc.path=C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtthardwaretoolsavr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtthardwaretoolsavr -prefs=runtime.tools.avrdude.path=C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtthardwaretoolsavr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtthardwaretoolsavr -verbose C:a1nixieClock_2_v2.5nixieClock_2_v2.5.ino

Using board ‘nano’ from platform in folder: C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtthardwarearduinoavr

Using core ‘arduino’ from platform in folder: C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtthardwarearduinoavr

Detecting libraries used…

«C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\tools\avr/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=10813 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\eightanaloginputs» «C:\Users\Acer\AppData\Local\Temp\arduino_build_621083\sketch\nixieClock_2_v2.5.ino.cpp» -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for EEPROM.h: [[email protected]]

ResolveLibrary(EEPROM.h)

-> candidates: [[email protected]]

«C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\tools\avr/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=10813 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\eightanaloginputs» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\EEPROM\src» «C:\Users\Acer\AppData\Local\Temp\arduino_build_621083\sketch\nixieClock_2_v2.5.ino.cpp» -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for RTClib.h: [[email protected]]

ResolveLibrary(RTClib.h)

-> candidates: [[email protected]]

«C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\tools\avr/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=10813 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\eightanaloginputs» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\EEPROM\src» «-IC:\Users\Acer\Documents\Arduino\libraries\RTClib-master» «C:\Users\Acer\AppData\Local\Temp\arduino_build_621083\sketch\nixieClock_2_v2.5.ino.cpp» -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for GyverTimer.h: [GyverTimer]

ResolveLibrary(GyverTimer.h)

-> candidates: [GyverTimer]

«C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\tools\avr/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=10813 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\eightanaloginputs» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\EEPROM\src» «-IC:\Users\Acer\Documents\Arduino\libraries\RTClib-master» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverTimer» «C:\Users\Acer\AppData\Local\Temp\arduino_build_621083\sketch\nixieClock_2_v2.5.ino.cpp» -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for GParsingStream.h: [GyverHacks]

ResolveLibrary(GParsingStream.h)

-> candidates: [GyverHacks]

«C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\tools\avr/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=10813 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\eightanaloginputs» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\EEPROM\src» «-IC:\Users\Acer\Documents\Arduino\libraries\RTClib-master» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverTimer» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverHacks» «C:\Users\Acer\AppData\Local\Temp\arduino_build_621083\sketch\nixieClock_2_v2.5.ino.cpp» -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for GyverButton.h: [GyverButton]

ResolveLibrary(GyverButton.h)

-> candidates: [GyverButton]

«C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\tools\avr/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=10813 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\eightanaloginputs» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\EEPROM\src» «-IC:\Users\Acer\Documents\Arduino\libraries\RTClib-master» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverTimer» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverHacks» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverButton» «C:\Users\Acer\AppData\Local\Temp\arduino_build_621083\sketch\nixieClock_2_v2.5.ino.cpp» -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for EEPROMex.h: [EEPROMex]

ResolveLibrary(EEPROMex.h)

-> candidates: [EEPROMex]

«C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\tools\avr/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=10813 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\eightanaloginputs» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\EEPROM\src» «-IC:\Users\Acer\Documents\Arduino\libraries\RTClib-master» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverTimer» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverHacks» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverButton» «-IC:\Users\Acer\Documents\Arduino\libraries\EEPROMex» «C:\Users\Acer\AppData\Local\Temp\arduino_build_621083\sketch\nixieClock_2_v2.5.ino.cpp» -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for Wire.h: [[email protected]]

ResolveLibrary(Wire.h)

-> candidates: [[email protected]]

«C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\tools\avr/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=10813 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\eightanaloginputs» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\EEPROM\src» «-IC:\Users\Acer\Documents\Arduino\libraries\RTClib-master» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverTimer» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverHacks» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverButton» «-IC:\Users\Acer\Documents\Arduino\libraries\EEPROMex» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\Wire\src» «C:\Users\Acer\AppData\Local\Temp\arduino_build_621083\sketch\nixieClock_2_v2.5.ino.cpp» -o nul -DARDUINO_LIB_DISCOVERY_PHASE

«C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\tools\avr/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=10813 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\eightanaloginputs» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\EEPROM\src» «-IC:\Users\Acer\Documents\Arduino\libraries\RTClib-master» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverTimer» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverHacks» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverButton» «-IC:\Users\Acer\Documents\Arduino\libraries\EEPROMex» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\Wire\src» «C:\Users\Acer\Documents\Arduino\libraries\RTClib-master\RTClib.cpp» -o nul -DARDUINO_LIB_DISCOVERY_PHASE

«C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\tools\avr/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=10813 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\eightanaloginputs» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\EEPROM\src» «-IC:\Users\Acer\Documents\Arduino\libraries\RTClib-master» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverTimer» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverHacks» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverButton» «-IC:\Users\Acer\Documents\Arduino\libraries\EEPROMex» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\Wire\src» «C:\Users\Acer\Documents\Arduino\libraries\GyverTimer\GyverTimer.cpp» -o nul -DARDUINO_LIB_DISCOVERY_PHASE

«C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\tools\avr/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=10813 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\eightanaloginputs» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\EEPROM\src» «-IC:\Users\Acer\Documents\Arduino\libraries\RTClib-master» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverTimer» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverHacks» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverButton» «-IC:\Users\Acer\Documents\Arduino\libraries\EEPROMex» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\Wire\src» «C:\Users\Acer\Documents\Arduino\libraries\GyverHacks\GyverHacks.cpp» -o nul -DARDUINO_LIB_DISCOVERY_PHASE

«C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\tools\avr/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=10813 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\eightanaloginputs» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\EEPROM\src» «-IC:\Users\Acer\Documents\Arduino\libraries\RTClib-master» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverTimer» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverHacks» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverButton» «-IC:\Users\Acer\Documents\Arduino\libraries\EEPROMex» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\Wire\src» «C:\Users\Acer\Documents\Arduino\libraries\GyverButton\GyverButton.cpp» -o nul -DARDUINO_LIB_DISCOVERY_PHASE

«C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\tools\avr/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=10813 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\eightanaloginputs» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\EEPROM\src» «-IC:\Users\Acer\Documents\Arduino\libraries\RTClib-master» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverTimer» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverHacks» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverButton» «-IC:\Users\Acer\Documents\Arduino\libraries\EEPROMex» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\Wire\src» «C:\Users\Acer\Documents\Arduino\libraries\EEPROMex\EEPROMex.cpp» -o nul -DARDUINO_LIB_DISCOVERY_PHASE

«C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\tools\avr/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=10813 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\eightanaloginputs» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\EEPROM\src» «-IC:\Users\Acer\Documents\Arduino\libraries\RTClib-master» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverTimer» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverHacks» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverButton» «-IC:\Users\Acer\Documents\Arduino\libraries\EEPROMex» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\Wire\src» «C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\Wire\src\Wire.cpp» -o nul -DARDUINO_LIB_DISCOVERY_PHASE

«C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\tools\avr/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=10813 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\eightanaloginputs» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\EEPROM\src» «-IC:\Users\Acer\Documents\Arduino\libraries\RTClib-master» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverTimer» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverHacks» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverButton» «-IC:\Users\Acer\Documents\Arduino\libraries\EEPROMex» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\Wire\src» «C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\Wire\src\utility\twi.c» -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Generating function prototypes…

«C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\tools\avr/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=10813 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\eightanaloginputs» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\EEPROM\src» «-IC:\Users\Acer\Documents\Arduino\libraries\RTClib-master» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverTimer» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverHacks» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverButton» «-IC:\Users\Acer\Documents\Arduino\libraries\EEPROMex» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\Wire\src» «C:\Users\Acer\AppData\Local\Temp\arduino_build_621083\sketch\nixieClock_2_v2.5.ino.cpp» -o «C:\Users\Acer\AppData\Local\Temp\arduino_build_621083\preproc\ctags_target_for_gcc_minus_e.cpp» -DARDUINO_LIB_DISCOVERY_PHASE

«C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\tools-builder\ctags\5.8-arduino11/ctags» -u —language-force=c++ -f — —c++-kinds=svpf —fields=KSTtzns —line-directives «C:\Users\Acer\AppData\Local\Temp\arduino_build_621083\preproc\ctags_target_for_gcc_minus_e.cpp»

Компиляция скетча…

«C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-g++» -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\eightanaloginputs» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\EEPROM\src» «-IC:\Users\Acer\Documents\Arduino\libraries\RTClib-master» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverTimer» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverHacks» «-IC:\Users\Acer\Documents\Arduino\libraries\GyverButton» «-IC:\Users\Acer\Documents\Arduino\libraries\EEPROMex» «-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\Wire\src» «C:\Users\Acer\AppData\Local\Temp\arduino_build_621083\sketch\nixieClock_2_v2.5.ino.cpp» -o «C:\Users\Acer\AppData\Local\Temp\arduino_build_621083\sketch\nixieClock_2_v2.5.ino.cpp.o»

In file included from C:a1nixieClock_2_v2.5nixieClock_2_v2.5.ino:12:0:

C:UsersAcerDocumentsArduinolibrariesEEPROMex/EEPROMex.h:195:22: error: conflicting declaration ‘EEPROMClassEx EEPROM’

extern EEPROMClassEx EEPROM;

^~~~~~

In file included from C:a1nixieClock_2_v2.5nixieClock_2_v2.5.ino:1:0:

C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtthardwarearduinoavrlibrariesEEPROMsrc/EEPROM.h:145:20: note: previous declaration as ‘EEPROMClass EEPROM’

static EEPROMClass EEPROM;

^~~~~~

In file included from C:a1nixieClock_2_v2.5nixieClock_2_v2.5.ino:13:0:

C:UsersAcerDocumentsArduinolibrariesEEPROMex/EEPROMVar.h: In constructor ‘EEPROMVar<T>::EEPROMVar(const T&)’:

C:UsersAcerDocumentsArduinolibrariesEEPROMex/EEPROMVar.h:32:18: error: ‘struct EEPROMClass’ has no member named ‘getAddress’

address(EEPROM.getAddress(sizeof(T)))

^~~~~~~~~~

C:UsersAcerDocumentsArduinolibrariesEEPROMex/EEPROMVar.h: In member function ‘void EEPROMVar<T>::save()’:

C:UsersAcerDocumentsArduinolibrariesEEPROMex/EEPROMVar.h:71:13: error: ‘struct EEPROMClass’ has no member named ‘writeBlock’; did you mean ‘write’?

EEPROM.writeBlock<T>(address, var);

^~~~~~~~~~

write

C:UsersAcerDocumentsArduinolibrariesEEPROMex/EEPROMVar.h:71:25: error: expected primary-expression before ‘>’ token

EEPROM.writeBlock<T>(address, var);

^

C:UsersAcerDocumentsArduinolibrariesEEPROMex/EEPROMVar.h: In member function ‘void EEPROMVar<T>::update()’:

C:UsersAcerDocumentsArduinolibrariesEEPROMex/EEPROMVar.h:75:13: error: ‘struct EEPROMClass’ has no member named ‘updateBlock’; did you mean ‘update’?

EEPROM.updateBlock<T>(address, var);

^~~~~~~~~~~

update

C:UsersAcerDocumentsArduinolibrariesEEPROMex/EEPROMVar.h:75:26: error: expected primary-expression before ‘>’ token

EEPROM.updateBlock<T>(address, var);

^

C:UsersAcerDocumentsArduinolibrariesEEPROMex/EEPROMVar.h: In member function ‘void EEPROMVar<T>::restore()’:

C:UsersAcerDocumentsArduinolibrariesEEPROMex/EEPROMVar.h:83:12: error: ‘struct EEPROMClass’ has no member named ‘readBlock’

EEPROM.readBlock<T>(address, var);

^~~~~~~~~

C:UsersAcerDocumentsArduinolibrariesEEPROMex/EEPROMVar.h:83:23: error: expected primary-expression before ‘>’ token

EEPROM.readBlock<T>(address, var);

^

Используем библиотеку EEPROM версии 2.0 из папки: C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtthardwarearduinoavrlibrariesEEPROM

Используем библиотеку RTClib-master версии 1.2.0 из папки: C:UsersAcerDocumentsArduinolibrariesRTClib-master

Используем библиотеку GyverTimer в папке: C:UsersAcerDocumentsArduinolibrariesGyverTimer (legacy)

Используем библиотеку GyverHacks в папке: C:UsersAcerDocumentsArduinolibrariesGyverHacks (legacy)

Используем библиотеку GyverButton в папке: C:UsersAcerDocumentsArduinolibrariesGyverButton (legacy)

Используем библиотеку EEPROMex в папке: C:UsersAcerDocumentsArduinolibrariesEEPROMex (legacy)

Используем библиотеку Wire версии 1.0 из папки: C:Program FilesWindowsAppsArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtthardwarearduinoavrlibrariesWire

exit status 1

Ошибка компиляции для платы Arduino Nano.


13-12-2020, 16:31
3 комментариев

Даже опытные программисты-«ардуинщики» могут столкнуться с ошибками компиляции. Исправить их не сложно, а вот найти порой не так просто. Мы решили рассказать сегодня в деталях, какие системные ошибки чаще возникают на различных платах Ардуино, как их исправить и по возможности избежать. 

Для начала рассмотрим базовые, так называемые синтаксические ошибки. Они встречаются чаще всего у новичков, но и опытные электронщики с ними точно знакомы не понаслышке. Искать их обычно супер-просто – в Arduino IDE некорректный синтаксис выделяется построчно (таким образом значительно легче отыскать неточность в кодах). Обычно это: отсутствие скобки в конце команды, пропуск этой самой служебной команды или слова, нехватка важных функций, неправильное их написание и т.д.

Для быстрого поиска ошибки советуем рассмотреть строку-подсказку. Ничего не помогло? Тогда для вас наша подборка наиболее распространенных синтаксических ошибок:

С синтаксисом все понятно – вставляем пропущенные символы, убираем лишние знаки, возвращаем функции по умолчанию.
Напомним, в среде разработки Ардуино IDE можно заливать скетчи для различных микроконтроллеров. По умолчанию обычно указана плата Genuino Uno. Если вы работаете с Mega, следует выбрать именно эту платформу (меню «Сервис»), иначе вас ожидает неприятное предупреждение: “programmer is not responding”.

Ошибка компиляции для платы Arduino Uno чаще всего возникает из-за проблем, связанных с библиотеками, например, неправильно подключили, не то ПО инсталлировали. В этом случае вы увидите напоминание fatal error: … No such file or directory” (библиотека не перенесена в папку libraries) или redefinition of void setup”.


Обозначенная на скриншоте ERROR означает, что программирование завершилось некорректно (расшифровываем: внутренние проблемы с компилятором, не обновили версию IDE, сбой в библиотеке, неправильный выбор разрядности операционной системы и др.). 
Важно! Не забывайте использовать подсказки приложения – они очень помогают. Включаем тут: Файл -> Настройки -> «Показать подробный вывод во время компиляции».

Что делать, если произошла ошибка при загрузке скетча Arduino Nano. Тут могут быть те же причины, что мы описали выше. Особых отличий в компиляции плат нет, главное, их правильный выбор первоначально. Однако часто пользователи настраивают не те показатели скорости порта: 9600 вместо необходимых 57600 либо не имеют соответствующих драйверов на устройствах – все это нужно проверить и исправить!

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Fatal error graphics h no such file or directory
  • Fatal error gmpxx h no such file or directory
  • Fatal error gmp h no such file or directory
  • Fatal error glibc detected an invalid stdio handle
  • Fatal error glib h no such file or directory

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии