arduino / Arduino

Arduino IDE 1.x
https://www.arduino.cc/en/software
Other
14.16k stars 7.02k forks source link

Libraries not loading in #9829

Closed makemake5050 closed 4 years ago

makemake5050 commented 4 years ago

exit status 1 'Mouse' not found. Does your sketch include the line '#include '?

But I included the library mouse.h

per1234 commented 4 years ago

This error is caused by compiling for an Arduino board that is not compatible with the Mouse library. Only boards with native USB capabilities (e.g., Leonardo, Micro, MKR boards, Nano 33 IoT) can be used with the Mouse and Keyboard libraries. If you have one of these boards, then you need select the correct board from the Arduino IDE's Tools > Board menu. If you don't have one of these boards, then you can't use the Mouse library.

makemake5050 commented 4 years ago

I was using an arduino nano witch is in your list

On Tue, 3 Mar 2020 at 11:52 pm, per1234 notifications@github.com wrote:

Closed #9829 https://github.com/arduino/Arduino/issues/9829.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arduino/Arduino/issues/9829?email_source=notifications&email_token=AN2W3ZWCDCE45AMV26UD2LLRFT4SBA5CNFSM4LAI4FB2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOXBGJEZA#event-3092025956, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN2W3ZS25QRQLGJA4JY4ZTTRFT4SBANCNFSM4LAI4FBQ .

per1234 commented 4 years ago

No, the Nano 33 IoT is on my list. The original Arduino Nano is not on the list because it doesn't have native USB capabilities.

makemake5050 commented 4 years ago

Is there any way to get it to work

On Wed, 4 Mar 2020 at 8:11 am, per1234 notifications@github.com wrote:

No, the Nano 33 IoT https://store.arduino.cc/arduino-nano-33-iot is on my list. The original Arduino Nano https://store.arduino.cc/arduino-nano is not on the list because it doesn't have native USB capabilities.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arduino/Arduino/issues/9829?email_source=notifications&email_token=AN2W3ZSULCPKHQ2JADY2DWLRFVXBXA5CNFSM4LAI4FB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENVFJEQ#issuecomment-594171026, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN2W3ZUMBS5WYVLVRFJOVITRFVXBXANCNFSM4LAI4FBQ .

per1234 commented 4 years ago

No. The only way is to buy a different board.