chipKIT® Development Platform

Inspired by Arduino™

Compiling Webserver example (chipKit WiFi Shield)

Created Mon, 16 Dec 2013 05:14:30 +0000 by onnimikki


onnimikki

Mon, 16 Dec 2013 05:14:30 +0000

I just downloaded the Webserver code and attempted to "verify" it in MPIDE. When I did I got the following error:

HTMLSDPage.cpp: In function 'GCMD::ACTION ComposeHTMLSDPage(CLIENTINFO*)': HTMLSDPage.cpp:224:55: error: invalid conversion from 'const char*' to 'char*' HTMLSDPage.cpp:224:55: error: initializing argument 1 of 'File SDClass::open(char*, uint8_t)'

I had just downloaded the DSD-0000433 web server example from the Digilent page (http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,892,1037&Prod=CHIPKIT-WIFI-SHIELD), as well as the network libraries DSD-0000318.

Any suggestions as to what I should do at this point?

thanks,

James


guymc

Thu, 19 Dec 2013 16:55:25 +0000

Hi James,

Your request for help is missing a few key things:

  1. Which version of MPIDE are you using? Many test builds, and several official releases, have been posted. The date, which appears are part of the file name, is important. You should be using the latest release, or the latest test build.

  2. Which target board has been selected in MPIDE?

If you are using UCIDE, instead of MPIDE, that info would also be useful.

Cheers