Mirror pc to Rpi

I am trying to mirror my pc to Rpi by following this guide: Windows desktop mirroring with 30fps, <1 sec latency & audio - Raspberry Pi Forums
However, when installing nginx I got the message “checking for C compiler … not found
./configure: error: C compiler cc is not found”
I read that might be because I am missing something called “GCC” so I did this:
sudo apt-get update
sudo apt-get install build-essential

It still didn’t work. Please advise. Thanks.

Thats the compiler

install build-essential to get the most common build utils