User forums > Help

"filename - Debug" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]....."

<< < (2/4) > >>

eb:
compiler: 
Not sure of the name and version but the name of the installer is "tdm-mingw-1.908.0-4.4.1-2.exe".

Path of the compiler:
Not sure about this either but mingw32-g++.exe (the GNU GCC Compiler I assume) and all the other files listed under the Program Files tab under the Toolchain Executables tab are located in "C:\Program Files (x86)\CodeBlocks\MinGW\bin\" according to Windows Explorer (as opposed to where C::B is theoretically looking).

Path I tried in Code::Blocks:
The Compiler's installation directory is set to "C:\Program Files (x86)\CodeBlocks\MinGW"

eb:

I don't know if this helps but when I place the cursor at the end of main.cpp (the program that was created upon installation) and hit the "Run to cursor" icon I get this error message:

Build succeeded
Selecting target:
Debug
ERROR: You need to specify a debugger program in the compiler's settings.
(For MinGW compilers, it's 'gdb.exe' (without the quotes))
(For MSVC compilers, it's 'cdb.exe' (without the quotes))

[Settings][Compiler and debugger...][GNU GCC Compiler][Toolchain executables][Debuggeer:] = gdb.exe
"C:\Program Files (x86)\CodeBlocks\MinGW\bin\gdb.exe" is there.

stahta01:
@eb:

So, it is NOW compiling; but, debugger is not working.
I can not help with debugger; I never use it.

Tim S.

eb:
It's not doing anything.  It simply says "Nothing to be done".  No window opens saying "Hello World!"

eb:
"Build Succeeded"
Does this mean that it works?
Does it create a .exe file somewhere that I can run?  Because when I hit the run button it opens a window entitled "Information" which says "It seems that this project has not been built yet. Do you want to build it now? [Yes][No][Cancel].
This is AFTER I receive the above "Build Succeeded" message.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version