Check it out that Cmake version Check it out that your environment has "cmake 3.2 or newer" if not on that condition, you should install cmake more info https://github.com/Yo-mah-Ya/Ubuntu20.04_on_WSL2 build and install Xerces . setup.sh build your program . build.sh