Where do I find version numberHelp->About?
GCC version (I don't know how to find my compiler version. I'd assume it is the latest version since I downloaded a few days ago)Run gcc --version in a terminal/console. You have to cd to the place where GCC is installed.
When you say terminal/console, do you mean command prompt?Of course.
Also, what does "cd" meanThat you need a tutorial explaining the basics how to use terminal/console/command prompt. :)
Thanks, learning a lot with command prompt. Where is it installed for you guys? I'm not even sure where I can find it. I'm usually a web developer type, not a programmer. Right now I have my dir in console as C: MinGW > libexec > gcc > mingw32 >4.6.2
then i typed "gcc --version" and came up with error as it is not a recognizable internal or external command, so I know i'm not doing something right
If you really want help post a real full compiler re-build log.
NOTE: Build and Re-Build are two different things!
So, post a full compiler build log after doing a re-build or a clean/build!
Tim S.
-------------- Clean: Debug in lkjk (compiler: GNU GCC Compiler)---------------
Cleaned "lkjk - Debug"
-------------- Build: Debug in lkjk (compiler: GNU GCC Compiler)---------------
mingw32-gcc.exe -Wall -g -c C:\Users\ericreese20\Desktop\lkjk\main.c -o obj\Debug\main.o
mingw32-g++.exe -o bin\Debug\lkjk.exe obj\Debug\main.o
Execution of 'mingw32-g++.exe -o bin\Debug\lkjk.exe obj\Debug\main.o' in 'C:\Users\ericreese20\Desktop\lkjk' failed.
Nothing to be done (all items are up-to-date).
This is a laptop. I also don't use antivirus software or firewalls lol. I only use this for school. It's a pretty basic dell computer
SET PATH=CBTOOLCHAINPATH\bin;%PATH%
cd /d C:\Users\ericreese20\Desktop\lkjk
mingw32-gcc.exe -Wall -g -c C:\Users\ericreese20\Desktop\lkjk\main.c -o obj\Debug\main.o
mingw32-g++.exe -o bin\Debug\lkjk.exe obj\Debug\main.o
I'm a bit confused. I go to the directory you tell me to in the code brackets. Am I typing that entire 2nd line in one command in cmd? Cuz I'm getting the error of it not being a recognizable internal/external command
The error is the standard "doesnt recognize it as an internal or external command"
You are correct, there is no g++ file. So what do I do? Would uninstalling and re-downloading it fix this issue?
"lkjk - Debug": The compiler's setup (GNU GCC Compiler) is invalid, so Code::Blocks cannot find/run the compiler.
Probably the toolchain path within the compiler options is not setup correctly?!
Goto "Settings->Compiler and debugger...->Global compiler settings->GNU GCC Compiler->Toolchain executables" and fix the compiler's setup.
Skipping...
Nothing to be done (all items are up-to-date).
I installed it and there was a little popup in the bottom right corner of the program which read "Can't find compiler executable for GNU GCC Compiler" or something like that. I haven't figured out how to get the popups/error messages to display.
I just did a rebuild now, after seeing that message. This is the build logCode"lkjk - Debug": The compiler's setup (GNU GCC Compiler) is invalid, so Code::Blocks cannot find/run the compiler.
Probably the toolchain path within the compiler options is not setup correctly?!
Goto "Settings->Compiler and debugger...->Global compiler settings->GNU GCC Compiler->Toolchain executables" and fix the compiler's setup.
Skipping...
Nothing to be done (all items are up-to-date).
I uninstalled and deleted everything. THen I did the environment thing. This is what came up, I don't see a MinGW entry or anything like that so I assume it's fine.
I installed it and there was a little popup in the bottom right corner of the program which read "Can't find compiler executable for GNU GCC Compiler" or something like that. I haven't figured out how to get the popups/error messages to display.
I just did a rebuild now, after seeing that message. This is the build logCode"lkjk - Debug": The compiler's setup (GNU GCC Compiler) is invalid, so Code::Blocks cannot find/run the compiler.
Probably the toolchain path within the compiler options is not setup correctly?!
Goto "Settings->Compiler and debugger...->Global compiler settings->GNU GCC Compiler->Toolchain executables" and fix the compiler's setup.
Skipping...
Nothing to be done (all items are up-to-date).
this is because you have the path to the old Mingw installation in your PATH environment variable.I uninstalled and deleted everything. THen I did the environment thing. This is what came up, I don't see a MinGW entry or anything like that so I assume it's fine.
No this was wrong: you have to mask the Path in the "System variables" window and hit "edit" then a window pops up and there you have to search for the first Mingw path and delete it (but this was described in the links, so i want go into detail)
greetings