Setup MAVLink on C

Hello, I’m trying to set up C headers for Mavlink. I’ve tried to install the version they have on the website, but nothing works. I have no idea what to do as everything I do gets an error. Any help would be appreciated.