News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Used CodeBlocks for months before weird errors started appearing.

Started by jjpdn, January 31, 2013, 03:42:31 AM

Previous topic - Next topic

jjpdn

I used CodeBlocks for a really long time actually and just suddenly, errors started appearing >:(!
First, my breakpoints stop working! ???
Then, I moved to Eclipse for a day. Got errors on that. :'(
So, I came back to codeblocks AND NOW IT ****ING SAYS THIS!
The procedure entry point__gxx+personality_v0 could not be located in the dynamic link library libstdc++-6.dll
What the heck does it mean and how do I fix it?
Oh, and I rebuilded one of my old working projects and I GOT 61 ERRORS AND 12 WARNING!

jarod42

It seems that you change compiler version...

And you didn't provide any version, C::B, gcc, OS...

jjpdn

Code Blocks Version: 12.11
Mingw version: uh... how do you check that?
And what OS?

BlueHazzard


jjpdn

 :-[ Oooooooh. Operating system (I hate acronyms).
Well, I'm on a Windows  7 and that command thing does not work.

BlueHazzard

I think you messed up the compiler...
Did you installed C::B with mingw or did you installed mingw independently?
When did the errors started? After installing eclipse?
Is there a C:\MinGW folder on your system? -> run "mingw32-gcc.exe --version" in C:\MinGW\bin

Quote from: jjpdn on January 31, 2013, 03:42:31 AM
Oh, and I rebuilded one of my old working projects and I GOT 61 ERRORS AND 12 WARNING!
can you post some of the errors?

jjpdn

Hey guys, I was able to get somebody to fix it (by changing compilers) (Well technically, I just got 491 more warnings but... yeah).
But I still want to use Mingw!
And there isn't a mingw version exe thing in my folder!
I installed C::B with mingw.
Errors started before installing eclipse.
Errors started after updating codeblocks.
The errors:
Well... after fixing... I'm not getting 61 errors anymore but just this:
wchar_t No such file or directory

Jenna

Quote from: jjpdn on February 01, 2013, 11:33:55 PM
Well, I'm on a Windows  7 and that command thing does not work.
What exactly does not work ?
It still exists in win7 and even in win8.

BlueHazzard

Quote from: jjpdn on February 02, 2013, 03:49:19 AM
And there isn't a mingw version exe thing in my folder!
There is a mingw32-gcc.exe. If not, uninstall C::B and reinstall it.

If you can't use the cmd:
Click the "start" button -> type in the searchfield "cmd" -> run "cmd.exe" -> type in the black window "mingw32-gcc.exe --version" please copy and paste the output
if this is not working:
Click the "start" button -> type in the searchfield "cmd" -> run "cmd.exe" -> type in the black window "C:\MinGW\bin\mingw32-gcc.exe --version"

please post the following path from C::B:
Settings->Compiler->Toolchain executables->Compiler's Installation directory

Quote from: jjpdn on February 02, 2013, 03:49:19 AM
Hey guys, I was able to get somebody to fix it (by changing compilers) (Well technically, I just got 491 more warnings but... yeah).
what did you changed? Reinstalled the Compiler? Used the compiler from Visual Studio?

Quote from: jjpdn on February 02, 2013, 03:49:19 AM
Errors started after updating codeblocks.
Fresh install? Did you un-installed the old MinGW compiler?

Quote from: jjpdn on February 02, 2013, 03:49:19 AM
The errors:
Well... after fixing... I'm not getting 61 errors anymore but just this:
wchar_t No such file or directory
please post always the full error log and if possible also the  respective Code. What was this "fixing"?

thanks!

jjpdn

Hey everybody!
Well I reinstalled Code Blocks (again) and now I only get the 'Iostream not found thingy'. Isn't Mingw suppose to have iostream.h?
Here is the full error: ||=== test2222222, Debug ===|E:\stuff\projects\test2222222\main.cpp|1|fatal error: iostream: No such file or directory|||=== Build finished: 1 errors, 0 warnings (0 minutes, 0 seconds) ===|
Mingw version:
mingw32-gcc.exe <GCC> 4.7.0
Copyright <C> 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Yes, I used Visual c++ compiler.
S***! I don't think I did a fresh reinstall but I did the install thing...
Guess what! Now, it doesn't have that T_CHAR thing just the error listed above (OMG computers LOVE hating me).
To Jens, by command thing not working I was answering BlueHazzard.

oBFusCATed

jjpdn:
Your post is total mess. Why don't you use the enter key and [ code ] tags to separate the various pieces of information, so it is at least a bit readable.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

jarod42

Quote from: jjpdn on February 07, 2013, 05:57:40 AM
[..]now I only get the 'Iostream not found thingy'. Isn't Mingw suppose to have iostream.h?
[..]
Yes, I used Visual c++ compiler.
MinGW is unrelated to vc compiler.

Check the configuration of your compiler inside C::B and its default include Directory...

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]