So I am able to figure out where the issue lies, but not sure how to fix.
The issue is with CUDA, I tried again and compiling is fine when I set Use_CUDA to FALSE, but when I install CUDA it spits out that ninja error above how should I go about fixing this?
which CUDA do I point it to the anaconda CUDA toolkit or the one I installed with pacman -S cuda? I will try everything I can for now I feel I am getting closer