Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21584 Discussions

HELP!! NIOS II Eclipse error during building project

Altera_Forum
Honored Contributor II
8,062 Views

Hello, 

We've downloaded a NIOS II Eclipse whole project file from the internet and it worked. Then we modified its .sopc file in Quartus II SOPC builder (just added several PIOs to the NIOS system) and replaced the original .sopc file in the project file. When we build the project again in Eclispe, the following error occurs: 

 

make:***[../NiosSystem_bsp-recurs-make-lib] Error2 

make:***[public.mk] Error 1 

 

Software we used: Quartus II 9.1, NIOS II 9.1 software build tools for eclipse 

 

What's the possible problem and how to solve it? 

Thanks!:-P
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
5,396 Views

Try cleaning your project, then rebuilt all. 

 

Ben
0 Kudos
Altera_Forum
Honored Contributor II
5,396 Views

Thank you, 

I've tried this way, but still find these 2 errors. 

 

I ONLY replaced the .sopc file by a new one, and this causes the build project failure.
0 Kudos
Altera_Forum
Honored Contributor II
5,396 Views

Hey, 

 

Did you find a solution to your problem? I'm having the exact same error messages and can't find out what caused them... 

 

Cheers, 

Marek
0 Kudos
Altera_Forum
Honored Contributor II
5,396 Views

This solved the problem for me:  

--- Quote Start ---  

Regenerate the BSP to update the Makefile, and then build again. To regenerate from Eclipse: 1. Right-click the BSP project. 2. In the Nios II Menu, click Generate BSP. 

--- Quote End ---  

Reply