Erase CRW/CR2/DNG files without corresponding JPG - page 5 - Feature Requests - CHDK Forum supplierdeeply

Erase CRW/CR2/DNG files without corresponding JPG

  • 79 Replies
  • 55703 Views
*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Erase JPG along with corresponding CRW in any folder - done
« Reply #40 on: 06 / March / 2008, 11:15:20 »
Advertisements
@wontolla

building for all cams is a lot easier than for single cams: 'gmake batch-zip'
however, in my experience you should always do a 'gmake batch-clean' first,
even before single cam builds.

wim

*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: Erase JPG along with corresponding CRW in any folder - done
« Reply #41 on: 06 / March / 2008, 11:20:06 »
building for all cams is a lot easier than for single cams: 'gmake batch-zip'
however, in my experience you should always do a 'gmake batch-clean' first,
'gmake batch-zip' always does the 'gmake batch-clean' automatically, because it does 'gmake clean fir' for each camera.
CHDK Developer.

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Erase JPG along with corresponding CRW in any folder - done
« Reply #42 on: 06 / March / 2008, 11:41:56 »
@GrAnd
@wontolla

I have batch files start my gmake commands, I seem to have forgotten what's in them  :haha
What I should have said was that I always do a batch-clean after

sorry,
wim

*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: Erase JPG along with corresponding CRW in any folder - done
« Reply #43 on: 06 / March / 2008, 11:55:52 »
What I should have said was that I always do a batch-clean after

Yes, that's true, if your default camera is not the latest one from the batch list. But it is enough to do 'gmake PALTFORM... clean' for your camera model only, in the same time 'gmake batch-clean' is simpler to type. :)
CHDK Developer.


*

Offline wontolla

  • ****
  • 413
  • S3 & G9 & A720
Re: Erase JPG along with corresponding CRW in any folder - done
« Reply #44 on: 06 / March / 2008, 12:27:32 »
Tanks whim and GrAnd. I did use the gmake batch-zip command in my sample builds.

It produces all the zip files for each camera and also a bunch of .FIR files.
I'm uploading the zip files as I found them (just grouped by camera model).

Should I include the other .FIR files as well? Why am I getting 2 .FIR files? One inside the zip called PS.FIR and the other in bin folder called a560-100a.FIR.

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Erase JPG along with corresponding CRW in any folder - done
« Reply #45 on: 06 / March / 2008, 12:30:38 »
the ones in the zip are sufficient, normally.
does compilation throw any errors?
try "gmake batch-zip 2>errors.txt", so you dont have to scroll through all the lines of output.

*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: Erase JPG along with corresponding CRW in any folder - done
« Reply #46 on: 06 / March / 2008, 12:47:23 »
does compilation throw any errors?
try "gmake batch-zip 2>errors.txt", so you dont have to scroll through all the lines of output.
If there is any error during compilation of any camera model the whole process will be interrupted and there will not be the final string "All firmwares compiled successfully".
CHDK Developer.

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Erase JPG along with corresponding CRW in any folder - done
« Reply #47 on: 06 / March / 2008, 12:52:19 »
uh ok.
did you try one of wontollas builds? maybe you can try his a610 build and verify that it is not working. at least his a620 build isnt.


*

Offline wontolla

  • ****
  • 413
  • S3 & G9 & A720
Re: Erase JPG along with corresponding CRW in any folder - done
« Reply #48 on: 06 / March / 2008, 12:57:10 »
I'm compiling for all cameras with the latest version without any changes by myself and getting this in the error.txt file:
The command line finishes with ">>Entering to platform/ixus65_sd630/sub/100a"

stubs_entry_2.S:35:37: warning: no newline at end of file
movie_rec.c:340:2: warning: no newline at end of file
boot.c: In function `ttyRead':
boot.c:167: warning: implicit declaration of function `mytty_putc'
boot.c: At top level:
boot.c:201: error: conflicting types for 'mytty_putc'
boot.c:167: error: previous implicit declaration of 'mytty_putc' was here
boot.c: In function `replaceConsoleDriver':
boot.c:247: warning: passing arg 1 of `_iosDrvInstall' makes pointer from integer without a cast
boot.c:247: warning: passing arg 2 of `_iosDrvInstall' makes pointer from integer without a cast
boot.c:247: warning: passing arg 3 of `_iosDrvInstall' makes pointer from integer without a cast
boot.c:247: warning: passing arg 4 of `_iosDrvInstall' makes pointer from integer without a cast
boot.c:247: warning: passing arg 5 of `_iosDrvInstall' makes pointer from integer without a cast
boot.c:247: warning: passing arg 6 of `_iosDrvInstall' makes pointer from integer without a cast
boot.c:247: warning: passing arg 7 of `_iosDrvInstall' makes pointer from integer without a cast
boot.c: In function `h_ios_tty_Init':
boot.c:266: warning: implicit declaration of function `_iosInit'
C:\Projects\CHDK\gcc_env_for_hdk-3.4.6\bin\gmake[5]: *** [boot.o] Error 1
C:\Projects\CHDK\gcc_env_for_hdk-3.4.6\bin\gmake[4]: *** [all-recursive] Error 1
C:\Projects\CHDK\gcc_env_for_hdk-3.4.6\bin\gmake[3]: *** [all-recursive] Error 1
C:\Projects\CHDK\gcc_env_for_hdk-3.4.6\bin\gmake[2]: *** [all-recursive] Error 1
gmake[1]: *** [all-recursive] Error 1
gmake: *** [batch-zip] Error 2

I think there is something wrong again, like yesterday
« Last Edit: 06 / March / 2008, 12:59:19 by wontolla »

*

Offline wontolla

  • ****
  • 413
  • S3 & G9 & A720
Re: Erase JPG along with corresponding CRW in any folder - done
« Reply #49 on: 07 / March / 2008, 08:25:25 »
****Al firmwares created successfully

It looks like the problem compiling for all cameras is solved with revision 320. I updated the links in #31.

I'll add a popup window with the number of RAW files purged.

Cheers.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal