Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12690 Discussions

Build Application ends with /bin/bash: make: command not found

SeanAB
New Contributor I
1,350 Views

Host system: Windows 10 19044

Quartus Prime Lite 21.1

I have gone through the hopos to install WSL, Ubuntu 18.0.4 LTS, and install all the build tools in the Ubuntu terminal.

I have to open NIOS II Command Shell to open Eclipse. I am able to create a project (Nios II Applicaiton and BSP from Template). I created the Hello World small. When I go to build the application, I get the following:

 

20:24:43 **** Build of configuration Nios II for project simpleapp2_bsp ****
wsl make all
/bin/bash: make: command not found

20:24:43 Build Finished (took 102ms)

 

make is in the /bin folder. How do I fix to get the application to build?

0 Kudos
1 Solution
SeanAB
New Contributor I
1,293 Views

Another post in the community had the missing step: failed to execute: wsl dos2unix create-this-app - Intel Communities

 

Need to add a system environment variable for NIOS Eclipse to run properly:

 

Variable Name: WSLENV

Variable Value: SOPC_KIT_NIOS2/p

View solution in original post

0 Kudos
6 Replies
ak6dn
Valued Contributor III
1,335 Views

On the command line. type   which make   and what does it return?

On my WSL it prints    /usr/bin/make

0 Kudos
SeanAB
New Contributor I
1,322 Views

I get the same result. /usr/bin/make

0 Kudos
SeanAB
New Contributor I
1,294 Views

Another post in the community had the missing step: failed to execute: wsl dos2unix create-this-app - Intel Communities

 

Need to add a system environment variable for NIOS Eclipse to run properly:

 

Variable Name: WSLENV

Variable Value: SOPC_KIT_NIOS2/p

0 Kudos
hareesh
Employee
1,255 Views

hi SeanAB,


please follow the bellow steps and try to build again.

a. sudo apt update

  b. sudo apt install wsl

  c. sudo apt install dos2unix

  d. sudo apt install make 

  e. sudo apt install build-essential


thanks,


0 Kudos
SeanAB
New Contributor I
1,244 Views

Already solved. Missing environment variable.

0 Kudos
hareesh
Employee
1,238 Views

ok. so i am closing the case.

0 Kudos
Reply