Code::Blocks Forums
User forums => Help => Topic started by: mdean on February 09, 2019, 07:23:46 am
-
I used to use Code::Blocks to make C++ programs for Project Euler. The hard drive on my last computer died, however, and the rest of the computer was obsolete, so the computer was replaced and, today, I attempted to find and install Code::Blocks on this new system. I downloaded codeblocks-17.12mingw-setup.exe and did the full install, unchecking nothing. I wrote my program, got the wrong result, and tried to debug it. In the window below, I got the following red text:
ERROR: You need to specify a debugger program in the debuggers's settings.
(For MinGW compilers, it's 'gdb.exe' (without the quotes))
(For MSVC compilers, it's 'cdb.exe' (without the quotes))
I went to Settings, then Debugger. In the Default section under GDB/CDB debugger, the first item is Executable Path, which is red and blank. Hovering over this item reveals a message "Full path to the debugger's executable. Executable can't be found on the filesystem!" I checked the location where Code:Blocks was installed. I found a MinGW subfolder which in turn had a gdb32 subfolder. Actually, while in the process of creating this message, I found a gdb32.exe in the bin subfolder of gdb32. I assume this is the file that it wants?
I apologize it this should be in the Using Code:Blocks topic because I understand very little of this stuff or under bugs if this should have been set up by the installer. Not sure if this is an oversight or my own ignorance. I did do a brief search and didn't notice any similar issue.
-
...
I assume this is the file that it wants?
...
Yes, you are correct.
-
I also have the same problem.
Now set the debugger .exe file in bin folder.
Any other settings to made or not?
-
you made the same mistake I did.....
first uninstall Codeblocks mingw bla bla, the Codeblocks MinGW bundle download is messed up.
Now install MinGW separately and first...… https://osdn.net/projects/mingw/releases/
Now download and install Codeblocks ONLY ….. http://sourceforge.net/projects/codeblocks/files/Binaries/17.12/Windows/codeblocks-17.12-setup.exe
And here are some videos made by King Julian that will actually show you the secrets on how to...….. set everything up shhhhh
setup of MinGW https://www.youtube.com/watch?v=sXW2VLrQ3Bs&t=249s
setup of CodeBlocks https://www.youtube.com/watch?v=c8iq3yg6RDM&t=8s