I downloaded CodeBlocks and tried to open a simple test project and compiling it.
But nothing compiles, not even a single example:
- A lot of compiler errors which I could eliminate by setting -fpermissive. But why? Why no problems on Arduino IDE??
- A lot of cannot open/find/missing header file
I tried to add files to the project, but that only results in more compiler errors in the Arduino files (like malloc.c). Some of the header files still can't be found, although I added the complete Arduino libraries folder (recursively) to the project...
So I'm doing something wrong, but can't find any manual to setup codeblocks for the Arduino environment and get a WORKING environment that does compile existing sketches and libraries, just as the Arduino IDE...
Update @8 July:I downloaded Stanleys ArduinoOBD / obdlogger, and was able to compile that project using Code::Blocks, so at least I know that the intallation of Code::Blocks is ok!
Now if I can find why this project compiles fine, and mine not, I guess I found the problem

I really like Code::Blocks features, so must find a way to compile my own sketches and libraries!