To compile Cog, you must first compile all of the projects in the Libraries folder with the Deployment build configuration.
If you have any problems, email me at vspader@users.sf.net