JeeLib.h stopped working

Early yesterday I got my Arduino working sending power data to emoncms.org. Then last night I couldn't compile any sketches because of a JeeLib error. The error partly says:

 

In file included from powermon0.ino:5:
C:\arduino-1.0.3-windows\arduino-1.0.3\libraries\JeeLib/JeeLib.h:8: error: stray '\302' in program
C:\arduino-1.0.3-windows\arduino-1.0.3\libraries\JeeLib/JeeLib.h:8: error: stray '\267' in program
C:\arduino-1.0.3-windows\arduino-1.0.3\libraries\JeeLib/JeeLib.h:8: error: stray '\302' in program
C:\arduino-1.0.3-windows\arduino-1.0.3\libraries\JeeLib/JeeLib.h:8: error: stray '\267' in program
C:\arduino-1.0.3-windows\arduino-1.0.3\libraries\JeeLib/JeeLib.h:194: error: missing terminating " character
C:\arduino-1.0.3-windows\arduino-1.0.3\libraries\JeeLib/JeeLib.h:195: error: missing terminating " character
In file included from powermon0.ino:5:
C:\arduino-1.0.3-windows\arduino-1.0.3\libraries\JeeLib/JeeLib.h:314:46: error: invalid suffix "dc3202e9bd6dee29fbfadea040f592d" on integer constant
C:\arduino-1.0.3-windows\arduino-1.0.3\libraries\JeeLib/JeeLib.h:315:62: error: invalid suffix "dc3202e9bd6dee29fbfadea040f592d" on integer constant
C:\arduino-1.0.3-windows\arduino-1.0.3\libraries\JeeLib/JeeLib.h:3: error: expected unqualified-id before '<' token
C:\arduino-1.0.3-windows\arduino-1.0.3\libraries\JeeLib/JeeLib.h:523: error: expected unqualified-id before numeric constant
In file included from C:\arduino-1.0.3-windows\arduino-1.0.3\hardware\arduino\cores\arduino/Arduino.h:4,
                 from powermon0.ino:9:

 

 

I don't understand what happen. It was working for a while and then stopped. I tried re-downloading JeeLib from https://github.com/jcw/jeelib but it didnt help. Ideas?

 

JC

Robert Wall's picture

Re: JeeLib.h stopped working

That is telling you that the file contains illegal characters, outside the expected printable ASCII character set. Did you download the raw file or the screen dump? The safest is to download the zip file and extract the contents, then move the directory into "libraries" and rename it, like it says in README.md

joecatch's picture

Re: JeeLib.h stopped working

Wow, That worked. Thanks. I couldn't find the ZIP file link before so I just right clicked and saved target as. It seems to work at first. Anyway, I downloaded the ZIP file, etc and all is well!!

 

JC

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.