Try giving a few more details about the problem: You can provide your program's code, and also the contents of your "Build Log".
Go to Settings -> Compiler and Debugger -> Other Settings (it's a tab to the right) , and you'll see an option entitled "Compiler Logging". Set that to "Full command line".
Then try building your program. After the building (whether it failed or not), go to your "Build Log" tab (bottom of the main window, positioned under your code). Right-click on the tab and choose "copy contents to clipboard". Then paste it in this post, so others can see it and provide assistance.
Okaya