Hello Stanley i follow the steps you say on this article
http://arduinodev.com/guide-to-arduino-development-environment-codeblocks/
And i'm getting those errors when compiling the blink demo code.
Could you help me solve this?
I'm a regular user of the windows platform and i want to use it in linux as well.
If you can help please give me a clue about what to do to solve this.
Best regards,
||=== Build: Simulator - Debug in new_cb_arduino_test (compiler: GNU GCC Compiler) ===|
/home/vcancio/.codeblocks/ardusim/include/util/delay.h|90|warning: #warning "Compiler optimizations disabled; functions from <util/delay.h> won't work as designed" [-Wcpp]|
/usr/include/x86_64-linux-gnu/sys/types.h|197|error: conflicting declaration ‘typedef long int int64_t’|
/home/vcancio/.codeblocks/ardusim/arduino/cores/stdint.h|33|error: ‘int64_t’ has a previous declaration as ‘typedef long long int int64_t’|
/usr/include/unistd.h|267|error: conflicting declaration ‘typedef __intptr_t intptr_t’|
/home/vcancio/.codeblocks/ardusim/arduino/cores/stdint.h|66|error: ‘intptr_t’ has a previous declaration as ‘typedef int intptr_t’|
/home/vcancio/.codeblocks/ardusim/arduino/cores/stdint.h|33|error: conflicting declaration ‘typedef long long int int64_t’|
/usr/include/x86_64-linux-gnu/sys/types.h|197|error: ‘int64_t’ has a previous declaration as ‘typedef long int int64_t’|
/usr/include/unistd.h|267|error: conflicting declaration ‘typedef __intptr_t intptr_t’|
/home/vcancio/.codeblocks/ardusim/arduino/cores/stdint.h|66|error: ‘intptr_t’ has a previous declaration as ‘typedef int intptr_t’|
/home/vcancio/.codeblocks/ardusim/include/avr/interrupt.h|152|warning: ‘signal’ attribute directive ignored [-Wattributes]|
/home/vcancio/.codeblocks/ardusim/arduino/cores/HardwareSerial.cpp|100|note: in expansion of macro ‘SIGNAL’|
/home/vcancio/.codeblocks/ardusim/include/avr/interrupt.h|125|warning: ‘signal’ attribute directive ignored [-Wattributes]|
/home/vcancio/.codeblocks/ardusim/arduino/cores/HardwareSerial.cpp|192|note: in expansion of macro ‘ISR’|
||=== Build failed: 8 error(s), 3 warning(s) (0 minute(s), 3 second(s)) ===|
Victor Cancio.