Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible to compile #13

Open
altf4arnold opened this issue Feb 18, 2018 · 2 comments
Open

Impossible to compile #13

altf4arnold opened this issue Feb 18, 2018 · 2 comments

Comments

@altf4arnold
Copy link

I'm using the arduino IDE in 1.8.5.
When I'm trying to compile, I get an error from the line 12 in ICMPPing.h

/home/altf4/Arduino/libraries/icmp_ping/ICMPPing.h:12:27: fatal error: utility/w5100.h: No such file or directory
compilation terminated.

How am I supposed to solve that?

@jdccdevel
Copy link

Followup: The file utility/w5100.h exists in the newer version of the Arduino IDE (1.8.7) I'm using, but the library relies on some functions that don't exist any more.

Specifically, the following functions don't exist in the W5100Class object included with the arduino IDE 1.8.7:

W5100.send_data_processing
W5100.getRXReceivedSize
W5100.read_data

I can confirm they exist in the library version included in an older version of the IDE (1.8.2) that I have a copy of.

It looks like the Library needs porting to the newer version of the Ethernet library.

@andrew-susanto
Copy link

andrew-susanto commented Aug 15, 2021

Hello, I think another Github user @masterx1981 managed to fix the ICMP Library, the related issue is here arduino-libraries/Ethernet#105 .masterx1981 fixes the library and make the ICMP ping is built-in into the Ethernet Library which you can find here https://github.com/masterx1981/Ethernet . But if you want to only add the ICMP ping library, I already move out only the ICMP ping part, so you should be able to add the library just like this Arduino-Ping library. You can find that in my repository here https://github.com/andrew-susanto/Arduino-Ethernet-Icmp . I also add example for using DHCP instead of static IP. I already tested on arduino uno + W5100 Ethernet shield and already worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants