chipKIT® Development Platform

Inspired by Arduino™

Run the example:TCPEchoClient ERROR

Created Thu, 18 Feb 2016 20:11:17 +0000 by zgsnj1234


zgsnj1234

Thu, 18 Feb 2016 20:11:17 +0000

I try to run the TCPEchoClient example on chipkit WF32. But the ERROR is below: In file included from WiFiTCPEchoClient.cpp:83:0: /Users/gangsongzhou/Documents/mpide/libraries/DEIPcK/DEIPcK.h:132:10: error: conflicting return type specified for 'virtual void TCPSocket::write(uint8_t)' /Users/gangsongzhou/Desktop/mpide.app/Contents/Resources/Java/hardware/pic32/cores/pic32/Print.h:48:20: error: overriding 'virtual size_t Print::write(uint8_t)' /Users/gangsongzhou/Documents/mpide/libraries/DEIPcK/DEIPcK.h:134:10: error: conflicting return type specified for 'virtual void TCPSocket::write(const uint8_t*, size_t)' /Users/gangsongzhou/Desktop/mpide.app/Contents/Resources/Java/hardware/pic32/cores/pic32/Print.h:53:20: error: overriding 'virtual size_t Print::write(const uint8_t*, size_ How can I use the http on it ? Does anyone have the guide about the http? Cheers :shock:


majenko

Thu, 18 Feb 2016 20:28:03 +0000

It looks like your library is a few decades out of date.

The current version is bundled with the latest version of MPIDE or chipKIT Core (or UECIDE of course) and should be used in preference to any downloaded version.


zgsnj1234

Thu, 18 Feb 2016 20:43:49 +0000

It looks like your library is a few decades out of date. The current version is bundled with the latest version of MPIDE or chipKIT Core (or UECIDE of course) and should be used in preference to any downloaded version.

I am sure my MPIDE is the latest.


majenko

Thu, 18 Feb 2016 21:06:20 +0000

Your MPIDE might be, but the library you have there isn't.

The current library would be in "mpide-0150/hardware/pic32/libraries/DEIPcK". It looks like you have an old one hanging around there somewhere that needs to be removed.