The parallel algorithm file of c++17 needs to be calculated by NVHPC. There is no problem compiling with ubuntu in vmware, but there is a problem compiling files in ubuntu in wsl2.
“features.h” is a system header file that should be located under “/usr/include”. If you’re missing it, you likely don’t have the libc development package installed. Try installing the following:
sudo apt-get install build-essential