Altera_Forum
Honored Contributor
14 years agoTrouble building project with Cygwin
Hello,
I am trying to automate my build process, so I installed Cygwin to build my NIOS-II software projects. I am able to build my project with the NIOS II software build tools for Eclipse GUI, but I run into a problem when build from the command line. I believe I have added the proper directories to my search path, but when I make, I still get a command not found error. I have included the error message below. Any help with solving this will be very much appreciated. Thanks, Nsatyana $ make Info: Building ../hello_0_bsp/ C:/altera/11.0/nios2eds/bin/gnu/H-i686-mingw32/bin/make --no-print-directory -C ../hello_0_bsp/ [BSP build complete] Info: Linking hello_0.elf nios2-elf-g++ -T'../hello_0_bsp//linker.x' -msys-crt0='../hello_0_bsp//obj/HAL/ src/crt0.o' -msys-lib=hal_bsp -L../hello_0_bsp/ -Wl,-Map=hello_0.map -O0 -g -Wall -EL -mno-hw-div -mhw-mul -mno-hw-mulx -o hello_0.elf obj/hello_world.o -lm nios2-elf-insert hello_0.elf --thread_model hal --cpu_name cpu --simulation_enab led false --id 0 --sidp 0x10022c90 --timestamp 1319134118 --stderr_dev jtag_uart --stdin_dev jtag_uart --stdout_dev jtag_uart --sopc_system_name cycloneIII_3c12 0_dev_niosII_standard_sopc --quartus_project_dir "c:/altera/11.0/kits/CycloneIII _3C120_FPGA/examples/NS_cycloneIII_3c120_dev_niosII_standard" --jdi C:/altera/11 .0/kits/CycloneIII_3C120_FPGA/examples/NS_cycloneIII_3c120_dev_niosII_standard/c ycloneIII_3c120_dev_niosII_standard.jdi C:\altera\11.0\nios2eds\bin\nios2-stackreport: line 6: /cygdrive/c/altera/11.0/n /sh_pl.sh: No such file or directory C:\altera\11.0\nios2eds\bin\nios2-stackreport: line 7: $'\r': command not found make: *** [hello_0.elf] Error 127 make: *** Deleting file `hello_0.elf'