no header files found warning

sjm-mcl

Active member
After a recent Arduino IDE upgrade (to 2.1.0) I'm seeing this warning:

loading library from C:\Users\Steve\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.58.0\libraries\_Teensy: invalid library: no header files found

Should I be worried? Stuff still seems to compile ok.
 
Not sure ... but IIRC IDE made a change to their process and it requires a change in PJRC's release files.

Seems Paul noted this on another thread and an update to released 1.58 will be made and next version of 1.59 in Beta will incorporate it as well.

If things build and work correctly it seems the change is only how the examples are located and identified for use causing that message ???
 
Updated to IDE 2.1.0 and two open sketches to T_4.1 built and uploaded fine with Beta 1.59b2:
"loading library from C:\Users\Tim\AppData\Local\Arduino15\packages\teensy\hardware\avr\0.59.2\libraries\_Teensy: invalid library: no header files found"
 
I testing a fix now. To give it a try, click File > Preference and change the Teensy URL to this:

Code:
https://www.pjrc.com/teensy/td_158-1/package_teensy_index.json

After you click OK, the Arduino IDE should automatically read the new package index. But if not, press Shift-Ctrl-P and click "Arduino: Update Package Index".

Then in the Boards Manager, you should see a new Teensy 1.58.1 which fixes this problem. Or at least it's supposed to fix it. You can be the judge of that! Please let me know if it fully solved the problem on your machine?
 
Hopefully @sjm-mcl can try this. Using the 1.59 beta cores here and would be lots of jumping around time doesn't allow just now.

Note: On windows I've found that either closing the IDE or less painfully having two sketches open, closing one, then re-opening it is required to get the indicated package index to be recognized by the Boards Manager in that instance of the IDE. May also work with one sketch open then 'open new sketch' and checking Boards Manger there.
 
@defragster, I can confirm that has completely fixed the issue. Thanks - you guys are amazing - massive respect.
 
I've noticed now that after this update I'm no longer getting tool-tip info or pop-up completion hints on the IDE, not sure why this should be, Google seems to be of little help, wonder if I could seek your advice on this too. Thanks.
Just found that if I load an example file the tool-tip stuff does work - maybe there's someting in my code that the IDE doesn't like - but I get no compile-time errors or warnings (with verbose on).
 
Last edited:
OK, I'm finding now that if I open a new sketch and copy my code into it THEN I get the tooltip help pop-ups BUT if I save it to my (non-standard) projects folder then all of a sudden tool-tip help just stops. Looks like this is an IDE thing, nothing to do with Teensy or its libraries - but would still be grateful for any help. I can fix the problem by saving my sketches to the default location but it's a bit of a cop out.
 
Last edited:
Thanks, I'm pretty sure it was to do with IDE loosing track of libraries across multiple project locations. The answer was to keep all project folders in the same place. Sorry to have bothered you with this.
 
Back
Top