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
16 years agoThanks for your quick answer Jakobjones. I did renamed my file into "xxx.cpp" and it builds correctly.
I did thought that the ".cc" extension was supported because I saw it in the Project --> "Properties / C/C++ General / File Types" and it was associated with "C++ Source Files" ... I'll check if that issue is not already known, and eventually report it to Altera. Tthegarde