Forum Discussion
Altera_Forum
Honored Contributor
16 years agoNios errors in template build
Hi,
I'm a student who is new to Nios and I've have been trying to create a basic C/C++ application. I have created a new project using the hello_world template but I receive some errors when I try to build the project. I have searched all over the web for a solution but cannot find anything. In the console it says: **** Build of configuration Debug for project hello_world_0 **** make -s all Compiling crt0.S... make[1]: *** [crt0.o] Error 57 make: *** [system_project] Error 2 Build completed in 5.032 seconds Does anyone know what these errors mean? Any help would be vastly appreciated.8 Replies
- Altera_Forum
Honored Contributor
Hi,
I'm not sure what kind of error it's, but all the problems that I have had with Nios was concerning forder names. Your route to the work forder must not contain spaces, and the project name also. Try to see in "Problems" window (down, just left "Console" window). You will see a more detailed error explanation. Regards, Isaac Campos - Altera_Forum
Honored Contributor
--- Quote Start --- Hi, I'm not sure what kind of error it's, but all the problems that I have had with Nios was concerning forder names. Your route to the work forder must not contain spaces, and the project name also. Try to see in "Problems" window (down, just left "Console" window). You will see a more detailed error explanation. Regards, Isaac Campos --- Quote End --- Thanks for your reply. It doesn't seem to be a problem with spaces in folder names as I have been making sure I don't use any spaces in any paths I'm using (as practically everyone I know had warned me of those problems when I began). I took a look in the "Problems" window as you suggested. It has the two errors listed as follows: make: *** [crt0.o] Error 57 hello_world_0_syslib line 0 make: *** [system_project] Error 2 hello_world_0 line 0 Could it be a GNU problem? Is there any other development software that clash with Nios? - Altera_Forum
Honored Contributor
Perhaps Try to clean project and rebuild.
- Altera_Forum
Honored Contributor
--- Quote Start --- Perhaps Try to clean project and rebuild. --- Quote End --- I've tried cleaning the project countless times but i doesn't make any difference. - Altera_Forum
Honored Contributor
Does anyone know how or where I can contact Altera by email etc.? I really need this problem fixed as it is severely hampering my postgraduate work.
- Altera_Forum
Honored Contributor
You can contact Altera by support request :
go to www.altera.com, menu support>My support.... They are quite fast to answer. - Altera_Forum
Honored Contributor
Thanks. I contacted them and they said that my error was to do having multiple cygwin1.dll files on my computer. All you have to do is rename the ones not in the altera folder and you are fine. Thanks for helping lads.:)
- Altera_Forum
Honored Contributor
many thanks. Who would know it's because of this.