Forum Discussion
Altera_Forum
Honored Contributor
13 years agoundefined reference to 'main'
Hi Guys, I have only just started with the NIOS II and associated tools so I accept I could have done a million things wrong, but: I have tried creating a simple application that contains a U...
Altera_Forum
Honored Contributor
13 years agoHey DSL, thanks for the response.
Not sure what you mean by having a data cache for the UART? Is tis something I need to add-in on the UART config pages in Qsys? but some further information on my problem. I created a new NIOS system (without UART!) that just uses the PIO module. I opened the SBT under 'run as adminsistrator' as there has been some reports about 'make' generating errors when it dosent have admin rights in Windows 7. Which in itself is a bit rubbish because if you permanently set the SBT to use admin rights, Quartus crashes when trying to open it!), so it has to be run from start menu->all programs, then run as admin!!! so, i get into SBT, i create a bsp, i create an application and the same problem as before happens if i use 'create application and bsp from template' and select hello world template, it works! However if I select the blank project instead of hello world, and add a source file to this it does not work and I get the same errors. I am confused as hell! D