Arduino 1.8.12 still reporting "no such file or directory"

Having a problem with installing CurieBLE.h file i need, so before just posting i searched this forum for answers and came across this thread,
https://forum.arduino.cc/index.php?topic=447242.0

Fantastic! did what it stated an installed "Intel Curie Boards package" that went ok and i see it has installed but Arduino 1.8.12 still reporting "no such file or directory" when i try to compile my code, I'm running windows10.

Is this a Arduino 1.8.12 IDE problem?

sorry if this is in the wrong section, to me its a IDE problem as its not installing

files i need. Thanks for any help

Hi @ron_roberts. Please do this:

  • When you encounter an error, you'll see a button on the right side of the orange bar "Copy error messages" in the Arduino IDE (or the icon that looks like two pieces of paper at the top right corner of the black console window in the Arduino Web Editor). Click that button..
  • In a forum reply here, click on the reply field.
  • Click the </> button on the forum toolbar. This will add the forum's code tags markup to your reply.
  • Press "Ctrl + V". This will paste the error between the code tags.
  • Move the cursor outside of the code tags before you add any additional text to your reply.

If the text exceeds the forum's 9000 character limit, save it to a .txt file and post it as an attachment. If you click the "Reply" button here, you will see an "Attachments and other settings" link that will allow you to make the attachment.

Arduino: 1.8.12 (Windows 10), Board: "Arduino Pro or Pro Mini, ATmega328P (5V, 16 MHz)"

sketch_jan26a:1:10: fatal error: CurieBLE.h: No such file or directory

 #include <CurieBLE.h>

          ^~~~~~~~~~~~

compilation terminated.

exit status 1
CurieBLE.h: No such file or directory

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Which Arduino board do you have?

I don't have the board yet, i am just trying to compile the code, I do have select mini pro as I'm looking to program a mini pro Atmega32u4.

Think my problem maybe I'm trying to program a mini pro Atmega32u4 but i cannot select the Atmega32u4 under under processor, i can only select at mega 168 or the 328. Still looking at that at min.

I do have about 8 varying types of Arduino boards, and have done a lot of projects with them. all use the 168 or the 328.

ron_roberts:
I do have select mini pro as I'm looking to program a mini pro Atmega32u4.

The CurieBLE library is written specifically for the architecture of the Arduino 101. For this reason, the library is only accessible when you have the Arduino 101 board selected from the Tools > Board menu. So it's expected that you'll get this error when compiling a sketch that uses that library when you have a different board selected. So if you're not going to be using an Arduino 101 then you won't be able to use this library.

If you tell us what you're hoping to do, maybe we can provide some recommendations for alternative libraries that are compatible with the ATmega32U4.

ron_roberts:
I'm trying to program a mini pro Atmega32u4 but i cannot select the Atmega32u4 under under processor, i can only select at mega 168 or the 328.
[/quote]
This is because the Arduino Pro Mini was only ever made with an ATmega328P or ATmega168 microcontroller. There is no such thing as an Arduino Pro Mini with an ATmega32U4. It's possible that some 3rd party manufacturer has made an Arduino compatible board using an ATmega32U4 and for some reason named it "Pro Mini". More likely is that it's a Pro Micro. Sometimes you will find Pro Micro clones sold by resellers on eBay or Amazon who use the wrong board name in the listing title.

I completely understand now, ill order ARDUINO 101. Would like to have done what I'm wont to do with a Arduino
Duemilanove or a Uno as i have them.

I'm just looking at a keyboard, more to the point a macro keyboard, so I can assign shortcut buttons for a “SDR” Software Defined Receiver, so looking to build a standalone control unit with specific features like one touch button for bands, encoder for frequency up/down all over USB. It’s not to replace anything but to us as well as a keyboard/mouse. In going this root as everything for the SDR can be controlled with the keyboard but it’s a real pain to use when having to press sometimes 4 keys simultaneously.
Thanks for all your replies.

You can definitely use an ATmega32U4-based board to make a macro keyboard. This is the library:

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.