Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346857 - Building error in running C program
Summary: Building error in running C program
Status: RESOLVED WORKSFORME
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-build-inbox@eclipse.org CLA
QA Contact: Andrew Gvozdev CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-23 07:35 EDT by !ncredible CLA
Modified: 2011-05-23 09:41 EDT (History)
1 user (show)

See Also:


Attachments
it is a screenshot of the error (276.07 KB, image/jpeg)
2011-05-23 07:40 EDT, !ncredible CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.