Hi, I'm having problems with the ENC28J60 Ethernet Module + Arduino Uno R3.
Here's what I've done:
I downloaded the ENC28J60 library from "http://www.geeetech.com/enc28j60-ethern ... p-263.html" and unzipped the ENC28J60 folder into "C:\arduino-1.0.1-windows\arduino-1.0.1\libraries\"
Then I removed the "Ethernet" folder from "C:\arduino-1.0.1-windows\arduino-1.0.1\libraries\"
I loaded the "Chat Server" example that comes with it, and tried to compile it.
Here's the error message:
In file included from C:\arduino-1.0.1-windows\arduino-1.0.1\libraries\ENC28J60/Ethernet.h:5,
from ChatServer.cpp:8:
C:\arduino-1.0.1-windows\arduino-1.0.1\libraries\ENC28J60/Client.h:22: error: conflicting return type specified for 'virtual void Client::write(uint8_t)'
C:\arduino-1.0.1-windows\arduino-1.0.1\hardware\arduino\cores\arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'
C:\arduino-1.0.1-windows\arduino-1.0.1\libraries\ENC28J60/Client.h:24: error: conflicting return type specified for 'virtual void Client::write(const uint8_t*, size_t)'
C:\arduino-1.0.1-windows\arduino-1.0.1\hardware\arduino\cores\arduino/Print.h:50: error: overriding 'virtual size_t Print::write(const uint8_t*, size_t)'
In file included from C:\arduino-1.0.1-windows\arduino-1.0.1\libraries\ENC28J60/Ethernet.h:6,
from ChatServer.cpp:8:
C:\arduino-1.0.1-windows\arduino-1.0.1\libraries\ENC28J60/Server.h:16: error: conflicting return type specified for 'virtual void Server::write(uint8_t)'
C:\arduino-1.0.1-windows\arduino-1.0.1\hardware\arduino\cores\arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'
C:\arduino-1.0.1-windows\arduino-1.0.1\libraries\ENC28J60/Server.h:18: error: conflicting return type specified for 'virtual void Server::write(const uint8_t*, size_t)'
C:\arduino-1.0.1-windows\arduino-1.0.1\hardware\arduino\cores\arduino/Print.h:50: error: overriding 'virtual size_t Print::write(const uint8_t*, size_t)'
ENC28J60 Ethernet Module Compile error
- techsupport
- Site Admin
- Posts: 210
- Joined: Sat Mar 03, 2012 2:32 pm
Re: ENC28J60 Ethernet Module Compile error
Hi friend:
Please refer to the wiki page about ENC28J60 http://www.geeetech.com/wiki/index.php/ ... net_Module
and use 023 IDE.
Regards;
techsupport
Please refer to the wiki page about ENC28J60 http://www.geeetech.com/wiki/index.php/ ... net_Module
and use 023 IDE.
Regards;
techsupport
Your real trustworthy partner in China!!
Email: forum@geeetech.com
Email: forum@geeetech.com
Re: ENC28J60 Ethernet Module Compile error
Is this library ever going to be upgraded? It seems to be built for a pre-release version of the arduino IDE. They are up to v1.0.5 already! Can we please get this thing updated to work with current software???
SW
SW
- techsupport
- Site Admin
- Posts: 210
- Joined: Sat Mar 03, 2012 2:32 pm
Re: ENC28J60 Ethernet Module Compile error
hi
guys
you should delete the previous library file and the add the ethernet library,and then complide it.
guys
you should delete the previous library file and the add the ethernet library,and then complide it.
Your real trustworthy partner in China!!
Email: forum@geeetech.com
Email: forum@geeetech.com