Hello Everyone.
I am a newbie and I don't have too much experience with compilers, linkers and others. I am trying to run a code. It compiled without problems, but there is an error when running so I need to debug it.
I tried to do it directly, but C::B complained saying that the debugger was not installed. Using the info in this thread http://forums.next.codeblocks.org/index.php/topic,8454.0.html, I was able to install the debugger. Now, I am having the same problem as the people there with the symbols (I don't even know what they mean by symbols). I downloaded all of them, update the environment variables but still no success.
Could anyone provide some advice about this particular problem or, in the worst case, recommend a better (simpler) pair of compiler + debugger for a completely desperate newbie under windows? :(
Thanks in advance.
CUNY CodeBlocks Student Manual
http://www.sci.brooklyn.cuny.edu/~goetz/codeblocks/codeblocks-instructions.pdf
Thank you. I will go through it in this weekend. I'll reply on Monday.
The document does not contain information on debugging using Microsoft Visual C++. There is a step-by-step explanation on how to debug a code, though. Thanks anyway.
I changed the compiler to the GNU GCC and now it doesn't work at all
-------------- Build: Debug in test01 ---------------
Compiling: wvct.cpp
mingw32-g++.exe: /W3: No such file or directory
mingw32-g++.exe: /Zi: No such file or directory
mingw32-g++.exe: /D_DEBUG: No such file or directory
mingw32-g++.exe: /EHsc: No such file or directory
mingw32-g++.exe: /Zi: No such file or directory
mingw32-g++.exe: /D_DEBUG: No such file or directory
mingw32-g++.exe: /MDd: No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
What is this? Can anyone give me a hint on this issue? :(
If you change the compiler you also have to change the build options.
You try to use vcc options with gcc, that can not work.
You were right. I just created a new project with the same data and the gcc compiler in the build options and my code is running smoothly now. Thank you.
This thread is finished now.