Why is my code saying "Error Compiling for Arduino Nano"

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
dastels
 
Posts: 15653
Joined: Tue Oct 20, 2015 3:22 pm

Re: Why is my code saying "Error Compiling for Arduino Nano"

Post by dastels »

Yes, it's building, compiling is only one step.

Create it like creating any other directory. Windows probably has a "New Folder" command somewhere. I couldn't tell you where as I don't use Windows.

Dave

User avatar
animefruit
 
Posts: 332
Joined: Tue Feb 25, 2020 1:04 pm

Re: Why is my code saying "Error Compiling for Arduino Nano"

Post by animefruit »

So I didn't know what you meant about creating a new directory but I did create a New Folder and dragged Tl10684400A (C:) into that as a new folder.

And when I uploaded the same code again I got the same exact error.

What should I do about that?

Also I just got this Weird Error on my Other Computer where I am not able to choose the Port.

The Port option just completely disappeared!

Can you also tell me how to fix that issue because it is a big problem?

I have a Picture of it Not Displaying the Port attached to this post.

I also have a Picture of How it is Supposed to Look when the Port is displayed.
Attachments
Port Shown 3.png
Port Shown 3.png (46.4 KiB) Viewed 141 times
Port Not Shown!.jpg
Port Not Shown!.jpg (559.93 KiB) Viewed 141 times

User avatar
dastels
 
Posts: 15653
Joined: Tue Oct 20, 2015 3:22 pm

Re: Why is my code saying "Error Compiling for Arduino Nano"

Post by dastels »

I did create a New Folder and dragged Tl10684400A (C:) into that as a new folder.
I'm not completely sure what you mean but that doesn't sound like a reasonable thing to do. I'm surprised that would work.

I'd mentioned that directories are also called folders in GUI file managers.

Reinstalling Arduino might help.

Huh.. I have never seen the port option disappear.

Dave

User avatar
animefruit
 
Posts: 332
Joined: Tue Feb 25, 2020 1:04 pm

Re: Why is my code saying "Error Compiling for Arduino Nano"

Post by animefruit »

I tried Uninstalling the Arduino IDE to Reinstall it, but when I do it says that it will not let me keep my libraries within it.

I also have a picture of that attached to this post.

Do you know any way I can Reinstall the Arduino IDE without deleting all my past libraries with it?

Also I probably should have told you in the beginning that other code works on this computer and the other computer.

So it may not be a problem with my computer or the files on my computer.

Do you still think it is a problem with the computer or files on my computer?
Attachments
Delete Libraries.PNG
Delete Libraries.PNG (391.01 KiB) Viewed 131 times

User avatar
dastels
 
Posts: 15653
Joined: Tue Oct 20, 2015 3:22 pm

Re: Why is my code saying "Error Compiling for Arduino Nano"

Post by dastels »

Hmm. Is everything up to date? All board support packages and libraries?

Dave

User avatar
animefruit
 
Posts: 332
Joined: Tue Feb 25, 2020 1:04 pm

Re: Why is my code saying "Error Compiling for Arduino Nano"

Post by animefruit »

While the computer that has its port option disappeared I tried using another computer instead.

I am trying to use it for my other RFM69 Radio.

I used this article to try to download the Radiohead library:

https://learn.adafruit.com/adafruit-rfm ... 9-radio

I tried downloaded it from the zip from the green button shown in the image below.

I also tried downloading it from the zip from the GitHub.

I placed one Radiohead zip under libraries in my Arduino folder as shown in one of the images attached.

I also placed some of the Radiohead zips from GitHub in the libraries in my Arduino folder as well as more zips from the same green button as shown in another image attached.

And then in another image in the below post it shows how there is no RadioHead Example libraries that is displayed.

How could this be?

Did I do something wrong?

How can I fix this?
Attachments
Green Button.jpg
Green Button.jpg (111.2 KiB) Viewed 127 times
Inside Libraries.jpg
Inside Libraries.jpg (926.07 KiB) Viewed 127 times
Under Libraries.jpg
Under Libraries.jpg (755.64 KiB) Viewed 127 times

User avatar
animefruit
 
Posts: 332
Joined: Tue Feb 25, 2020 1:04 pm

Re: Why is my code saying "Error Compiling for Arduino Nano"

Post by animefruit »

Here is the picture that shows that when I go to Examples there is no RadioHead Example libraries that is displayed.

Why is this?
Attachments
No RadioHead!.jpg
No RadioHead!.jpg (789.71 KiB) Viewed 127 times

User avatar
animefruit
 
Posts: 332
Joined: Tue Feb 25, 2020 1:04 pm

Re: Why is my code saying "Error Compiling for Arduino Nano"

Post by animefruit »

How do I check if my libraries and support packages are up to date?

I couldn't find any answers on the web.

User avatar
dastels
 
Posts: 15653
Joined: Tue Oct 20, 2015 3:22 pm

Re: Why is my code saying "Error Compiling for Arduino Nano"

Post by dastels »

You want the library folders in libraries, not libraries/New Folder.

Try to install libraries from within Arduino if possible.

In 1.8.*:

Sketch->Include Library->Manage Libraries...
Then in the Type dropdown pick Updatable

Tools->Board->Board Manager...
Then in the Type dropdown pick Updatable

In 2.* it's easier. Open the library or board manager and select Updatable from the type dropdown.

In all the above cases you will have a list of items that should be updated. Click the Update button on each item.

User avatar
animefruit
 
Posts: 332
Joined: Tue Feb 25, 2020 1:04 pm

Re: Why is my code saying "Error Compiling for Arduino Nano"

Post by animefruit »

I did that and it had an option to Update the Arduino AVR Board library.

I updated it and still I got the same exact error.

Can you also tell me why my Radiohead Library isn’t showing up in my Examples on one of my other computers in my below post?

User avatar
dastels
 
Posts: 15653
Joined: Tue Oct 20, 2015 3:22 pm

Re: Why is my code saying "Error Compiling for Arduino Nano"

Post by dastels »

I suspect it's because you have it inside a folder named New Folder and not directly in the libraries folder.

Dave

User avatar
animefruit
 
Posts: 332
Joined: Tue Feb 25, 2020 1:04 pm

Re: Why is my code saying "Error Compiling for Arduino Nano"

Post by animefruit »

I don’t know how to delete the New Folder though.

I deleted it from my desktop display and now I can’t find it in the files.

Do you know how to find recently deleted files from the desktop display?

I don’t think deleting it from the desktop display means it is fully deleted.

User avatar
dastels
 
Posts: 15653
Joined: Tue Oct 20, 2015 3:22 pm

Re: Why is my code saying "Error Compiling for Arduino Nano"

Post by dastels »

Look in the trash.

Dave

User avatar
animefruit
 
Posts: 332
Joined: Tue Feb 25, 2020 1:04 pm

Re: Why is my code saying "Error Compiling for Arduino Nano"

Post by animefruit »

Ok. I will look in the trash.

Can you also tell me why my other computer isn’t showing RadioHead examples in one of my above posts?

User avatar
dastels
 
Posts: 15653
Joined: Tue Oct 20, 2015 3:22 pm

Re: Why is my code saying "Error Compiling for Arduino Nano"

Post by dastels »

Likely the library isn't correctly installed and it can't find the examples.

Dave

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”