Forum Discussion
Altera_Forum
Honored Contributor
12 years agoHi Daixiwen,
when I use echo $PATH, it is: Administrator@.... /cygdrive/c/altera/12.1 Then I changed it into the Path(you mentioned above) by using: $ export PATH=/cygdrive/c/altera/12.1/nios2eds/sdk2/bin But after compiling the program in Altera Monitor Program, the error is same as before: usr\bin\bash nios2-app-generate-makefile: command not found I checked the next command you suggested: $ nios2-app-generate-makefile and it gives: SEVERE: Missing required command line option: "--bsp-dir". SEVERE: nios2-app-generate-makefile failed when I restart my PC, it again set to default as follows: Administrator@.... /cygdrive/c/altera/12.1 and error is still same. What could be the solution then?