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

Windows GUI for trunk building

  • 771 Replies
  • 304871 Views
Re: Windows GUI for trunk building
« Reply #680 on: 06 / August / 2012, 19:06:16 »
Advertisements
OK I've compiled and linked this successfully. I had to make the following change in trunk\trunk300\core\Makefile :

#   $(CC) $(CFLAGS) -o $@ Wl,--start-group $^  $(LDLIBS) Wl,--end-group $(LDFLAGS) $(LDOPTS)
   $(CC) $(CFLAGS) -o $@ -Wl,--start-group $^  $(LDLIBS) -Wl,--end-group $(LDFLAGS) $(LDOPTS)

I haven't tried the firmware in a camera yet, but hopefully it will be OK - there were only warnings left in the error file, nothing serious.

Re: Windows GUI for trunk building
« Reply #681 on: 07 / August / 2012, 09:08:30 »
And finally... I fully understood what msl was saying, overwrote my chdk-shell executable, downloaded trunk 2061, and did a clean compile. Cool. Now for the real challenge - SDM...

Sorry for cluttering up your thread, and thanks for the help. It's much appreciated.

Re: Windows GUI for trunk building
« Reply #682 on: 19 / November / 2012, 21:29:23 »
There is no 101c folder in platform/ixus115 folder. I am using CHDK-Shell 3.43 & trunk@2289.

Please tell me how to compile capt_seq.c for 101c platform............. Can i compile it in another camera platform folder with 101c firmware or Can I just simply copy the 101c folder from ixus220 folder to ixus115?????

Thank you.
« Last Edit: 19 / November / 2012, 21:51:21 by aditidatta »

Re: Windows GUI for trunk building
« Reply #683 on: 19 / November / 2012, 22:15:42 »
There is no 101c folder in platform/ixus115 folder.
There is no 1.01c folder because CHDK for the 1.01b is identical to CHDK for the 1.01c.  You can use the 1.01b folder to make a version for the 1.01c - that's what the autobuild does.

Please tell me how to compile capt_seq.c for 101c platform............. Can i compile it in another camera platform folder with 101c firmware or Can I just simply copy the 101c folder from ixus220 folder to ixus115?????
The code you are trying to compile
http://chdk.setepontos.com/index.php?topic=6751.msg93453#msg93453
is already in the autobuild and available for your use from http://chdk.wikia.com/wiki/Downloads
You don't need to try and figure out how to build it.
http://chdk.setepontos.com/index.php?topic=6751.msg92262#msg92262
« Last Edit: 19 / November / 2012, 22:39:30 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Windows GUI for trunk building
« Reply #684 on: 20 / November / 2012, 06:09:23 »
Now for the real challenge - SDM...

Sorry, I missed that post.

As far as I remember I have not been away for "an indeterminate period".

I assume you managed to compile it ?


David

*

Offline lapser

  • *****
  • 1093
Re: Windows GUI for trunk building
« Reply #685 on: 08 / April / 2013, 18:40:38 »
I've been using the Windows Shell, version 3.43a successfully for awhile, but I have one minor problem with it.

If I try to compile for more than 1 camera at a time, it works for the first camera, and then gives this error message after starting on the second camera:

========== C:\_CHDK\TRUNK\TRUNK2679\BIN\LOGS\ERR-IXUS40_SD300-100K.TXT ==========

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

If I delete the bin/logs folder, then it will compile the next camera.
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 #686 on: 08 / April / 2013, 19:51:34 »
Hi lapser,

Just tried to reproduce this - compiling trunk 2679 for ixus220 & ixus 40, but could not ...
Compiled successfully with included GCC 462, 451 & 440, on Win 7
(I also tried with latest trunk 2687, same result)

Are you using one of the compiler kits shipped with CHDK-Shell, and if so, which ?

wim

PS Some things to try:
     - Use one of the included compiler kits if you were not already doing so
     - If you activated 'Skip GMAKE clean after' in Compile options, try deactivating (unchecking) it
     - Delete the trunk2679 subdir and start with a fresh one (clicking 'Unzip archive' should allow you to do
       this, unless you disabled keeping the downloaded zips) 

*

Offline lapser

  • *****
  • 1093
Re: Windows GUI for trunk building
« Reply #687 on: 12 / April / 2013, 21:11:21 »
     - If you activated 'Skip GMAKE clean after' in Compile options, try deactivating (unchecking) it
Thanks for the suggestions. "Skip GMAKE clean" was already deactivated. But when I activated it, it worked and compiles multiple cameras. Have you tried compiling more than one camera with it deactivated, so the GMAKE files are deleted?
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 #688 on: 14 / April / 2013, 10:57:03 »
@lapser

After much testing and head scratching, I think I found something ...
Under Compiler options -> GMAKE option(s) select, if I select any option containing '-j' , I'm getting
errors. Resetting to 'default(none)' yields error-free compiles, independant of the state of 'GMAKE clean after'.
Could you give that a try ?

thanks,

wim

PS used the same trunk version as before, 2694, and the gcc 4.6.2 kit

*

Offline lapser

  • *****
  • 1093
Re: Windows GUI for trunk building
« Reply #689 on: 14 / April / 2013, 14:18:36 »
Resetting to 'default(none)' yields error-free compiles, independant of the state of 'GMAKE clean after'.
Could you give that a try ?
It was already set to "default(none)"
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.

It didn't start doing this until after I had used the program for about a month. I don't think it's related to the particularly trunk because it's done the same thing for every trunk. Maybe something changed a few months ago in all the trunks since the problem started?

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!
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

 

Related Topics


SimplePortal © 2008-2014, SimplePortal