User forums > Help

Trouble with Nightly builds

(1/2) > >>

PhiLho:
Perhaps this belongs to the Nightly builds (NB) section, but it is also an installation issue...
I installed, on WinXP Pro SP2, the 1.0RC2 version. I ran it briefly, without problem.
Then, I looked at the files in the NB and moved the corresponding files to a RC2 sub-directory:
wxscintilla.dll
codeblocks.exe.manifest
codeblocks.exe
console_runner.exe
codeblocks.dll
exchndl.dll
and the whole share directory.

Then I unzipped the 2006-04-23 NB to my Code::Blocks installation.
So far, so good. But when I run CodeBlocks.exe, I get lot of error messages:

Le point d'entrée de procédure _ZN13ConfigManager16AddConfigurationERK8wxStringS2_ est introuvable dans la bibliothèque de liaisons dynamique codeblocks.dll.
Le point d'entrée de procédure UnixFilename est introuvable dans la bibliothèque de liaisons dynamique codeblocks.dll.
Le point d'entrée de procédure FileTypeOf est introuvable dans la bibliothèque de liaisons dynamique codeblocks.dll.
Le point d'entrée de procédure ChooseDirectory est introuvable dans la bibliothèque de liaisons dynamique codeblocks.dll.
Le point d'entrée de procédure GetArrayFromString est introuvable dans la bibliothèque de liaisons dynamique codeblocks.dll.
Le point d'entrée de procédure CreateDirRecursively est introuvable dans la bibliothèque de liaisons dynamique codeblocks.dll.
Le point d'entrée de procédure _Z6cbReadR6wxFileR8wxString est introuvable dans la bibliothèque de liaisons dynamique codeblocks.dll.
Le point d'entrée de procédure _Z7cbWriteR6wxFileRK8wxString est introuvable dans la bibliothèque de liaisons dynamique codeblocks.dll.

I have a French system... So, the above functions are not found in codeblocks.dll.

Another dialog box reporting errors on images:

Can't load image from file 'c:\program files\udev\codeblocks/share/codeblocks/images/file.png': file does not exist.   12:15:52
Couldn't add an image to the image list.   12:15:52
Can't load image from file 'c:\program files\udev\codeblocks/share/codeblocks/images/file-missing.png': file does not exist.   12:15:52
Couldn't add an image to the image list.   12:15:52
Can't load image from file 'c:\program files\udev\codeblocks/share/codeblocks/images/file-modified.png': file does not exist.   12:15:52
Couldn't add an image to the image list.   12:15:52
Can't load image from file 'c:\program files\udev\codeblocks/share/codeblocks/images/file-readonly.png': file does not exist.   12:15:52
Couldn't add an image to the image list.   12:15:52
Can't load image from file 'c:\program files\udev\codeblocks/share/codeblocks/images/rc-file-added.png': file does not exist.   12:15:52
Couldn't add an image to the image list.   12:15:52
Can't load image from file 'c:\program files\udev\codeblocks/share/codeblocks/images/rc-file-conflict.png': file does not exist.   12:15:52
Couldn't add an image to the image list.   12:15:52
Can't load image from file 'c:\program files\udev\codeblocks/share/codeblocks/images/rc-file-missing.png': file does not exist.   12:15:52
Couldn't add an image to the image list.   12:15:52
Can't load image from file 'c:\program files\udev\codeblocks/share/codeblocks/images/rc-file-modified.png': file does not exist.   12:15:52
Couldn't add an image to the image list.   12:15:52
Can't load image from file 'c:\program files\udev\codeblocks/share/codeblocks/images/rc-file-outofdate.png': file does not exist.   12:15:52
Couldn't add an image to the image list.   12:15:52
Can't load image from file 'c:\program files\udev\codeblocks/share/codeblocks/images/rc-file-uptodate.png': file does not exist.   12:15:52
Couldn't add an image to the image list.   12:15:52
Can't load image from file 'c:\program files\udev\codeblocks/share/codeblocks/images/rc-file-requireslock.png': file does not exist.   12:15:52
Couldn't add an image to the image list.   12:15:52
Can't load image from file 'c:\program files\udev\codeblocks/share/codeblocks/images/16x16/filefind.png': file does not exist.   12:15:53

