Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16650 Discussions

incorrect path to shell??

Altera_Forum
Honored Contributor II
1,272 Views

Hello, I am new to the Altera environment. 

I have the Terasic DE1 development board and have been trying to  

build and download to it for some time. I have yet to be able to build both a fpga image (with NIOS) and a NIOS application. 

My current problem is with SOPC builder. It fails. 

I should note that I have just recently upgraded to 9.0 web tools. 

I am running on Windows Vista. 

Here is the error output that I am getting when trying to generate. 

 

Info: Wrote C:/altera/90/nios2eds/examples/verilog/DE1_NIOS/low_cost/system_0.sopcinfo 

Info: system_0: Wrote C:\altera\90\nios2eds\examples\verilog\DE1_NIOS\low_cost/system_0.html 

Info: system_0: Generating QIP file. 

Info: Info: ******************************************************************* 

Info: Info: Running Quartus II Shell 

Info: Version 9.0 Build 132 02/25/2009 SJ Web Edition 

 

Info: Info: Processing started: Sat Mar 21 12:20:41 2009 

Info: Info: Command: quartus_sh -t sopc_add_qip_file.tcl 

Info: Info: Evaluation of Tcl script sopc_add_qip_file.tcl was successful 

Info: Info: Quartus II Shell was successful. 0 errors, 0 warnings 

Info: Info: Peak virtual memory: 82 megabytes 

Info: Info: Processing ended: Sat Mar 21 12:20:42 2009 

Info: Info: Elapsed time: 00:00:01 

Info: Info: Total CPU time (on all processors): 00:00:01 

Info: Starting PTF file elaboration. 

/cygdrive/c/altera/90/quartus/bin/cygwin/bin/sh: C:/altera/90/quartus/sopc_builder/bin/sopc_builder: /bin/sh: bad interpreter: No such file or directory 

Error: Failed to refresh PTF file 

Info: Finished elaborating PTF file. 

Executing: C:/altera/90/quartus//sopc_builder/bin/sopc_builder --classic --generate C:/altera/90/nios2eds/examples/verilog/DE1_NIOS/low_cost/system_0.ptf 

Info: Starting generation... 

/cygdrive/c/altera/90/quartus/bin/cygwin/bin/sh: C:/altera/90/quartus/sopc_builder/bin/sopc_builder: /bin/sh: bad interpreter: No such file or directory 

Error: System generation failed. 

 

 

It looks to me that the shell environment variable is set to "/bin/sh". I beleive this to be incorrect. There is no sh at that location. Shouldn't it be set to "/cygdrive/c/altera/90/quartus/bin/cygwin/bin/sh"? If so how do I set it? 

 

I will appreciate any help provided.
0 Kudos
0 Replies
Reply