Forum Discussion
Altera_Forum
Honored Contributor
16 years agoProblem building a program with Nios II IDE : undefined reference to 'main'
Hi everyone. I'm a newbie at using Nios II IDE, and I'd like to run a C++ program I did on Cyclone II Development Board. For that, I created a "nios ii application with bsp template" with a .so...
Altera_Forum
Honored Contributor
9 years agoFigured our another way around this. When I was creating the project from BSP file in Nios II Eclipse, the project directory already existed (and contained 2 source files inside). Apparently if the wizard isn't the one creating the folder, it will give you that error. So I renamed the folder to 'sources', created the project 'pname' in folder 'pname' that was not there and it worked.