Go Down

Topic: Broken libraries after install of Arduino 1.0 (Read 1 time) previous topic - next topic

ajofscott

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: [Select]
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.

Coding Badly


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

Where did you get "ExternPWM.h"?

ajofscott

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.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy