Forum Discussion

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

Copied Project not compiling

So, I copied a colleagues NIOS II project to do some work with a simple timer interrupt. We have a pretty simple system. It's working in his machine just fine, but when I try to compile a hello_world on my machine, the compiler seems to chug through about 20 c files and when it gets to the interrupt file it chokes. I get this:

/cygdrive/c/altera/91/nios2eds/components/altera_hal/HAL/src/alt_irq_register.c:44:33: priv/alt_legacy_irq.h: No such file or directory

/cygdrive/c/altera/91/nios2eds/components/altera_hal/HAL/src/alt_irq_register.c:77: error: syntax error before "alt_isr_func"

I've been running around in circles trying to figure out what is going on, but I'm at a loss. I'm still pretty new to the tool, but I have been able to run some custom things on a custom design downloaded to the development kit -- so, I know it works at some level, I just don't know what's going on with my current problem.

Thanks in advance for any help,

Mike

1 Reply