Well all i can tell you is that look at your functions because i see that you are colling some functions but as i know in C++ when you build a function you build it at at the header files and then the main pary you do at .cpp hope this helps
for example this bool member(int e, int GameState[9]);
you save as member.h and then the main part you do it in member.cpp this will get rid of it the LINK ERROR OK and you will have to do all for the functions that you colled