Forum Discussion

SeanAB's avatar
SeanAB
Icon for Occasional Contributor rankOccasional Contributor
3 years ago
Solved

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

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?

6 Replies

  • ak6dn's avatar
    ak6dn
    Icon for Regular Contributor rankRegular Contributor

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

    On my WSL it prints /usr/bin/make

    • SeanAB's avatar
      SeanAB
      Icon for Occasional Contributor rankOccasional Contributor

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

  • hareesh's avatar
    hareesh
    Icon for Frequent Contributor rankFrequent Contributor

    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,


  • SeanAB's avatar
    SeanAB
    Icon for Occasional Contributor rankOccasional Contributor

    Already solved. Missing environment variable.