Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 346857

Summary: Building error in running C program
Product: [Tools] CDT Reporter: !ncredible <atul498>
Component: cdt-buildAssignee: cdt-build-inbox <cdt-build-inbox>
Status: RESOLVED WORKSFORME QA Contact: Andrew Gvozdev <angvoz.dev>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
it is a screenshot of the error none

Description !ncredible CLA 2011-05-23 07:35:38 EDT
Build Identifier: 20110218-0911

i have written a c program for the first time in Eclipse.
and it is giving me a error and i don't know how to remove it.
the error is as follows:

**** Build of configuration Debug for project Data_structure ****

**** Internal Builder is used for build               ****
gcc -oData_structure.exe sum.o
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot open output file Data_structure.exe: Permission denied
collect2: ld returned 1 exit status
Build error occurred, build is stopped
Time consumed: 314  ms.  


i had also run hello world program in the tuotrial and it works fine.

Reproducible: Didn't try
Comment 1 !ncredible CLA 2011-05-23 07:40:46 EDT
Created attachment 196321 [details]
it is a screenshot of the error
Comment 2 Andrew Gvozdev CLA 2011-05-23 09:41:34 EDT
You have some kind of permission issues, most likely you'd get the same error running your build from command line. It does not appear to be CDT bug.
If you need help how to use/setup CDT a good place to ask is Eclipse Community Forums http://www.eclipse.org/forums/ - Language IDEs - CDT.