Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask question.(5)

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

ITtutoria

ITtutoria Logo ITtutoria Logo

ITtutoria Navigation

  • Python
  • Java
  • Reactjs
  • JavaScript
  • R
  • PySpark
  • MYSQL
  • Pandas
  • QA
  • C++
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Python
  • Science
  • Java
  • JavaScript
  • Reactjs
  • Nodejs
  • Tools
  • QA
Home/ Questions/Can I fix error compiling for board arduino/genuino uno or not?
Next
Answered
Jade Remy
  • 16
Jade Remy
Asked: May 12, 20222022-05-12T01:59:10+00:00 2022-05-12T01:59:10+00:00In: r

Can I fix error compiling for board arduino/genuino uno or not?

  • 16

. Advertisement .

..3..

. Advertisement .

..4..

I get an error

sketch\sketch_may21a.ino.cpp:1:21: fatal error: Arduino.h: No such file or directory
 #include <Arduino.h>
  ^
 compilation terminated.
 exit status 1
 Error compiling for board Arduino/Genuino Uno.

when trying to compile Arduino UNO sketches using the official latest version Arduino software on Windows 7. How to fix error compiling for board arduino/genuino uno error? Please give me some advice.

  • 3 3 Answers
  • 249 Views
  • 0 Followers
  • 0
Answer
Share
  • Facebook
  • Report

3 Answers

  • Voted
  • Oldest
  • Recent
  • Random
  1. Best Answer
    ferneparker
    2022-07-12T06:17:19+00:00Added an answer on July 12, 2022 at 6:17 am

    To solve the problem:

    1. Close the Arduino IDE
    2. Refer to the folder below to access it

      For Mac OS X

      • /Users/(username)/Library/Arduino15

      For Windows

      • Arduino IDE 1.6.5r5 and previous: C:\Users(username)\AppData\Roaming\Arduino15
      • Arduino IDE 1.6.6 and later: C:\Users(username)\AppData\Local\Arduino15
    3. Remove the Arduino15 Folder
    4. Reinstall the IDE.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  2. Nathan Lombard
    2022-05-25T19:24:55+00:00Added an answer on May 25, 2022 at 7:24 pm

    This was the same problem I faced. So I went to Device manager and selected the Arduino port…disable with click right. Unplug & replug Arduino. Next, go to device manger and select the Arduino Port COM.. right click on Enable. then try. That should help.

    • 16
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  3. browncayla
    2022-05-24T17:06:51+00:00Added an answer on May 24, 2022 at 5:06 pm

    Here are the three methods that I used:

    Solution 1: Be sure to select the correct Arduino board

    1. The Error Compiling For Board Arduino/Genuino Uno problem could occur because users don’t select the correct design for the board in the Arduino IDE. Select it in the tools menu inside Arduino IDE to choose the appropriate board. Arduino IDE program.

    2. Select the Board to start the menu as shown below:

    3. Choose Arduino/Genuino Uno If it’s not chosen.

    Solution 2: Install the missing Arduboy libraries

    1. The Error in compiling for the board Arduino/Genuino Uno error can be due to the absence of Arduboy libraries required by games. To install the missing libraries Arduboy, click on the Sketch menu.

    2. Choose Add Library to reveal the menu that appears that is located directly below the photo:

    3. Select Manage Libraries to display the window directly below.

    4. To find Arduboy libraries, type in the term Arduboy into the search box.

    5. Be sure that all the Arduboy libraries below are installed:

    Arduboy

    ArduboyTones

    Arduboy2

    AdruboyPlaytune

    ArdVoice

    469 ArdBitmap

    ATMlib

    FixedPointsArduino

    Arduboy-TinyFont

    U8GLIB

    6. You can install the libraries you want by clicking on the More infor links and the install buttons for these libraries. Choose the most recent editions of libraries from the dropdown menus.

    7. Once you’ve installed all the missing Arduboy libraries, click the close button.

    Solution 3: Proceed to reinstall the Arduino IDE software

    1. Certain users may need to install Adruino IDE software. Arduino IDE program to fix the compiler for board Arduino/GenuinoUno error. Start by opening File Explorer in Windows.

    2. If you’re using Arduino the IDE 1.6.6 and later then start this path using Explorer: 

    C:/Users(username)/AppData/Local /Arduino15.

    3. Users running Arduino the IDE 1.6.5r5 or earlier must start this folder:

    C:/Users (username)/AppData/Roaming/Arduino15.

    4. Choose Adruino15 as the Adruino15 folder, then hit the delete button.

    5. After that, open Run’s windows using the Windows button + the hotkey R.

    6. Type appwiz.cpl in the empty box, and then click the “OK” button.

    7. Choose Arduino in the window for Features and Programs.

    8. Click on the Uninstall option.

    9. If a prompt to uninstall appears, Click to confirm it by clicking the “Yes” button.

    10. Restart Windows before installing Arduino.

    11. Select the Windows app on the Arduino website. Then click the Just Download option.

    12. Then, reinstall your Arduino IDE software. Also, you’ll need to reinstall boards again using the Board Manager.

    • 8
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

Sidebar

Ask A Question
  • How to Split String by space in C++
  • How To Convert A Pandas DataFrame Column To A List
  • How to Replace Multiple Characters in A String in Python?
  • How To Remove Special Characters From String Python

Explore

  • Home
  • Tutorial

Footer

ITtutoria

ITtutoria

This website is user friendly and will facilitate transferring knowledge. It would be useful for a self-initiated learning process.

@ ITTutoria Co Ltd.

Tutorial

  • Home
  • Python
  • Science
  • Java
  • JavaScript
  • Reactjs
  • Nodejs
  • Tools
  • QA

Legal Stuff

  • About Us
  • Terms of Use
  • Privacy Policy
  • Contact Us

DMCA.com Protection Status

Help

  • Knowledge Base
  • Support

Follow

© 2022 Ittutoria. All Rights Reserved.

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.