Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

Problem building Hello world

Hi all,

I am running the instructions of "Getting Started User Guide" of the NiosII Development Kit 5.1 (Cyclone version).

The release notes mentioned that NiosII processor tools require QuartusII 5.1 or higher. So we have installed QuartusII version is 6.0 too.

During building of the 'Hello World' application I got the following error:

Compiling altera_avalon_jtag_uart.c...

/cygdrive/d/altera5/quartus60/sopc_builder/components/altera_avalon_jtag_uart/HAL/src/altera_avalon_jtag_uart.c:47:32: sys/alt_log_printf.h: No such file or directory

/cygdrive/d/altera5/quartus60/sopc_builder/components/altera_avalon_jtag_uart/HAL/src/altera_avalon_jtag_uart.c: In function `alt_avalon_jtag_uart_irq':

/cygdrive/d/altera5/quartus60/sopc_builder/components/altera_avalon_jtag_uart/HAL/src/altera_avalon_jtag_uart.c:249: warning: implicit declaration of function `ALT_LOG_JTAG_UART_ISR_FUNCTION'

/ .......

..

I have looked for the missing file (alt_log_printf.h) in d:\altera5 (and its subdirectories) at my computer. I can't find the file neither.

Any one helps ???

Regards,

Kwok Wong

The problem gets fixed by:

1. Uninstall QuartusII-6.0

2. Uninstall NisoII-5.1

3. Install QuartusII-5.1

4. Re-install NiosII-5.1

It seems that there is (always?) a dependency between the versions of QuartusII and NiosII (at least with the executed example).

Can someone from Altera confirm this ???

Regards,

Kwok Wong
No RepliesBe the first to reply