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

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5915
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: I need help real badly.
« Reply #30 on: April 20, 2011, 01:36:39 pm »
unfortunately, unlocker doesn't make it .   the unlocker says nothing locks the file but still  i cannot open or delete it .
too bad news.
So, you can create a new project, and copy the source file, and build the project again.
BTW: you need to post the "full" build log, not the simplified build log. see the wiki
2.14 Q: How do I troubleshoot an compiler problem?
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 beancox

  • Multiple posting newcomer
  • *
  • Posts: 28
Re: I need help real badly.
« Reply #31 on: April 20, 2011, 01:49:41 pm »
thanks , i will follow your methods to try again..

Offline beancox

  • Multiple posting newcomer
  • *
  • Posts: 28
Re: I need help real badly.
« Reply #32 on: April 20, 2011, 01:54:05 pm »
fail  again ...    over and over again.    here is the buildlog
-------------- Build: Debug in test123 ---------------

mingw32-g++.exe -LG:\MingW\mingw32\bin  -o bin\Debug\test123.exe obj\Debug\main.o   
f:/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: cannot open output file bin\Debug\test123.exe: Permission denied
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings
 

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: I need help real badly.
« Reply #33 on: April 20, 2011, 01:56:48 pm »
Look, if you cannot delete this file there is NO WAY the compiler / linker can do. If you find out how to delete it yourself (e.g. by correcting the file system's directory/file permissions) you are done.

You need to use / setup a folder with full write access to work in - and you don't need C::B for that.

And please don't ask here as this is definitely not a C::B issue, but an issue with the file access permissions.
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 #34 on: April 20, 2011, 02:30:43 pm »
I want some more details about how to use another compiler even I made some attempts . but after my settings are over,  and I click build and run ,  nothing gonna happen .

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: I need help real badly.
« Reply #35 on: April 20, 2011, 02:35:54 pm »
You have to install another compiler. C::B only ships with MinGW (or nothing).
It's up to you to find a supported compiler.
See the list in the settings, find a place to download the compiler you want and set it up.

But without fixing your problem, you will still not be able to do anything.
If you can not delete (or overwrite) the file manually, another compiler can't do it also.

But to fix this problem, you are in the wrong place.
Search the web for this error or find a forum that supports windows 7 problems.

Offline beancox

  • Multiple posting newcomer
  • *
  • Posts: 28
Re: I need help real badly.
« Reply #36 on: April 20, 2011, 02:56:37 pm »
thanks for your guys timely help.
 i'm gonna be with c:b till the last second . 

Offline beancox

  • Multiple posting newcomer
  • *
  • Posts: 28
Re: I need help real badly.
« Reply #37 on: April 21, 2011, 04:03:40 am »
I'm back.  I've rebooted my os and used some of the updates provided by MS.  It's OK till now . hope it will be like what it is now .

Offline ouch

  • Almost regular
  • **
  • Posts: 223
Re: I need help real badly.
« Reply #38 on: April 21, 2011, 11:44:05 pm »
I've seen Spybot S&D do this.

I've also seen Indexing services do this too.

Offline beancox

  • Multiple posting newcomer
  • *
  • Posts: 28
Re: I need help real badly.
« Reply #39 on: April 22, 2011, 03:18:16 am »
yep.   
Some anti-virus software say that c::b's cb_console_runner.exe is virus ,though it is not .
maybe some updates provided by MS are in the same way and forbid  cb_console_runner.exe to execute when changes i
in files(projects) take place.
As for indexing services , I have no idea about it .