Hi
This is my first message on the forum, so let me present myself a little.
I'm programming in more language but I'm not a programmer. Programming and be a programmer are different in my mind
I'm new to CB and just little bit used to AVR.
Few days ago I revived an old project (some years) based on AVR uC. The original program was not wrote by me, and was developed on AVRstudio (so windows machine). I'm using Linux and I don't like to move my habit just to follow the easiest way.
I decided to chose CB as IDE and I installed the tool chain for AVR too.
I moved the old sources to a new project and I tried to build it. At the beginning I have had some errors because a missing standard library (inttypes.h). That make me thinking tool chain package was not totally right.
Now I have still one error (really 12 but are all the same type) but library looks be correctly installed (stdio.h).
OS Lubuntu 14.04
CB version 13.12
AVR tool chain 1.8.0
The build messsage is
||=== Build: Debug in sempy (compiler: GNU GCC Compiler for AVR) ===|
/home/mauro/cb-projects/sempy/CostaPra.c|41|riferimento non definito a "stdout"|
/home/mauro/cb-projects/sempy/CostaPra.c|41|riferimento non definito a "stdout"|
/home/mauro/cb-projects/sempy/CostaPra.c|41|riferimento non definito a "stdout"|
/home/mauro/cb-projects/sempy/CostaPra.c|41|riferimento non definito a "stdout"|
/home/mauro/cb-projects/sempy/CostaPra.c|41|riferimento non definito a "stdin"|
/home/mauro/cb-projects/sempy/CostaPra.c|41|riferimento non definito a "stdin"|
/home/mauro/cb-projects/sempy/CostaPra.c|220|riferimento non definito a "__isoc99_sscanf"|
/home/mauro/cb-projects/sempy/CostaPra.c|233|riferimento non definito a "__isoc99_sscanf"|
/home/mauro/cb-projects/sempy/CostaPra.c|238|riferimento non definito a "__isoc99_sscanf"|
/home/mauro/cb-projects/sempy/CostaPra.c|243|riferimento non definito a "__isoc99_sscanf"|
/home/mauro/cb-projects/sempy/CostaPra.c|248|riferimento non definito a "__isoc99_sscanf"|
obj/Debug/CostaPra.o:/home/mauro/cb-projects/sempy/CostaPra.c|253|seguono ulteriori riferimenti non definiti a "__isoc99_sscanf"|
||=== Build failed: 12 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
And the line for first error is
stdin = stdout = fdevopen(my_put, my_get);
I suppose that error is in the general set up of CB, but I don't have idea of how it need to be corrected.
In the project build option in the linker setting there is nothing, but other standard lib looks working and that let me confused.
Also compiling the single file don't return any error, so I more confused.
MM