Windows GUI for trunk building - page 70 - General Discussion and Assistance - CHDK Forum

Windows GUI for trunk building

  • 771 Replies
  • 305776 Views
*

Offline reyalp

  • ******
  • 14126
Re: Windows GUI for trunk building
« Reply #690 on: 14 / April / 2013, 16:32:01 »
Advertisements
I'm using the program successfully now with "clean" disabled, which I want to do anyway for debugging. So you don't need to scratch your head too hard about it. It's working. Thanks!
It sounds like you are just disabling the clean after build, but just FWIW,  if you are building for different cameras, you really must "make clean" between builds. building with "make clean fir" does this.
Don't forget what the H stands for.

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #691 on: 14 / April / 2013, 17:18:28 »
@lapser

Great, you might be right though, the option to keep the dump files doesn't work as it should anymore. I'll do
some more checking.

@reyalp
Quote
...you really must "make clean" between builds...
This is taken care of, since the program uses either 'firzipsub' or 'firzipsub-complete' make option 
which according to Makefile, both do this:
Quote
firzipsub: infoline clean firsub
....
firzipsub-complete: infoline clean firsub

wim

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Windows GUI for trunk building
« Reply #692 on: 14 / April / 2013, 18:48:43 »
@lapser

Great, you might be right though, the option to keep the dump files doesn't work as it should anymore. I'll do
some more checking.


In the trunk (1.2) version I changed the makefiles to use a common recipe for creating the .bin from the .elf rather than have the same rules copied in multiple places.

The side effect of this is the dump files are now named main.bin.dump instead of main.dump.

Apologies if this is messing up CHDK-Shell.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

*

Offline lapser

  • *****
  • 1093
Re: Windows GUI for trunk building
« Reply #693 on: 14 / April / 2013, 19:57:42 »
if you are building for different cameras, you really must "make clean" between builds. building with "make clean fir" does this.
There are 2 checkboxes in the shell under Compile /  GMAKE options:

Skip GMAKE clean AFTER
  Multiple cameras only work with this checked

Incremental("GMAKE fir")
  Currently unchecked

So which ones should be checked/unchecked to compile multiple cameras?

And many thanks for creating the CHDK shell. It got me going a lot faster than trying to figure all this out, but there's a lot I don't understand.
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #694 on: 14 / April / 2013, 21:55:50 »
@philmoz

Thanks, and if any apologies are in order, it would be the other way around, for lack of maintenance on my side.

@lapser
summary of my settings that work for multiple cam/firmware compilation
- Incremental("GMAKE fir") --> unchecked
- GMAKE option(s) select --> default(none)
- GMAKE clean after --> checked OR unchecked

Quote
Code: [Select]

========== C:\_CHDK\TRUNK\TRUNK2679\BIN\LOGS\ERR-SX50HS-100B.TXT ==========

rm: cannot lstat `dancingbits.exe': Permission denied
C:\_CHDK\gcc451\bin\gmake.exe[1]: *** [clean] Error 1
gmake: *** [clean-recursive] Error 1
rm: cannot lstat `dancingbits.exe': Permission denied
C:\_CHDK\gcc451\bin\gmake.exe[1]: *** [clean] Error 1
gmake: *** [clean-recursive] Error 1

The error looks like it may be something related to not releasing files in the first camera "clean" stage or something, maybe a file in the bin/logs directory. The error occurs after the second camera starts compiling. If I delete the bin/logs directory completely, then I can compile one more camera.
Somehow dancingbits.exe appears to have it's permissions changed - try removing it

wim

PS Sorry, need to sleep a bit now ( 4 AM here now )

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #695 on: 19 / April / 2013, 17:35:55 »
CHDK-Shell-v344 (update version)

  • fixed:          Incorporated fixes by msl and rudi for downloading CHDK sources
                        from SVN site, released as v3.43a. Many thanks & kudo's for finding your
                        way around in 10,000 lines of spaghetti ;)
                        Also fixed: creation of dump files for newer Makefiles (see here)

  • added:        Support for the 'batch-zip' and 'batch-zip-complete' Makefile 'recipes'
                        This can speed up compilation for multiple cam/firmwares by up to
                        3 times, obviously at the expense of feedback about the progress in
                        the GUI; also no dump and log files will be generated.
                        'GMAKE clean after' and 'GMAKE options' (Compile Options dialog)
                        are ignored, just like 'ELF objdump'.
                        Note that you will need to set the 'Cmd Windows' checkbox to
                        either checked or greyed, or you will not be able to monitor the
                        progress.
                        BTW, almost forgot: use 'BATCH mode' checkbox to activate this;
                        if only 1 cam/firmware is selected the program will ignore it and
                        revert to 'normal' operation- it would't save any time in this case.
                       

  • Security:   VirusTotal produces 2 false alerts, from Comodo and Kingsoft
                           Checksums (FileAlyzer) are:
                           CHDK-Shell-v344-sfx.exe
                           CRC-32:   D3535109
                           MD5:      87E3AED51AD9A9BFDF31C187C7664540
                           SHA1:     8CECA6CF8538BE103512B59DB7F3E0841FEF7443
                           CHDK-Shell_Updater.7z
                           CRC-32:   562F810C
                           MD5:      C121C87A25A2BF02F4D600862759C339
                           SHA1:     B11D6E789D78162387EB7AC6E19BE5E370EC8AED

cheers,

wim

[ Have 7z & a recent*) version ? Save bandwidth, use CHDK-Shell-updater.7z  ]

*) recent = currently 3.4.0 and higher
« Last Edit: 21 / April / 2013, 05:47:40 by whim »

*

Offline Pier

  • ***
  • 128
Re: Windows GUI for trunk building
« Reply #696 on: 20 / April / 2013, 10:00:34 »
CHDK-Shell-v344.exe
Tested with GCC462-host461, release 1_12710 and trunk2709 for SX130IS
Successfull.No errors ! Thanks !
« Last Edit: 20 / April / 2013, 10:36:37 by Pier »

*

Offline blackhole

  • *****
  • 946
  • A590IS 101b
    • Planetary astrophotography
Re: Windows GUI for trunk building
« Reply #697 on: 23 / June / 2013, 11:02:05 »
I cannot compile from the revision trunk2879 onwards,for a590 101b.
CHDK Shell v.3.43a-GCC 4.5.1
Error message:
========== D:\CHDK\SHELL\TRUNK\TRUNK2879\BIN\LOGS\ERR-A590-101B.TXT ==========

firmware_load.c: In function `load_firmware':
firmware_load.c:835: warning: left-hand operand of comma expression has no effect

Revision trunk2877 works well.
Does anyone know what the problem is?

Sorry for the multiple posting.

*

Offline reyalp

  • ******
  • 14126
Re: Windows GUI for trunk building
« Reply #698 on: 23 / June / 2013, 15:10:04 »
That's a warning, not an error. It should not prevent you from compiling. If you are unable to compile, there should be some other error.
Don't forget what the H stands for.

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: Windows GUI for trunk building
« Reply #699 on: 23 / June / 2013, 16:02:14 »
I cannot compile from the revision trunk2879 onwards,for a590 101b.
CHDK Shell v.3.43a-GCC 4.5.1
Error message:
========== D:\CHDK\SHELL\TRUNK\TRUNK2879\BIN\LOGS\ERR-A590-101B.TXT ==========

firmware_load.c: In function `load_firmware':
firmware_load.c:835: warning: left-hand operand of comma expression has no effect

Revision trunk2877 works well.
Does anyone know what the problem is?

Sorry for the multiple posting.

Should be fixed in 2895.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

 

Related Topics


SimplePortal © 2008-2014, SimplePortal