User forums > Help

Can Not Run Nightly Build

(1/2) > >>

Mr. Awesome:
The nightly builds have stopped working for me, but it's not a problem with the nightly builds.  Every time I open the program, I get a runtime error message from windows.  Here is how I got to this point.

Awhile ago I downloaded CB v1.0rc2 and installed it in the Program Files directory (WinXP).  Recently, I decided to switch to nightly builds so I installed a nightly build into C:\CodeBlocks, and copied relevant includes and libs etc. from the Program Files directory into the new one.  Everything was working fine.  However, today, I uninstalled the old CodeBlocks, resetting CodeBlocks' settings.  This screwed everything up so did a system restore, re-installed CB v1.0rc2, and got 1.0rc2 working again.  But, now I get the above problem with any nightly build that I install.

So, does anyone know what is the problem?  I think there is something wrong with the info in the Application Data folder, as default.workspace was missing from there.  I just need some suggestions as to what I should do here.  Maybe clean everything off and redo it?

grunerite:

--- Quote from: Mr. Awesome on January 30, 2006, 04:07:06 am ---This screwed everything up so did a system restore, re-installed CB v1.0rc2, and got 1.0rc2 working again.
--- End quote ---

Ah man. This sucks. I've been there before, though never with Code::Blocks.


--- Quote ---So, does anyone know what is the problem?  I think there is something wrong with the info in the Application Data folder, as default.workspace was missing from there.  I just need some suggestions as to what I should do here.  Maybe clean everything off and redo it?

--- End quote ---
I'm no expert, but this is what I'd do. Uninstall 1.0RC2 if it is installed now (you don't want it anyway). Delete directory you had codeblocks in. Then, open RegEdit.exe, go in and wipe-out any codeblocks related entries. Then, go to DocumentsAndSettings\yourusername\ApplicationData\codeblocks, and delete everything in it (unless you have custom compilers or something set up). You should then be clean of codeblocks (except for perhaps any custom templates you made)

Then, go grab a nightly build and stick it somewhere convenient like "C:\Dev\CB_Rev1893" and unzip it. Grab that wxWidgets unicode dll too. IF you aren't using mingw, then grab that MinGW dll on the nightly download site too.


IF you plan to use mingw, but don't have it on your system now (as it might have been in your old codeblocks 1.0RC2 folder) go grab the necessary mingw archives (see Wiki) and unzip them somewhere convenient (C:\Dev\MinGW345), but don't stick them in your codeblocks folder. Add it's bin folder to your path.

Now, your mingw and codeblocks are separated from one another, and that is what you want (if you are using mingw)


thomas:
Settings of nightly builds use an xml file while RC2 uses the registry for that, so actually there can't be much that can go wrong from that point of view. Maybe you garbled the settings file for some reason, though.

Try going to the folder codeblocks inside your application data folder (C:\Documents and Settings\Your UserName\Application Data or a similar path) and delete everything in there. All files in here should be restored when they are removed, and the application should start with factory settins.

Mr. Awesome:

--- Quote from: thomas on January 30, 2006, 09:08:26 am ---Try going to the folder codeblocks inside your application data folder (C:\Documents and Settings\Your UserName\Application Data or a similar path) and delete everything in there. All files in here should be restored when they are removed, and the application should start with factory settins.

--- End quote ---

Thanks, that solved everything.  So, are you sure that uninstalling the original won't interfere with anything in the nightly build besides messing with that folder (which can just be deleted and restored)?

thomas:
Yes, very sure.

RC2 stores its configuration in the registry and puts one file containing the window layout in the home directory.

Nightly builds store all configuration in a subfolder of the %APPDATA% folder (RC2 does not touch this), and they do not use the registry short of writing file associations (which is obviously necessary).

Navigation

[0] Message Index

[#] Next page

Go to full version