Forum Discussion
Altera_Forum
Honored Contributor
18 years agoThere were actually 2 problems that had to be fixed. First, the cygwin1.dll file. You can get it from any cygwin installation. Second is that some of the scripts that are run by the NIOS IDE won't work (most likely because of the new cygwin1.dll but I'm not sure, maybe it was just my setup) because the scripts have DOS-style '\r\n\' line endings while the programs are expecting unix-style '\n' line endings. That can be fixed with the dos2unix tool.
The steps to get it working (as far as I can tell, I might have missed something) are:- Get the installer from (http://www.cygwin.com/setup.exe) and run it. I think the default choices should have everything you need.
- Assuming you installed cygwin to c:\cygwin, then you can find cygwin1.dll in c:\cygwin\bin. Make a copy of it and put the copy in C:\altera\72\quartus\bin\cygwin\bin. You may want to make a backup of the old one in case something goes wrong.
- Try building a project in the NIOS IDE now. I forget what error it gives, but if you get some other error (not the fork one, that one should be fixed by the new dll file).
- Open up a Cygwin Bash shell (A shortcut was created either on your desktop or your start menu or both in the cygwin install depending on what you chose) and type:
That should convert the line endings and fix the second problem.cd /cygdrive/c/altera/72/nios2eds/bin dos2unix *