News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Errors while running the Update

Started by wayne, November 28, 2006, 04:31:07 PM

Previous topic - Next topic

wayne


using the guide to build C::B from scratch that can be found here :
http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows

all goes well until it comes to running the src\update.bat file.

when I run this I get the following errors :

**************************************************************
$ update
Creating output directory tree
Compressing core UI resources
Compressing plugins UI resources
Packing core UI bitmaps
Packing plugins UI bitmaps
Copying files
cp: cannot stat `devel/*.so': No such file or directory
cp: cannot stat `devel/share/codeblocks/plugins/*.so': No such file or directory
Stripping debug info from output tree
Creating launch-scripts
*************************************************************

I've built the main C::B projects and also the contrib plugins projects - any clues ?

thanks

Wayne

mandrav

QuoteI've built the main C::B projects and also the contrib plugins projects - any clues ?

Yes, you 're running 'update' in a unix-shell (MSYS or Cygwin) and it actually runs the "update" shell script.
You need to run "update.bat" for windows...
Be patient!
This bug will be fixed soon...

wayne

Quote from: mandrav on November 28, 2006, 05:01:45 PM
QuoteI've built the main C::B projects and also the contrib plugins projects - any clues ?

Yes, you 're running 'update' in a unix-shell (MSYS or Cygwin) and it actually runs the "update" shell script.
You need to run "update.bat" for windows...

Hi,

I now get different results:

Packing core UI resources
        zip warning: name not matched: srcresources*.xrc

zip error: Nothing to do! (devel\share\CodeBlocks\resources.zip)
        zip warning: name not matched: sdkresources*.xrc
        zip warning: name not matched: sdkresourcesimages*.png

zip error: Nothing to do! (devel\share\CodeBlocks\manager_resources.zip)
        zip warning: name not matched: srcresourcesstart_here*.*

zip error: Nothing to do! (devel\share\CodeBlocks\start_here.zip)
Packing plugins UI resources
        zip warning: name not matched: pluginsastyleresources*.xrc
        zip warning: name not matched: pluginsautosave*.xrc
        zip warning: name not matched: pluginsclasswizardresources*.xrc
        zip warning: name not matched: pluginscodecompletionresources*.xrc
        zip warning: name not matched: pluginscompilergccresources*.xrc
        zip warning: name not matched: pluginsdebuggergdbresources*.xrc
        zip warning: name not matched: pluginsdefaultmimehandlerresources*.xrc
        zip warning: name not matched: pluginstodoresources*.xrc
Packing core UI bitmaps

zip error: Nothing to do! (..\..\devel\share\CodeBlocks\manager_resources.zip)
Packing plugins UI bitmaps
Copying external exception handler
Copying files
Stripping debug info from output tree

when I then run the app from the output directory it warns me that it can't locate
a series of images and then crashes when I try to do anything

17:24:03: Can't load image from file 'C:\CodeBlocksSourceCode\src\output/share/codeblocks\images\codesnippets\allsnippets.png': file does not exist.
17:24:03: Couldn't add an image to the image list.
17:24:03: Can't load image from file 'C:\CodeBlocksSourceCode\src\output/share/codeblocks\images\codesnippets\category.png': file does not exist.
17:24:03: Couldn't add an image to the image list.
17:24:03: Can't load image from file 'C:\CodeBlocksSourceCode\src\output/share/codeblocks\images\codesnippets\snippet.png': file does not exist.
17:24:03: Couldn't add an image to the image list.

mandrav

Could you *please* run update.bat inside a normal command prompt? Or even double-click it in explorer?
Be patient!
This bug will be fixed soon...

wayne

Quote from: mandrav on November 28, 2006, 08:00:02 PM
Could you *please* run update.bat inside a normal command prompt? Or even double-click it in explorer?

thats *exactly* what I have done - the last print out is from the cmd box - I've also double-clicked
on the bat file in Explorer and got the same result

mandrav

Quote from: wayne on November 29, 2006, 11:04:19 AM
Quote from: mandrav on November 28, 2006, 08:00:02 PM
Could you *please* run update.bat inside a normal command prompt? Or even double-click it in explorer?

thats *exactly* what I have done - the last print out is from the cmd box - I've also double-clicked
on the bat file in Explorer and got the same result

Quotezip warning: name not matched: pluginsastyleresources*.xrc

As you can probably see, it's missing the separators (\). I know nothing about your system so I can't help you any more. The separators are there though (in update.bat).
Maybe it's the zip executable you 're using? What version is it?
Be patient!
This bug will be fixed soon...