Could you post errors and/or screenshots of your linking. Also, rather than just trying all of the downloads, just find out which version of MinGW you have and find the correct download, they're easily matchable and otherwise even if we solve your linking errors it still won't work.