I also had quite A LOT of errors when compiling the first time. However, after getting the cs-win32libs package.. and manually putting those libs dlls and header fiiles in the directory where CS was looking for them... I got things to compile and run, with help from users on this forum.
Did you download and run the cs-win32libs package? If not you definetly need to get that.