Author Topic: I need help real badly.  (Read 21104 times)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: I need help real badly.
« Reply #15 on: April 20, 2011, 01:49:42 am »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline beancox

  • Multiple posting newcomer
  • *
  • Posts: 28
Re: I need help real badly.
« Reply #16 on: April 20, 2011, 02:00:35 am »
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.

Offline beancox

  • Multiple posting newcomer
  • *
  • Posts: 28
Re: I need help real badly.
« Reply #17 on: April 20, 2011, 02:34:03 am »
Though I changed the compiler the problem still exist .  what's wrong ...  any methods?
who's gonna help me out.

Offline beancox

  • Multiple posting newcomer
  • *
  • Posts: 28
Re: I need help real badly.
« Reply #18 on: April 20, 2011, 07:13:12 am »
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 ?

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: I need help real badly.
« Reply #19 on: April 20, 2011, 07:47:12 am »
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.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: I need help real badly.
« Reply #20 on: April 20, 2011, 08:10:34 am »
Quote
ld.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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline beancox

  • Multiple posting newcomer
  • *
  • Posts: 28
Re: I need help real badly.
« Reply #21 on: April 20, 2011, 08:35:16 am »
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.
 

Offline beancox

  • Multiple posting newcomer
  • *
  • Posts: 28
Re: I need help real badly.
« Reply #22 on: April 20, 2011, 09:50:27 am »
who can give me address of somewhat compilers other than mingw,    I search for a long time but in vain.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: I need help real badly.
« Reply #23 on: April 20, 2011, 10:06:03 am »
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: .

Offline beancox

  • Multiple posting newcomer
  • *
  • Posts: 28
Re: I need help real badly.
« Reply #24 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.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: I need help real badly.
« Reply #25 on: April 20, 2011, 10:50:52 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.

Offline beancox

  • Multiple posting newcomer
  • *
  • Posts: 28
Re: I need help real badly.
« Reply #26 on: April 20, 2011, 10:55:03 am »
but  there isn't any processes running in task manager.   how can i make further step.

Offline ironhead

  • Almost regular
  • **
  • Posts: 210
Re: I need help real badly.
« Reply #27 on: April 20, 2011, 12:46:17 pm »
The file is locked, you can try unlocker to unlock it.

Offline beancox

  • Multiple posting newcomer
  • *
  • Posts: 28
Re: I need help real badly.
« Reply #28 on: April 20, 2011, 12:51:35 pm »
thanks .  I will try it . 

Offline beancox

  • Multiple posting newcomer
  • *
  • Posts: 28
Re: I need help real badly.
« Reply #29 on: April 20, 2011, 01:21:32 pm »
unfortunately, unlocker doesn't make it .   the unlocker says nothing locks the file but still  i cannot open or delete it .