To compile Cog, you must first compile all of the projects in the Libraries and Preferences folders with the Release build configuration. To make this easier, I have created a bash script named build_dependencies.sh in the main folder. Just run that in a terminal, and when it is finished, all the dependencies should be built. If you have any problems, email me at vspader@users.sourceforge.net