Im trying to build some of my plugins for Linux using Cygwin (keep screwing up Linux virtual machines so I decided to try setting up Cygwin since I wouldn't have to move all my SDKs and what not). Everything seemed okay except I got the error "gcc: error trying to exec 'cc1plus': No such file or directory" so I installed g++4.3 on top of gcc 4.3. Once I did that I am getting tons of errors now. The main ones that are being spammed are...
error: Template with C Linkage error: Template with specialization with C Linkage
These are being spammed on files from the SDK that thousands of other people use to compile, so I know it isn't a 'dangling c extern' but I am assuming I am missing a package or something. In Ubuntu, installing build-essential fixes any of these problems, but I am at a loss with Cygwin. Any help would be much appreciated.
Edit
Here is an ampaste of the exact errors it is spewing http://www.ampaste.net/m3d0a864f
The first one from Sourcehook.h is because linux is apparently not defined in Cygwin, but the rest from the 'hl2sdk' have me at a loss.