Hello im facing a difficult issue here.
Im trying to compile a code for an rfid (MFRC522) reader in visual studio and run it on my raspberry pi 3 which i have ssh into using visualGDB extension for visual studio 2017 under linux. I was able to wire the card and test out the code on the terminal but when i copy the code over to visual studio and try to compile and run it just as i did on the rpi it fails with a bunch of errors. I tried to link the libraries but that still didn't solve the issue. The ultimate goal is to compile the code on the ide and send it to the rpi to execute . When i ran the execution on the terminal i got no error and was able to scan and retrieve the card info.
heres the code inside the MFRC522.cpp . I included the first two hearders but still gives errors. Someone plz help guide me .