User forums > Nightly builds

The 28 October 2012 build (8484) is out.

<< < (3/4) > >>

headkase:

--- Quote from: and4cb on October 28, 2012, 11:05:24 pm ---I am new, and am still unclear as to what folder I should be extracting the "nightly" zipped files to.  Should I extract the  
CB_20121028_rev8484_win32.7z  and  wxmsw28u_gcc_cb_wx2812_gcc471-TDM.7z  files to my C:\Program Files (x86)\CodeBlocks folder?
If I originally used the codeblocks-10.05mingw-setup.exe to install CodeBlocks to begin with, do I need the mingwm10_gcc471-TDM.7z file?
I thank you for your help.



--- End quote ---

You should uninstall codeblocks-10.05-mingw-setup unless you plan to use it as well as a nightly.  Uninstalling it is optional.

Unzip the nightly, the wx dll, and the mingwm10 dll to the same folder.  Do not reuse any other folder, create a new folder and put the files from all three archives into that new folder.

You will also need a compiler to go with the nightly.  The 10.05 version you have includes a compiler but the nightlies do not.

Get a compiler here: http://tdm-gcc.tdragon.net/

Then extract that so the path to it is C:\mingw

Then when you run the nightly under

Settings -> Compiler -> Toolchain executables

Put the path to C:\mingw\bin

And then click "auto-detect"  You may have to exit the nightly and restart it before auto detect works correctly.

When you get a confirmation message then you are set up to go with the nightly.

Edit, also if you use the nightly you probably shouldn't use 10.05 as they will probably step on each others configuration files which are in a shared folder within your user folder.

and4cb:
Thank you, headkase.  I have uninstalled the 10.05.  I put the nightly, wx dll, and the mingwm10 dll into the following folder:
C:\CodeBlocksNightly.  I ran the tdm-gcc-4.7.1-2.exe program and installed the gcc to C:\MinGW.  The debugging process failed.  What is the best link to download a debugger that will work with this new nightly?

and4cb:
UPDATE:  Please let me know what I am doing wrong.  I now see that I have gdb 7.5 in my c:\MinGW folder, but when I run the debugger on the following program:
#include <stdio.h>
#include <stdlib.h>

int main()
{
    printf("Hello world!\n");
    return 0;
}

I receive this message:
Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: C:\Code\test5\
Adding source dir: C:\Code\test5\
Adding file: C:\Code\test5\bin\Debug\test5.exe
Changing directory to: C:/Code/test5/.
Set variable: PATH=.;C:\MinGW\bin;C:\MinGW;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared;C:\Program Files (x86)\Common Files\Roxio Shared\10.0\DLLShared;C:\Program Files (x86)\Common Files\DivX Shared;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn;c:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn;C:\Program Files (x86)\QuickTime\QTSystem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Windows Live\Shared;C:\MinGW32\bin

[debug]Command-line: C:\MinGW32\bin\gdb.exe -nx -fullname  -quiet  -args C:/Code/test5/bin/Debug/test5.exe
[debug]Working dir : C:\Code\test5

Starting debugger: C:\MinGW32\bin\gdb.exe -nx -fullname  -quiet  -args C:/Code/test5/bin/Debug/test5.exe
failed

headkase:

--- Quote from: and4cb on October 29, 2012, 12:07:11 am ---Thank you, headkase.  I have uninstalled the 10.05.  I put the nightly, wx dll, and the mingwm10 dll into the following folder:
C:\CodeBlocksNightly.  I ran the tdm-gcc-4.7.1-2.exe program and installed the gcc to C:\MinGW.  The debugging process failed.  What is the best link to download a debugger that will work with this new nightly?

--- End quote ---

The debugger should be included with TDM-GCC.  It is called GDB.  It should just work - especially if the auto detect was successful.  If you are using a project you built using 10.05 then try to completely rebuild it.  The two blue arrows pointing to each other in a circle-form icon.  If you have old object files from a previous compiler then that is a possible cause.

If that is not successful then I'm not sure what the cause could be without being at your computer and trying to randomly delete all your files.. ;)

Edit: you also have references in your path to BOTH C:\mingw AND C:\mingw32

So, you probably want to clean out the one you aren't using.

Edit too, and also you say you put TDM-GCC in mingw but your are debugging with mingw32.

and4cb:
Thank you, again, headkase.  The debugging failure was due to the MinGW vs MinGW32 issue.  The TDM-GCC wanted to use MinGW32, but you had said to use MinGW, so I did a rename after the install, but I could not figure out how to get C::B to pay attention to the new folder name for gdb.
I am able to run the debugger now, so I will continue my question about the missing focus arrow in the topic:  Debugging arrow for current location is missing.

Thank you again, so much for your quick responses, and excellent help.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version