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++
公告
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.

Copied Project not compiling

Altera_Forum
名誉分销商 II
1,051 次查看

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
0 项奖励
1 回复
Altera_Forum
名誉分销商 II
355 次查看

Nevermind. I had to rebuild the BSP...

0 项奖励
回复