Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Exhibition / Re: Control Arduino with Universal Remote on: December 16, 2008, 10:17:02 pm
hi, sorry i didnt mean to confuse but i copied and pasted the original code posted by jmknapp  and for some reason recieved those errors. i copied and pasted exactly and cannot get it to work.
any ideas?
2  Forum 2005-2010 (read only) / Exhibition / Re: Control Arduino with Universal Remote on: December 16, 2008, 07:03:37 pm
hi, i am very new to arduino and programming. i have attempted to replicate the code above but for some unknown reason i get this really weird error message:
"
In file included from C:\Documents and Settings\Adam\Desktop\arduino-0012\hardware\cores\arduino/WProgram.h:4,


c:/documents and settings/adam/desktop/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:80: error: expected unqualified-id before 'int'


c:/documents and settings/adam/desktop/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:80: error: expected `)' before 'int'


c:/documents and settings/adam/desktop/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:80: error: expected `)' before 'int'


c:/documents and settings/adam/desktop/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:111: error: expected unqualified-id before 'int'


c:/documents and settings/adam/desktop/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:111: error: expected `)' before 'int'


c:/documents and settings/adam/desktop/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:111: error: expected `)' before 'int'


c:/documents and settings/adam/desktop/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:144: error: expected identifier before '(' token


c:/documents and settings/adam/desktop/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:144: error: expected `)' before '(' token


c:/documents and settings/adam/desktop/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:144: error: expected ',' or '...' before '(' token


c:/documents and settings/adam/desktop/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:144: error: expected initializer before ')' token


c:/documents and settings/adam/desktop/arduino-0012/hardware/tools/avr/lib/gcc/../../avr/include/stdlib.h:176: error: '__compar_fn_t' has not been declared


In file included from C:\Documents and Settings\Adam\Desktop\arduino-0012\hardware\cores\arduino/WProgram.h:6,

"
and i dont know what is going on because it doesnt even mention anything to do with the NECIRrcv library.
any possible ideas on how to overcome this?
thanks
Pages: [1]