Indeed, I don't have a 16x16 directory in the images dir. Nor the above images, neither in RC2 nor in the NB.

I ran with Dependency Walker, and it confirmed the problems, and even more.

So tell me, is my installation procedure wrong? Are the NB reserved for elite?
I searched the forum and the Wiki, without success.
I think I will go back to RC2, but I would like to know if there is a solution to the above issue.
Thank you.

tiwag:
as it was said approx. 256 times before (maybe it is time to write this advice into each of the nightly build announcement threads BIG and BOLD)

do *NOT* unzip the Nightly build version on top of the CB 1.0RC2 folder

unzip the Nightly build version to a new folder and start it from there

Pecan:

--- Quote from: tiwag on April 25, 2006, 01:01:32 pm ---as it was said approx. 256 times before (maybe it is time to write this advice into each of the nightly build announcement threads BIG and BOLD)

do not unzip the Nightly build version on top of the CB 1.0RC2 folder

unzip the Nightly build version to a new folder and start it from there



--- End quote ---
Could you change that not
 to  *NOT* please

PhiLho:
Thanks for the big, bold advice!  :)
But it would be more useful in:
http://www.codeblocks.org/nightly/
http://wiki.codeblocks.org/index.php?title=FAQ (if I am the 256th one to ask...)
http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks
which are the places I looked around...

OK, so I moved the unzipped files (and folders) to a Nightly build folder under the CodeBlocks one, and I restored the files I moved earlier. I added mingwm10.dll wxmsw26_gcc_cb.dll wxmsw26u_gcc_cb.dll to this directory and restarted C::B.
I got exactly the same errors, which doesn't surprise me much...

So, the next two stupid questions (thanks for your patience!):
- Does I have to uninstall RC2 and remove all traces, then quietly unzip the NB?
- What does happen of all the files the installation created (headers, libs, compiler...)?

The site is advertizing the NB, which is fine, but it is a bit light on how to use it...

And out of curiosity, why overwritting the files doesn't work? Beside "It's badTM", like crossing rays in GhostBusters...

thomas:

--- Quote ---So, the next two stupid questions (thanks for your patience!):
- Does I have to uninstall RC2 and remove all traces, then quietly unzip the NB?
- What does happen of all the files the installation created (headers, libs, compiler...)?
--- End quote ---
Open the Code::Blocks folder, then press Ctrl-A, followed by Del. Then unzip the nightly build archive and the corresponding dll archives here.

If you are fanatic, you can delete the Code::Blocks key from the registry (along with all subkeys). The nightly build does not use the registry for storing configuration any more (only file associations go to the registry). If you don't care, you can just leave it.


--- Quote ---The site is advertizing the NB, which is fine, but it is a bit light on how to use it...

--- End quote ---
Download archives, make folder, unpack, double-click executable. :)


--- Quote ---And out of curiosity, why overwritting the files doesn't work? Beside "It's badTM", like crossing rays in GhostBusters...
--- End quote ---
Lieven (that's the guy making the nightly builds) uses a differnt wxWidgets build with a different version and different compiler flags. That's not bad as such, but it is incompatible to the library bundled with RC2.
Also, a few data files have been changed, or obsoleted during the last half year. Even though care was taken to keep backwards compatibility, it is not a good thing to try and confuse the app with mixing lexers and templates from versions that are so greatly different.
Last, you might theoretically happen to use an old XRC file (for example, if the file is in use while unpacking, which prevents it from being replaced). This will go unnoticed until you first access a resource that has been changed, at which point the application will crash for no obvious reason.

Navigation

[0] Message Index

[#] Next page

Go to full version