Forum Discussion
Altera_Forum
Honored Contributor
13 years agoYou posted C (software) code. Quartus II compiles hardware code written in verilog, VHDL, schematics, etc... You should be using the Nios II gcc compiler for the code you pasted into this post.
I recommend going though this document, it should get you back on the right path: http://www.altera.com/literature/tt/tt_my_first_nios_sw.pdf