News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

I need help real badly.

Started by beancox, April 19, 2011, 12:20:02 PM

Previous topic - Next topic

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

beancox

I have googled it for quite a long time.
The solutions seem quite alike but they don't do mine.
I'm sorry to bother you for send PMs  ,but i just wanna solve the problem ASAP.

beancox

Though I changed the compiler the problem still exist .  what's wrong ...  any methods?
who's gonna help me out.

beancox

I have reboot my os.   windows-7 ultimate.
in despair , it remains unsettled .   
It took me a whole day to fix it ,,, but nothing paid off.
someone coming to save me ?

ollydbg

You recent posts does not supply any useful information about your bug/error.
so:
1, show us the steps by steps to produce the bug/error
2, show the full build log

Mostly, you bug/error I think is not related to C::B.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

MortenMacFly

Quoteld.exe: cannot open output file D:\Files\2-3-3-4.exe: Permission denied
Note: Usually the linker is always right. Did you try the most simple case: Can you create a file named 2-3-3-4.exe in D:\Files? And I really mean exactly that file name with that extension.

In addition: As you see: this is a linker error. So for the record: It cannot be an issue with C::B.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

beancox

I came to realize that it has nothing to do with c::b
and I don't wanna give up c::b ,so I'm trying some other compilers.  I cannot create or open the file     2-3-3-4.exe in D:\Files
as for full buildlog ,  i've posted at first . here comes the full build-log again. 
Compiling: D:\Files\2-3-2-2.c
Linking console executable: D:\Files\2-3-2-2.exe
f:/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: cannot open output file D:\Files\2-3-2-2.exe: Permission denied
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings

That's exactly full of the buildlog.

beancox

who can give me address of somewhat compilers other than mingw,    I search for a long time but in vain.

Jenna

If this error occurs, can you delete the exe-file manually ?
If not the exe is still running.

You can also try to compile a project below your user-folder on drive c: .

beancox

No, i cannot delete the exe.
It's the last hope
i will try it in project no longer in files alone.

Jenna

Quote from: beancox on April 20, 2011, 10:23:41 AM
No, i cannot delete the exe.
It's the last hope
i will try it in project no longer in files alone.

If you can not delete the exe, it usually means it's still running.

beancox

but  there isn't any processes running in task manager.   how can i make further step.

ironhead

The file is locked, you can try unlocker to unlock it.

beancox

thanks .  I will try it . 

beancox

unfortunately, unlocker doesn't make it .   the unlocker says nothing locks the file but still  i cannot open or delete it .