Pages: [1]   Go Down
Author Topic: Broken libraries after install of Arduino 1.0  (Read 1752 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
God Member
*****
Karma: 1
Posts: 547
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This was the errors on a verify:
While some errors may be from my code, however the issue at hand is the broken references in your code.
Code:
In file included from c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:47,
                 from C:\arduino-1.0\libraries\ExternPWM/Arduino.h:4,
                 from C:\arduino-1.0\libraries\ExternPWM/ExternPWM.h:3,
                 from pwmtest.cpp:2:
c:\arduino-1.0\hardware\tools\avr\bin\../lib/gcc/avr/4.3.2/include/stddef.h:214: error: two or more data types in declaration of 'size_t'
In file included from C:\arduino-1.0\libraries\ExternPWM/Arduino.h:4,
                 from C:\arduino-1.0\libraries\ExternPWM/ExternPWM.h:3,
                 from pwmtest.cpp:2:
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:143: error: 'size_t' has not been declared
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:144: error: 'size_t' has not been declared
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:175: error: 'size_t' has not been declared
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:175: error: 'size_t' has not been declared
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:290: error: 'size_t' was not declared in this scope
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:302: error: 'size_t' does not name a type
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:319: error: 'size_t' was not declared in this scope
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:319: error: 'size_t' was not declared in this scope
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:319: error: initializer expression list treated as compound expression
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:338: error: 'size_t' has not been declared
In file included from C:\arduino-1.0\libraries\ExternPWM/Arduino.h:5,
                 from C:\arduino-1.0\libraries\ExternPWM/ExternPWM.h:3,
                 from pwmtest.cpp:2:
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/string.h:113: error: 'size_t' has not been declared
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/string.h:114: error: 'size_t' has not been declared
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/string.h:115: error: 'size_t' has not been declared
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/string.h:116: error: 'size_t' has not been declared
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/string.h:117: error: 'size_t' has not been declared
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/string.h:117: error: 'size_t' has not been declared
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/string.h:118: error: 'size_t' has not been declared
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/string.h:119: error: 'size_t' has not been declared
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/string.h:120: error: 'size_t' has not been declared
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/string.h:128: error: 'size_t' does not name a type
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/string.h:130: error: 'size_t' does not name a type
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/string.h:131: error: 'size_t' does not name a type
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/string.h:132: error: 'size_t' does not name a type
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/string.h:134: error: 'size_t' has not been declared
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/string.h:135: error: 'size_t' has not been declared
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/string.h:136: error: 'size_t' has not been declared
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/string.h:137: error: 'size_t' has not been declared
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/string.h:138: error: 'size_t' does not name a type
c:/arduino-1.0/hardware/tools/avr/lib/gcc/../../avr/include/string.h:143: error: 'size_t' does not name a type
......... file too large to post.
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 210
Posts: 13030
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


"Your code"?  To whom are you addressing your post?

Where did you get "ExternPWM.h"?
Logged

Offline Offline
God Member
*****
Karma: 1
Posts: 547
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have resolved the issue, I had includes written for the ver 0023 in my custom library folder. The library compiles almost*. complains of a definition of multiple types on a single line. I have to find out how to coerce the preprocessor to dump the preprocess file for investigation of the compile error.

* Lib_ExterPWM.zip (57.18 KB - downloaded 3 times.)
Logged

Pages: [1]   Go Up
Jump to: