Erro library EmonLib

Ver o tópico anterior Ver o tópico seguinte Ir em baixo

Erro library EmonLib

Mensagem  luislpc10 em Qui 13 Fev - 19:00

boa noite amigos..

estou usado um arduino mega 2560 com a ide 1.0.5 r2...baixei da library emonlib...e estou tentando compilar, mas esta ocorrendo o seguinte erro abaixo, parando no void loop....

Código:










In file included from sketch_feb13a.ino:3:
C:\Users\Casa\Desktop\arduino-1.0.5-r2\libraries\EmonLib/EmonLib.h:1: error: stray '\357' in program
C:\Users\Casa\Desktop\arduino-1.0.5-r2\libraries\EmonLib/EmonLib.h:1: error: stray '\273' in program
C:\Users\Casa\Desktop\arduino-1.0.5-r2\libraries\EmonLib/EmonLib.h:1: error: stray '\277' in program
C:\Users\Casa\Desktop\arduino-1.0.5-r2\libraries\EmonLib/EmonLib.h:1: error: stray '#' in program
In file included from sketch_feb13a.ino:3:
C:\Users\Casa\Desktop\arduino-1.0.5-r2\libraries\EmonLib/EmonLib.h:81:2: error: #endif without #if
C:\Users\Casa\Desktop\arduino-1.0.5-r2\libraries\EmonLib/EmonLib.h:1: error: 'ifndef' does not name a type
In file included from C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Arduino.h:4,
                from C:\Users\Casa\Desktop\arduino-1.0.5-r2\libraries\EmonLib/EmonLib.h:6,
                from sketch_feb13a.ino:3:
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:143: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:144: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:175: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:175: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:290: error: 'size_t' was not declared in this scope
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:302: error: 'size_t' does not name a type
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:319: error: 'size_t' was not declared in this scope
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:319: error: 'size_t' was not declared in this scope
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:319: error: initializer expression list treated as compound expression
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:338: error: 'size_t' has not been declared
In file included from C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Arduino.h:5,
                from C:\Users\Casa\Desktop\arduino-1.0.5-r2\libraries\EmonLib/EmonLib.h:6,
                from sketch_feb13a.ino:3:
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/string.h:113: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/string.h:114: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/string.h:115: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/string.h:116: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/string.h:117: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/string.h:117: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/string.h:118: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/string.h:119: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/string.h:120: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/string.h:128: error: 'size_t' does not name a type
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/string.h:130: error: 'size_t' does not name a type
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/string.h:131: error: 'size_t' does not name a type
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/string.h:132: error: 'size_t' does not name a type
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/string.h:134: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/string.h:135: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/string.h:136: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/string.h:137: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/string.h:138: error: 'size_t' does not name a type
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/string.h:143: error: 'size_t' does not name a type
In file included from C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Arduino.h:8,
                from C:\Users\Casa\Desktop\arduino-1.0.5-r2\libraries\EmonLib/EmonLib.h:6,
                from sketch_feb13a.ino:3:
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:744: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:745: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:746: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:747: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:747: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:748: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:756: error: 'size_t' does not name a type
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:757: error: 'size_t' does not name a type
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:758: error: 'size_t' does not name a type
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:759: error: 'size_t' does not name a type
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:760: error: 'size_t' does not name a type
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:761: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:762: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:763: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:764: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:768: error: 'size_t' does not name a type
In file included from C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:24,
                from C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Stream.h:26,
                from C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/HardwareSerial.h:28,
                from C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Arduino.h:193,
                from C:\Users\Casa\Desktop\arduino-1.0.5-r2\libraries\EmonLib/EmonLib.h:6,
                from sketch_feb13a.ino:3:
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/stdio.h:685: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/stdio.h:691: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/stdio.h:713: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/stdio.h:719: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/stdio.h:762: error: 'size_t' does not name a type
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/stdio.h:840: error: 'size_t' does not name a type
In file included from C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Printable.h:23,
                from C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:27,
                from C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Stream.h:26,
                from C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/HardwareSerial.h:28,
                from C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Arduino.h:193,
                from C:\Users\Casa\Desktop\arduino-1.0.5-r2\libraries\EmonLib/EmonLib.h:6,
                from sketch_feb13a.ino:3:
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/new.h:10: error: declaration of 'operator new' as non-function
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/new.h:10: error: 'size_t' was not declared in this scope
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/new.h:11: error: declaration of 'operator new []' as non-function
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/new.h:11: error: 'size_t' was not declared in this scope
In file included from C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:27,
                from C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Stream.h:26,
                from C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/HardwareSerial.h:28,
                from C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Arduino.h:193,
                from C:\Users\Casa\Desktop\arduino-1.0.5-r2\libraries\EmonLib/EmonLib.h:6,
                from sketch_feb13a.ino:3:
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Printable.h:36: error: 'size_t' does not name a type
In file included from C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Stream.h:26,
                from C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/HardwareSerial.h:28,
                from C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Arduino.h:193,
                from C:\Users\Casa\Desktop\arduino-1.0.5-r2\libraries\EmonLib/EmonLib.h:6,
                from sketch_feb13a.ino:3:
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:38: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:39: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:48: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:49: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:53: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:55: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:56: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:57: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:58: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:59: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:60: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:61: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:62: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:63: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:64: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:65: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:67: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:68: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:69: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:70: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:71: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:72: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:73: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:74: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:75: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:76: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:77: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Print.h:78: error: 'size_t' does not name a type
In file included from C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/HardwareSerial.h:28,
                from C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Arduino.h:193,
                from C:\Users\Casa\Desktop\arduino-1.0.5-r2\libraries\EmonLib/EmonLib.h:6,
                from sketch_feb13a.ino:3:
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Stream.h:62: error: 'size_t' has not been declared
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Stream.h:67: error: 'size_t' has not been declared
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Stream.h:67: error: 'size_t' has not been declared
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Stream.h:76: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Stream.h:80: error: 'size_t' does not name a type
In file included from C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/Arduino.h:193,
                from C:\Users\Casa\Desktop\arduino-1.0.5-r2\libraries\EmonLib/EmonLib.h:6,
                from sketch_feb13a.ino:3:
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/HardwareSerial.h:62: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/HardwareSerial.h:63: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/HardwareSerial.h:64: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/HardwareSerial.h:65: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/HardwareSerial.h:66: error: 'size_t' does not name a type
C:\Users\Casa\Desktop\arduino-1.0.5-r2\hardware\arduino\cores\arduino/HardwareSerial.h:67: error: no members matching 'Print::write' in 'class Print'
In file included from sketch_feb13a.ino:5:
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/avr/eeprom.h:282: error: 'size_t' has not been declared
c:/users/casa/desktop/arduino-1.0.5-r2/hardware/tools/avr/lib/gcc/../../avr/include/avr/eeprom.h:400: error: 'size_t' has not been declared
In file included from sketch_feb13a.ino:6:
C:\Users\Casa\Desktop\arduino-1.0.5-r2\libraries\Robot_Control/Adafruit_GFX.h:85: error: 'size_t' does not name a type
sketch_feb13a.ino: In function 'void loop()':
sketch_feb13a:91: error: 'class HardwareSerial' has no member named 'print'
sketch_feb13a:92: error: 'class HardwareSerial' has no member named 'println'
sketch_feb13a:93: error: 'class HardwareSerial' has no member named 'print'
sketch_feb13a:94: error: 'class HardwareSerial' has no member named 'println'
sketch_feb13a:95: error: 'class HardwareSerial' has no member named 'print'
sketch_feb13a:97: error: 'class HardwareSerial' has no member named 'println'
sketch_feb13a:102: error: 'class HardwareSerial' has no member named 'println'
sketch_feb13a:111: error: 'display' was not declared in this scope
sketch_feb13a:113: error: 'BLACK' was not declared in this scope
sketch_feb13a.ino: In function 'void printFloat(float, int)':
sketch_feb13a:167: error: 'class HardwareSerial' has no member named 'print'
sketch_feb13a:170: error: 'class HardwareSerial' has no member named 'print'
sketch_feb13a:174: error: 'class HardwareSerial' has no member named 'print'
sketch_feb13a:184: error: 'class HardwareSerial' has no member named 'print'
sketch_feb13a:190: error: 'class HardwareSerial' has no member named 'print'

alguem sabe o que poderia ser?

obrigado!

luislpc10

Mensagens : 2
Data de inscrição : 07/09/2013

Ver perfil do usuário

Voltar ao Topo Ir em baixo

Ver o tópico anterior Ver o tópico seguinte Voltar ao Topo

- Tópicos similares

 
Permissão deste fórum:
Você não pode responder aos tópicos neste fórum