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

Windows GUI for trunk building

  • 771 Replies
  • 181362 Views
*

Offline msl

  • *****
  • 1263
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: Windows GUI for trunk building
« Reply #660 on: 02 / July / 2012, 16:58:22 »
Advertisements
I think, we have two problems with the CHDK shell.

1.
The update function is broken. The download of the newest trunk or branches are not available. The shell check assembla but finds no new versions.

2.
localbuildconf.inc is not generated correctly (with settings for CHDK-DE/German). Works only after manual editing.

msl
CHDK-DE:  CHDK-DE links

*

Offline dvip

  • ****
  • 451
Re: Windows GUI for trunk building
« Reply #661 on: 02 / July / 2012, 19:55:50 »
I would like to know how to compile from the Command Prompt
with what is already in the CHDK-shell folders.

Is there a BAT file?
Something like "compile-for-the-A590IS.bat"?


Re: Windows GUI for trunk building
« Reply #662 on: 02 / July / 2012, 20:59:56 »
I would like to know how to compile from the Command Prompt
with what is already in the CHDK-shell folders.

Is there a BAT file?
Something like "compile-for-the-A590IS.bat"?
I do this all the time when I'm booted into Win7 instead of Linux.  As far as I remember,  I just have CHDK-Shell installed in a subdirectory to a CHDK directory that's located in my desktop.  No other dev environment / build environment.  I haven't actually used CHDK-Shell in over a year - just its build environment.

I use Tortoise svn to get the latest code into a  sub-directory called trunk1svn under the above mention CHDK directory (there is no particular reason for the naming choice - but I also have one called stable - you can guess what goes in there). 

Using a command shell (command prompt ?  DOS windows ?  whatever they call it now ...) that starts in my CHDK directory,  I run a simple batch file called mk.bat that looks like this :
Code: [Select]
cd trunk1svn
gmake PLATFORM=%1 PLATFORMSUB=%2 firzipsubcomplete
cd ..

So I type (for example):
Code: [Select]
>mk g10 102ato rebuild the latest code for my G10.  Simple.

Note that my PATH has the following at the start

PATH=C:\Users\a\Desktop\CHDK\gcc4\bin;C;\Pr.....

which I believe is how it finds gmake and the gcc tools.  Not too sure how I set that up - like I said, its been a while - but I'm sure you can google how to setup a default path in the Command Prompt window ....

Update :  you can do most of this using the command prompt icon on CHDK-Shell.  It sets the path and environment up correctly for you each time you launch it.  I'm pretty sure I just copied what it was doing into a generic command prompt shell so that I could work directly with svn downloads rather than CHDK-Shells download directory structure.
« Last Edit: 02 / July / 2012, 21:23:12 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline dvip

  • ****
  • 451
Re: Windows GUI for trunk building
« Reply #663 on: 02 / July / 2012, 23:17:46 »
@waterwingz,

Ok, this is what I get at the prompt after I click on the command prompt icon on CHDK-Shell:

C:\chdk\trunk\trunk1949>

What do I type at this prompt to compile for the A590is-101b?
So I can get what's in a590-101b-1.1.0-r1949-full.zip.

I still need to use the CHDK-Shell. I wish I could do this with a single BAT file that I can have on the Desktop, but this will do for now.


Re: Windows GUI for trunk building
« Reply #664 on: 03 / July / 2012, 00:22:04 »
Ok, this is what I get at the prompt after I click on the command prompt icon on CHDK-Shell:
C:\chdk\trunk\trunk1949>
What do I type at this prompt to compile for the A590is-101b? So I can get what's in a590-101b-1.1.0-r1949-full.zip.
Last time I tried that,  it printed a bunch of banner type text before giving you that prompt.  That text describes what command  you need to type in.  You just need to read it carefully.

hint :  its probably   C:\chdk\trunk\trunk1949>gmake PLATFORM=a590 PLATFORMSUB=101b firzipsubcomplete

Quote
I still need to use the CHDK-Shell. I wish I could do this with a single BAT file that I can have on the Desktop, but this will do for now.
I described how I do just that.  So your wish is up to you.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline dvip

  • ****
  • 451
Re: Windows GUI for trunk building
« Reply #665 on: 03 / July / 2012, 00:50:46 »
Thanks, waterwingz.

gmake PLATFORM=a590 PLATFORMSUB=101b firzipsubcomplete

Did it.

*

Offline msl

  • *****
  • 1263
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: Windows GUI for trunk building
« Reply #666 on: 04 / July / 2012, 16:10:36 »
I think, we have two problems with the CHDK shell.

1.
The update function is broken. The download of the newest trunk or branches are not available. The shell check assembla but finds no new versions.

2.
localbuildconf.inc is not generated correctly (with settings for CHDK-DE/German). Works only after manual editing.

msl

Any thoughts or solutions?

Btw, where is whim?
CHDK-DE:  CHDK-DE links

Re: Windows GUI for trunk building
« Reply #667 on: 04 / July / 2012, 16:57:28 »
Btw, where is whim?
Offline since May 28th apparently.
Ported :   A1200    SD940   G10    Powershot N    G16


*

Offline dvip

  • ****
  • 451
Re: Windows GUI for trunk building
« Reply #668 on: 04 / July / 2012, 20:27:40 »
Hope whim is fine. A cool dude :)
The CHDK-Shell is great.

*

Offline msl

  • *****
  • 1263
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: Windows GUI for trunk building
« Reply #669 on: 06 / July / 2012, 14:28:36 »
I think we have a solution.  :)

The cause for the broken update function was a changed assembla page. There were also problems with the zip function (assembla provides non standard zip files.) and the localbuildconf.inc file.

rudi has made a few changes ​​at the code. A big thank you for this.

I've compiled this new version. I do not know if it will run on any system. Please test it. We called this version 3.43a. You find the executable file and the source code in the attachment. Replaced the old executable file with the new one.

msl

CHDK-DE:  CHDK-DE links

 

Related Topics