Sorry, Jersh - my suggestion about putting library files with program clearly caused more trouble!
Delete those files and have a look at my later post about the first line of the .h file. Some of your earlier error messages referred to a problem in line 1 of the .h file, and I have not seen that "(:source lang=c:)" line in a header file before.