CHDK build enviroment setup - General Discussion and Assistance - CHDK Forum supplierdeeply

CHDK build enviroment setup

  • 3 Replies
  • 2221 Views
CHDK build enviroment setup
« on: 25 / March / 2013, 16:25:16 »
Advertisements
I want install working CHDK build enviroment to compile latest source and try add support to new camera.
I have started at wiki page http://chdk.wikia.com/wiki/For_Developers
Download source from SVN - done.

My test one:
http://chdk.wikia.com/wiki/Compiling_CHDK_under_Linux
I tried setup Gcc452 by http://chdk.wikia.com/wiki/Gcc452
This cause is completted at 90 percent for me. Compilation enviroment wasn't ready to work (instalation terminates with error. System:Linux Mint (3.2.0-23-generic #36-Ubuntu x86_64 ))

My test two:
http://chdk.wikia.com/wiki/Compiling_CHDK_under_Windows
I tried install chdk compiler shell on windows with latest patches. Compiler shell source not include latest canon models as a3400IS,a2300IS (trunk300 is default)

Could you to navigate me somebody, please ?
How to build latest sources from svn ?
I want add or modify source for a2400IS
Thanks.

*

Offline srsa_4c

  • ******
  • 4451
Re: CHDK build enviroment setup
« Reply #1 on: 25 / March / 2013, 17:48:41 »
You can find precompiled toolchains for Linux or Windows here: http://forum.chdk-treff.de/download_chdkde.php

*

Offline lapser

  • *****
  • 1093
Re: CHDK build enviroment setup
« Reply #2 on: 25 / March / 2013, 18:26:43 »
With the CHDK shell for Windows, check "Allow Internet" and it will download the latest CHDK 1.2 trunk source. I leave it unchecked normally so it doesn't keep downloading new versions all the time.
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

*

Offline a1ex

  • *****
  • 671
  • ML dev
Re: CHDK build enviroment setup
« Reply #3 on: 25 / March / 2013, 18:33:20 »
The Python GUI worked for me (except that the GUI strings are messed up): http://chdk.wikia.com/wiki/Compiling_CHDK_under_Linux#Python_GUI

GCC 4.6.0 from chdk-treff also works.

To get the latest SVN, use:
svn checkout http://subversion.assembla.com/svn/chdk/trunk chdk

Then, you have to run make in a strange way, like this:
make PLATFORM=a2200 PLATFORMSUB=100d clean
make PLATFORM=a2200 PLATFORMSUB=100d fir

(if you run just make clean... it doesn't clean all the old stuff, figure out why)


 

Related Topics