Wio Lite RISC-V with DHT-22 sensor

I am attempting to get sensor data from a DHT22 temperature and humidity sensor on my WIO Lite Risc-V board but I cannot get any of the available libraries to work. Does anyone have a working example for a library that just gets and prints the temperature and humidity that I can build off of?

Can you provide a link to the library you use? How does it work? Is there a compilation problem?