User forums > Using Code::Blocks
Upgrading a Windows (binary) installation
johne53:
My copy of C::B dates back to about last April and it's time for an upgrade. I'm running the Windows version, installed from a straight setup.exe file. If I install the latest version (8.02, I believe) can I just overwrite my existing copy (i.e. install into the same folder) or is it best to uninstall the old copy first? The main thing is that I don't want to lose things I've set up, such as personal settings and search directories etc.
dmoore:
you should be able to clear out the codeblocks application folder without hurting your settings. you can even install multiple copies of C::B in different folders. They will share the same settings (or use unique settings if you start codeblocks using the --profile=myprofile switch).
on windows, personal settings usually get stored in "Documents and Settings/user/Application Data/codeblocks"
just be aware that some plugins might save settings file that the newer version of the plugins might have broken compatibility with (I can't confirm that's true, it's just possible). if you get weird behavior after you upgrade, you might need to clean out some of the old plugin settings files (just rename them rather than delete them). (I can recall the keybinder plugin having this problem in the past, maybe not anymore)
btw, 8.02 was released Feb '08. If you are using a copy from April what are you using? A nightly, if so I would suspect you would want to upgrade to a more recent nightly build rather than lose features. There's been some nice improvements since the last release and the code is pretty stable.
johne53:
I just checked again and it's older than I thought - April 07, not April 08!!
Are the nightlies only available in source code? I can build from source if absolutely necessary but I'm trying to cut down on the clutter and install binaries, where available.
Jenna:
--- Quote from: johne53 on February 07, 2009, 03:48:20 pm ---Are the nightlies only available in source code?
--- End quote ---
No.
The actual nightlies can be found in the topics of the nightlies thread http://forums.codeblocks.org/index.php/board,20.0.html.
The windows nightlies (or the download-links) are announced in the first post, nightlies for other OSes (mainly some linux-distros) can be found in the replies.
johne53:
Oh no! Why did I upgrade??
I just upgraded to the latest nightly but I seem to have two immediate problems.
Problem #1: My project contains one file with the extension ".s". I've no idea what this file does but it seems to be 8086 assembler. A typical section looks like this:-
--- Code: --- pushl %ebp
movl %esp, %ebp
#; save %edi
pushl %edi
#; the real function
#; if nframes == 0, go to end
movl 12(%ebp), %ecx #; nframes
cmp $0, %ecx
je .AG_END
#; create the gain buffer in %xmm1
movss 16(%ebp), %xmm1
shufps $0x00, %xmm1, %xmm1
#; Check for alignment
movl 8(%ebp), %edi #; buf
movl %edi, %edx #; buf => %edx
andl $12, %edx #; mask bits 1 & 2, result = 0, 4, 8 or 12
jz .AG_SSE #; if buffer IS aligned
--- End code ---
This file never caused a problem before but it's now throwing up dozens of errors looking like this:-
--- Quote ---F:/ardour2/libs/ardour/sse_functions.s:27: Warning: .type pseudo-op used outside of .def/.endef ignored.
F:/ardour2/libs/ardour/sse_functions.s:27: Error: junk at end of line, first unrecognized character is `x'
--- End quote ---
Can anyone help here??
Problem #2: Pressing F8 no longer launches my debugger (gdb). The Debugger window says Building to ensure sources are up-to-date but after the sources have been checked, the debugger doesn't get launched.
The first problem is particularly baffling because my compiler hasn't actually changed so I don't understand why it should be unhappy with that source file simply because the IDE changed.... :(
Navigation
[0] Message Index
[#] Next page
Go to full version