Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

hello_world.c can't find stdio.h

Altera_Forum
Honored Contributor II
1,203 Views

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?
0 Kudos
0 Replies
Reply