我刚用nios2,想做个小系统,但用ide时,用他自带的例程编译时出现以下错误:
Severity Description Resource In Folder Location Creation Time 2 *** [obj/alt_busy_sleep.o] Error 1 hello_led_0 September 25, 2006 12:16:10 AM 2 *** [system_project] Error 2 hello_led_0 September 25, 2006 12:16:10 AM 2 error: parse error before '/' token[/cygdrive/c/altera/kits/nios2/components/altera_nios2/HAL/src/alt_busy_sleep.c] hello_led_0 line 69 September 25, 2006 12:16:10 AM 2 error: parse error before '/' token[/cygdrive/c/altera/kits/nios2/components/altera_nios2/HAL/src/alt_busy_sleep.c] hello_led_0 line 89 September 25, 2006 12:16:10 AM 2 error: parse error before '/' token[/cygdrive/c/altera/kits/nios2/components/altera_nios2/HAL/src/alt_busy_sleep.c] hello_led_0 line 106 September 25, 2006 12:16:10 AM 2 error: parse error before ')' token[/cygdrive/c/altera/kits/nios2/components/altera_nios2/HAL/src/alt_busy_sleep.c] hello_led_0 line 106 September 25, 2006 12:16:10 AM 2 error: parse error before '/' token[/cygdrive/c/altera/kits/nios2/components/altera_nios2/HAL/src/alt_busy_sleep.c] hello_led_0 line 123 September 25, 2006 12:16:10 AM 2 error: parse error before ')' token[/cygdrive/c/altera/kits/nios2/components/altera_nios2/HAL/src/alt_busy_sleep.c] hello_led_0 line 123 September 25, 2006 12:16:10 AM 2 *** [obj/alt_busy_sleep.o] Error 1 hello_led_0_syslib September 25, 2006 12:16:03 AM 2 error: parse error before '/' token[/cygdrive/c/altera/kits/nios2/components/altera_nios2/HAL/src/alt_busy_sleep.c] hello_led_0_syslib line 69 September 25, 2006 12:16:03 AM 2 error: parse error before '/' token[/cygdrive/c/altera/kits/nios2/components/altera_nios2/HAL/src/alt_busy_sleep.c] hello_led_0_syslib line 89 September 25, 2006 12:16:03 AM 2 error: parse error before '/' token[/cygdrive/c/altera/kits/nios2/components/altera_nios2/HAL/src/alt_busy_sleep.c] hello_led_0_syslib line 106 September 25, 2006 12:16:03 AM 2 error: parse error before ')' token[/cygdrive/c/altera/kits/nios2/components/altera_nios2/HAL/src/alt_busy_sleep.c] hello_led_0_syslib line 106 September 25, 2006 12:16:03 AM 2 error: parse error before '/' token[/cygdrive/c/altera/kits/nios2/components/altera_nios2/HAL/src/alt_busy_sleep.c] hello_led_0_syslib line 123 September 25, 2006 12:16:03 AM 2 error: parse error before ')' token[/cygdrive/c/altera/kits/nios2/components/altera_nios2/HAL/src/alt_busy_sleep.c] hello_led_0_syslib line 123 September 25, 2006 12:16:03 AM 1 Error launching external scanner info generator (make -s -C Debug listincludedirs) hello_led_0 September 25, 2006 12:35:40 AM 1 Error launching external scanner info generator (make -s -C Debug listincludedirs) hello_led_0_syslib September 25, 2006 12:35:40 AM
请问这是设置的问题吗?
还有各位大虾能不能给小弟介绍一下相关的参考资料,我的邮箱wanghaifeng_0413@163.com
谢谢了! |