Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Compile Error on Teensy 4.1 #14

@jimmie11

Description

@jimmie11

Thank you for your efforts. I was very happy to find a library that works on Teensy 4.1 however I am unable to compile the WebServer example. I had download the VLP library and also copied boards.txt but this did not help. I also tried changing Ethernet.h to NativeEthernet.h but his did not help either.

Here is the error:

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Stream.h:68:6: error: 'int Stream::timedRead()' is private

int timedRead();

 ^ 

C:\Users\TTC\Documents\Arduino\libraries\EthernetWebServer-master\src\Ethernet_HTTPClient\Ethernet_HttpClient.cpp:642:13: error: within this context

 int c = timedRead(); ^ 

In file included from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/HardwareSerial.h:106:0,

 from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/WProgram.h:46, from C:\Users\TTC\AppData\Local\Temp\arduino_build_394779/pch/Arduino.h:6, from C:\Users\TTC\Documents\Arduino\libraries\EthernetWebServer-master\src/Ethernet_HTTPClient/Ethernet_HttpClient.h:43, from C:\Users\TTC\Documents\Arduino\libraries\EthernetWebServer-master\src\Ethernet_HTTPClient\Ethernet_HttpClient.cpp:44: 

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Stream.h:68:6: error: 'int Stream::timedRead()' is private

int timedRead();

 ^ 

C:\Users\TTC\Documents\Arduino\libraries\EthernetWebServer-master\src\Ethernet_HTTPClient\Ethernet_HttpClient.cpp:642:23: error: within this context

 int c = timedRead(); ^ 

Multiple libraries were found for "Ethernet.h"
Used: C:\Program Files (x86)\Arduino\libraries\Ethernet
Not used: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Ethernet-master
Error compiling for board Teensy 4.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions