You should not have variable definitions (nor function implementations) in the .h file. Otherwise you'll encounter exactly these errors. The .h file should only contain variable extern declarations, function prototypes, class declarations, templates, etc. See My Post #5 in this Thread for a basic guide to breaking up large projects into separate .h / .cpp files.