chipKIT® Development Platform

Inspired by Arduino™

Library Problem with Windows

Created Thu, 26 May 2011 23:59:38 +0000 by AussieBrad


AussieBrad

Thu, 26 May 2011 23:59:38 +0000

I'm having trouble with libraries with includes such as SDFat on windows, I get the following error. The file exists in the correct path but the IDE adds the wrong / in the path.

In file included from SdFatLs.cpp:7:0: C:\MPIDE\hardware\pic32\libraries\SdFat/SdFat.h:26:26: fatal error: avr/pgmspace.h: No such file or directory compilation terminated.

Anyone have any ideas on how to get around this ?


ricklon

Sun, 29 May 2011 00:05:19 +0000

The path inconstancy is handled OK, by Java. The problem is missing: avr/pgmspace.h:

There are no ./avr/ files.

So the SDFat library needs to be written to not need that.