Hi,
I am trying to compile some code on Windows 7 using code-blocks 10.05.
While building the code,I get the error:
Running command: mingw32-make.exe -f Makefile Debug
mingw32-make.exe: *** No rule to make target `Debug'. Stop.
Process terminated with status 2 (5 minutes, 32 seconds)
0 errors, 1 warnings
But exe is built,inspite of the error. The only problem is,I am unable to debug the code,as it doesnt halt at any of the breakpoints. Please help.
I started a new thread coz the original question has changed slightly.
I have given the command
make
make package-win32-base-debug
in pre build steps in build options.
And in the last tab of build options I have kept the Build file/target blank.
This was working perfectly fine earlier and I could successfully debug. I just cant figure out what is it that I changed , tht now my debugger doesnt work .
And also,howcome exe is built perfectly well,just debug isnt working.
I have now removed make command from pre build steps and added it in Build Options->Make Target. Now I am not getting any error in build. But still Debug isnt working :(.
The end of Build Log looks something like this
for i in "" ./vlc-1.1.0-rc3/*.dll \
./vlc-1.1.0-rc3/*.exe \
./vlc-1.1.0-rc3/activex/*.dll \
./vlc-1.1.0-rc3/mozilla/*.dll \
./vlc-1.1.0-rc3/plugins/*.dll \
; do \
if test -n "$i" ; then \
objcopy --only-keep-debug "$i" "$i.dbg"; \
objcopy --strip-all "$i" ; \
objcopy --add-gnu-debuglink="$i.dbg" "$i" ; \
mv "$i.dbg" "./symbols-1.1.0-rc3"; \
fi ; \
done
But in compiler and debugger settings I have neither checked -g option nor -s.
Please advice further.