It's obvious you didn't add Person.cpp
to the compilation command. then it can not pass the linkage level.
Add -o Person Person.cpp
to the build option after g++ -Wall -c "%e" "%f"
.
After all the compile command should be something like below:
g++ -Wall -o "main" "main.cpp" -o Person Person.cpp