Using HailoRT on Windows

I have been trying to setup the Hailo library on my windows machine so that I can compile code on it. I installed the hailort_4.20.0_windows_installer.msi and also Visual Studio 2022. When I create a new application in VS and simply include the hailort.hpp and define NOMINMAX the program throws a bunch of warnings on “needs to have dll-interface” and syntax errors in the library. I also tried cloning the library from the github and compiling with cmake but then I get alot of deprecation warnings and a configuration incomplete. Has anyone tried to compile code on windows using the Hailo SDK? Thanks