Hi all. I am sharing a project across four different Win10 machines using Github. Everything works perfectly on all systems except for the best one! On this one, LDF finds 0 compatible libraries and is unable to find (any) packages.
Here’s my platformio.ini
[env:teensy41] platform = teensy board = teensy41 framework = arduino lib_deps = FlexCAN_t4
On compile, I get this and a flurry of other errors, as no libraries are loaded.
PLATFORM: Teensy (4.12.0) > Teensy 4.1 HARDWARE: IMXRT1062 600MHz, 512KB RAM, 7.75MB Flash DEBUG: Current (jlink) External (jlink) PACKAGES: - framework-arduinoteensy 1.153.0 (1.53) - toolchain-gccarmnoneeabi 1.50401.190816 (5.4.1) LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Library Manager: Installing FlexCAN_t4 Warning! Could not find the package with 'FlexCAN_t4' requirements for your system 'windows_amd64' Found 0 compatible libraries Scanning dependencies... No dependencies Building in release mode In file included from src\Display.cpp:1:0: C:\Users\justi\.platformio\packages\framework-arduinoteensy\cores\teensy4/Arduino.h:6:22: fatal error: WProgram.h: No such file or directory
Here is the start of display.h, which normally triggers the LDF.
#include <Arduino.h> #include <ST7735_t3.h> // Hardware-specific library #include <ST7789_t3.h> // Hardware-specific library #include <ST7735_t3_font_Arial.h>
All internet features of this PC seem to be otherwise working fine. I’ve tried removing Platform.IO plugin and re-installing. I’ve tried removing VSC and re-installing. I’ve tried making a blank Teensy41 project, but it won’t load any libraries and fails to compile.
I’m sure this is forehead slapper, so please hit me with it! Many thanks.