Altera_Forum
Honored Contributor
16 years agohello_world.c can't find stdio.h
Hello,
I am learning how to use the Altera tools with a Cyclone III starter kit. I had been using Quartus II 9.0sp2 web edition, but yesterday I downloaded version 9.1 with the 30-day trial. I'm wondering if something is wrong with my installation. If I start a new Nios II project based on "hello_world", the first uncommented line is: # include <stdio.h> The IDE flags this line saying stdio.h is an unresolved inclusion, and warns "No include files were found that matched that name." I can compile and run the debugger in hardware, but the printf statement does not print to the console. I have been pouring through documentation looking for instructions on how to set up the Nios II compiler to find the standard C libraries, and I'm not having any luck. Can anyone help with this?