chipKIT® Development Platform

Inspired by Arduino™

WebServer demo won't compile -- can't find NetworkProfile.x

Created Fri, 31 Oct 2014 17:05:23 +0000 by willliam


Fri, 31 Oct 2014 17:05:23 +0000

Just got my WF32!

I've been trying to compile the WebServer demo, but mpide is not finding one of the files (NetworkProfile.x). The file is there in the file system (...\chipKit\libraries\DNETcK\utility), but is not getting picked up:

In file included from Helper.cpp:31:0:
...\chipKit\WebServer/HTTPServer.h:40:31: fatal error: NetworkProfile.x: No such file or directory
compilation terminated.

I can't find a "path"-like variable anywhere in preferences.txt -- please advise :geek:


Mon, 17 Nov 2014 17:38:25 +0000

So, as it turns out, mpide only works if it is installed at the C: level. I had mistakenly thought it could go anywhere, such as My Documents -- silly!

The fix is:

  1. copy your existing project files to a safe place
  2. uninstall mpide from wherever it is and delete its directory
  3. delete the file preferences.txt from C:\Users\Owner\AppData\Roaming\mpide
  4. install mpide (from its installation exe) to C:
  5. copy your project files to My Documents/mpide
  6. start compiling!