Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » permission error in eclipse(fail to compile the program)
permission error in eclipse [message #673434] Mon, 23 May 2011 16:18 Go to next message
!ncredible  is currently offline !ncredible Friend
Messages: 1
Registered: May 2011
Junior Member
i have installed eclipse in windows 7. it is the first time i am using eclipse to run the C program. so, it is quite difficult for me to learn how to run program in it.

so, first i installed "Mingw" from the internet and then eclipse.

when, i first ran the "hello world" tuotrial... it worked correctly.
but when i tried to run a C program to " sum to numbers" it is not working.

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.

i have reinstalled mingw,but still giving me the same error
  • Attachment: error.jpg
    (Size: 276.07KB, Downloaded 359 times)
Re: permission error in eclipse [message #673465 is a reply to message #673434] Mon, 23 May 2011 17:48 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
Please see the "sticky" topic at the top of this forum for information
about C/ and C++ problems in Eclipse.

Eric


On 5/23/11 12:18 PM, !ncredible wrote:
> i have installed eclipse in windows 7. it is the first time i am using
> eclipse to run the C program. so, it is quite difficult for me to learn
> how to run program in it.
>
> so, first i installed "Mingw" from the internet and then eclipse.
>
> when, i first ran the "hello world" tuotrial... it worked correctly.
> but when i tried to run a C program to " sum to numbers" it is not working.
>
> 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.
>
> i have reinstalled mingw,but still giving me the same error
> begin 644 error.jpg
>
Previous Topic:The selected wizard could not be started
Next Topic:.Jar file problems with a mac
Goto Forum:
  


Current Time: Fri Apr 26 11:01:50 GMT 2024

Powered by FUDForum. Page generated in 0.07755 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top