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
14 years agoHi all,
I just had the same error whereas I work in C and not in C++ (enable_c_plus_plus option unchecked). The solution I found is to delete the /libhal_bsp.a file from the BSP and generate then clean -> build the project again and now it works. I've tried to regenerate the error without success. Maybe it can help some of you. Regards