User forums > Using Code::Blocks

Used CodeBlocks for months before weird errors started appearing.

<< < (2/3) > >>

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!

--- End quote ---
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.

--- End quote ---
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!

--- End quote ---
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).

--- End quote ---
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.

--- End quote ---
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

--- End quote ---
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.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version