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

Windows GUI for trunk building

  • 771 Replies
  • 309201 Views
*

Offline reyalp

  • ******
  • 14128
Re: Windows GUI for trunk building
« Reply #740 on: 10 / August / 2015, 01:11:41 »
Advertisements
  • fixed:          Downloading from SVN for revisions > 4153 was not working, so parsing routines
Is it broken again? I updated to 3.46 and it seems to be stuck on 3661.

If I try to build I get a windows error dialog for "as.exe"
"The application was unable to start correctly (0xc000007b). Click OK to close the application"
I think is related to the host compiler, since it happens building elf2flt in tools. This seems to happen regardless of which compiler is selected. Google suggests this is due to a 32 bit app trying to load a 64 bit dll or vice versa.

My system is win7 64 bit.

edit:
I should add that I normally use mingw msys gcc for the windows compiler, but I don't think any of that is on the path when running chdkshell.
« Last Edit: 10 / August / 2015, 01:37:48 by reyalp »
Don't forget what the H stands for.

*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: Windows GUI for trunk building
« Reply #741 on: 22 / August / 2015, 18:19:24 »
The CHDK shell works fine. The problem is assembla! They change their site structure every few months. That's not ok.

The goal of the shell is a fast download of the source code. And there is the best way to get a ZIP file. With assembla trac was this very easy, also for older revisions.

Now it is only possible to get latest revision of the trunk and branches. Assembla provides this only as stream download. That works very unstable.

An other way to get the source code is using the svn.exe from the compiler binaries. But that requires a lot of time.

Here are the latest links for the zip files:

https://www.assembla.com/spaces/chdk/subversion/source/HEAD/trunk?_format=zip
https://www.assembla.com/spaces/chdk/subversion/source/HEAD/branches/release-1_3?_format=zip

I have updated the little utility for zip download of the source code. Copy the attached exe in the CHDK shell folder. Start the program before you run the shell. Maybe it needs a second run. Disable in the shell the internet connection and choose the recent trunk via the button 'Change'.

msl
CHDK-DE:  CHDK-DE links

*

Offline reyalp

  • ******
  • 14128
Re: Windows GUI for trunk building
« Reply #742 on: 23 / August / 2015, 17:43:27 »
The CHDK shell works fine. The problem is assembla! They change their site structure every few months.
Yes, I meant broken by assembla changes again.  >:(
Quote
That's not ok.
It's inconvenient, but I can't blame them too much for changing a web page that was never intended as a formal API.
Quote
An other way to get the source code is using the svn.exe from the compiler binaries. But that requires a lot of time.
A svn export would certainly be much less fragile. Using svn checkout and then updating would would generally be faster than a zip download (after the first time), but raises other complications: conflicts with local changes, incompatible working copy formats with tortoise or other tools installed on the users computer)

Another alternative would be to make a simple web service to provide zips. This could be quite simple, it would just need to export and zip, probably caching some number of revisions. I'm not advocating this approach, I think svn would probably be better, but this might have less impact on chdkshell itself.
Don't forget what the H stands for.

*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: Windows GUI for trunk building
« Reply #743 on: 24 / August / 2015, 05:15:26 »
It's inconvenient, but I can't blame them too much for changing a web page that was never intended as a formal API.
This is true. But not all the improvements are really better. The switch off of assembla trac was a very bad idea. The new integrated source code browser is a catastrophe.

Another alternative would be to make a simple web service to provide zips.
rudi and me talked already about this possibility. But this also requires resources and maintenance. Maybe the 'DE' build server is a good place for this.

msl
CHDK-DE:  CHDK-DE links

*

Offline reyalp

  • ******
  • 14128
Re: Windows GUI for trunk building
« Reply #744 on: 29 / August / 2015, 20:51:31 »
If I try to build I get a windows error dialog for "as.exe"
"The application was unable to start correctly (0xc000007b). Click OK to close the application"
FWIW, this appears to be due to the gcc compiler included with CHDK trying to use as.exe form inside /MinGW, even though it is not on the path. This appears to be a hard coded default in the gcc and/or binutils. Renaming my mingw install directory avoids the problem.

gcc -print-search-dirs displays the relevant paths.

This it might be possible to avoid this by placing the tools in one of the earlier searched paths, but it seems like there could be subtler conflicts, so it's probably better just to be sure nothing is in /mingw.

This problem applies to the host compiler, not the ARM compilers. In a DOS box, putting the mingw bin on the path before the chdkshell tools also resolves the problem, since it uses mingw entirely for the host compiler.

edit:
On an unrelated note, the box.com link on in the first post appears to be dead.
« Last Edit: 29 / August / 2015, 20:53:38 by reyalp »
Don't forget what the H stands for.

*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: Windows GUI for trunk building
« Reply #745 on: 31 / August / 2015, 06:02:07 »
On an unrelated note, the box.com link on in the first post appears to be dead.
Some backup links:

CHDK shell v3.40 full for first installation
CHDK shell v3.46 update
gcc 4.5.1 prepared for the shell

Hints for gcc 4.8 or higher and EABI: http://chdk.setepontos.com/index.php?topic=845.msg119138#msg119138

Disable the option for automatic download of the recent source code in the shell. Download the the recent code manually from assembla as a zip file or use the helper tool from here: => http://chdk.setepontos.com/index.php?topic=845.msg124154#msg124154

The source code must be available in <CHDK shell folder>/trunk/trunk<your name suffix, rev number or what you will>
e.g.: .../trunk/trunk9999 or .../trunk/trunk_work

You can change the source code folder in the shell via the button 'Change'.

HTH

msl
CHDK-DE:  CHDK-DE links

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #746 on: 31 / August / 2015, 06:33:21 »
Hi msl,

First of all, apologies to all & a sincere 'thank you very much' to you, msl !

I've had to change email provider, and while busy on that, box had the brilliant idea to deactivate my
account for the 3rd time - this time they also f***ed up all the links, some of which are hard linked in the
program (for the auto update function etc.)

So, it looks like a busy September is waiting  :lol

thanks,

wim


*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: Windows GUI for trunk building
« Reply #747 on: 31 / August / 2015, 08:13:03 »
Hi wim,

Nice to see you.  :)

rudi is planning to provide the source code zip files (trunk & release) via CHDK-DE autobuild server. So that we are independent of assembla.

Maybe it is also time for CHDK shell version 4. One could make the program slightly slimmer. Not all sub functions are really necessary (e.g. source code functions for CHDKDE, guest programs, card tricks a.s.o.).

msl
CHDK-DE:  CHDK-DE links

Re: Windows GUI for trunk building
« Reply #748 on: 31 / August / 2015, 08:58:56 »

Maybe it is also time for CHDK shell version 4. One could make the program slightly slimmer. Not all sub functions are really necessary (e.g. source code functions for CHDKDE, guest programs, card tricks a.s.o.).
Cardtricks was an important program for CHDK when it was released. However it is limited to SD cards 4G or smaller and tends to confuse new users these days.  It would be good to see it retired.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline dvip

  • ****
  • 451
Re: Windows GUI for trunk building
« Reply #749 on: 05 / September / 2015, 15:10:36 »
I get an error from CHDK-Shell-v346.exe with trunk4233.zip and trunk4234.zip.
trunk4231.zip works fine.

See the attached jpg.


 

Related Topics


SimplePortal © 2008-2014, SimplePortal