1. compiler can't find card.h file. If it is in a different directory from swpcards.cpp you will need to either put a path to it in your #include or in your compiler's include path
2. card is in a namespace that you have not qualified in swpcards.cpp
3. card is not declared properly in card.h - can you post your card.h file?