本人刚学nios不久,遇到一个问题,用NiosII IDE 编译任何一个工程(包括实例hello_led)都会报错如下: **** Build of configuration Debug for project hello_led_0 ****
make -s all Compiling crt0.S... make[1]: *** [crt0.o] Error 57 make: *** [system_project] Error 2 Build completed in 3.797 seconds 于是求助Altera的在线服务,回复如下: 1. You need to install the same version of QuartusII, MegaCore IP and NiosII IDE. 2. Please install all software with administrator privilege and place them in directories which do not have any non-english and blank characters. 3. Please note that you cannot have any other versions of Cygwin installed on your PC. 4. Run Quartus and SOPC builder once after installing NiosII, as SOPC builder sets up a few PATHs and updates some of the files needed by the NiosII IDE. Launching the SOPC builder within a standard reference design should ensure all the paths are setup, then relaunch the NiosII IDE.
感觉是软件冲突或安装路径的问题,于是重装系统和软件此时机子上只有Quartus II,SOPC,NiosII IDE,同一版本,默认安装路径(无非英字符),可问题仍未解决。。。 请教论坛高人,望指点迷津。 |