Forum Discussion
As discussed in the email:
The main issue is that Nios II currently does not support WSL2, as mentioned here.
Therefore, you need to install WSL 1 and use this version.
To do that use the following steps.
• Open the start menu and type Turn Windows features on or off
• In the window that appears, click on Windows Subsystem for Linux and, when prompted, restart your PC.
• Open a command prompt as administrator and type wsl --list –verbose. You should get something like the following:
PS C:\Users\gxxxxxs> wsl --list --verbose
NAME STATE VERSION
* Ubuntu Stopped 1
If the version is 2, then continue to the next step. Otherwise, you can skip the next step.
• If the version is 2, type wsl --set-version Ubuntu 1 where “Ubuntu” is the name of the distribution from the previous step. You should get something like this:
PS C:\Users\gxxxxxs> wsl --set-version Ubuntu 1
Conversion in progress, this may take a few minutes.
The operation completed successfully.
Now, if you type wsl --list –verbose again, you should have “1” under the “VERSION” column.
• Type wsl -u root to enter the Ubuntu terminal and issue the following commands:
o apt update
o apt install wsl dos2unix make build-essential
Wait until the installation finishes.
After that, open Quartus and try generating the IP again.
For Linux, make sure that the 32-bit libraries are enabled and the build-essential package has been installed
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install build-essential
Make sure the following packages are installed:
• g++
• gcc
• make
• libc6-dev
• dpkg-dev