Adding new cameras, applying patches into trunk (with source code prepared) - page 39 - General Discussion and Assistance - CHDK Forum
supplierdeeply

Adding new cameras, applying patches into trunk (with source code prepared)

  • 1679 Replies
  • 782436 Views
*

Offline philmoz

  • *****
  • 3450
    • Photos
Advertisements
Back from vacation and trying to build the latest versions for some of the cameras I'm keeping an eye on.  

Getting this with the ones I have tried so far :

Code: [Select]
========== C:\CHDK\TRUNK\TRUNK1236\BIN\LOGS\ERR-IXUS120_SD940-103C.TXT ==========

C:\CHDK\gcc4\bin\gmake.exe[2]: *** No rule to make target `../../tools/font_8x16_pack.exe', needed by `font_8x16_uni_packed.h'.  Stop.
C:\CHDK\gcc4\bin\gmake.exe[1]: *** [all-recursive] Error 1
gmake: *** [all-recursive] Error 1

Straight download of trunk 1236 via CHDK-Shell-v332.


Check the Makefile in the tools directory - it should have the entries to build this tool.
The correct Makefile is in SVN so I'm not sure why CHDK-Shell isn't picking it up.

Phil.

Edit: Just tried CHDK-Shell v332 and trunk 1236 and it worked fine (tried G12 1.00c and Ixus120 1.03c).

« Last Edit: 11 / July / 2011, 19:05:50 by philmoz »
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)

Back from vacation and trying to build the latest versions for some of the cameras I'm keeping an eye on.   

Getting this with the ones I have tried so far :

Code: [Select]
========== C:\CHDK\TRUNK\TRUNK1236\BIN\LOGS\ERR-IXUS120_SD940-103C.TXT ==========

C:\CHDK\gcc4\bin\gmake.exe[2]: *** No rule to make target `../../tools/font_8x16_pack.exe', needed by `font_8x16_uni_packed.h'.  Stop.
C:\CHDK\gcc4\bin\gmake.exe[1]: *** [all-recursive] Error 1
gmake: *** [all-recursive] Error 1

Straight download of trunk 1236 via CHDK-Shell-v332.


Check the Makefile in the tools directory - it should have the entries to build this tool.
The correct Makefile is in SVN so I'm not sure why CHDK-Shell isn't picking it up.

Phil.

Forgot to mention that I loaded your latest sig finder, if that matters.


Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline philmoz

  • *****
  • 3450
    • Photos
Back from vacation and trying to build the latest versions for some of the cameras I'm keeping an eye on.  

Getting this with the ones I have tried so far :

Code: [Select]
========== C:\CHDK\TRUNK\TRUNK1236\BIN\LOGS\ERR-IXUS120_SD940-103C.TXT ==========

C:\CHDK\gcc4\bin\gmake.exe[2]: *** No rule to make target `../../tools/font_8x16_pack.exe', needed by `font_8x16_uni_packed.h'.  Stop.
C:\CHDK\gcc4\bin\gmake.exe[1]: *** [all-recursive] Error 1
gmake: *** [all-recursive] Error 1

Straight download of trunk 1236 via CHDK-Shell-v332.


Check the Makefile in the tools directory - it should have the entries to build this tool.
The correct Makefile is in SVN so I'm not sure why CHDK-Shell isn't picking it up.

Phil.

Forgot to mention that I loaded your latest sig finder, if that matters.




Ah that explains it - that would have replaced the tools/Makefile with one that doesn't have the new font_8x16_pack.exe stuff. You'll need to update the tools/Makefile to also include the rules for font_8x16_pack.exe.
(I'll update the NewSigZip.zip file with the correct Makefile tonight).

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 funnel

  • ****
  • 349
Compiler throws a funny warning now  :D . Philmoz is a time traveler! Why would the compiler even check the time? Like everybody lives in the same time zone.
Code: [Select]
gmake.exe[1]: *** Warning: File `Makefile' has modification time in the future (1310489588 > 1310474842)


Compiler throws a funny warning now  :D . Philmoz is a time traveler! Why would the compiler even check the time? Like everybody lives in the same time zone.
Code: [Select]
gmake.exe[1]: *** Warning: File `Makefile' has modification time in the future (1310489588 > 1310474842)
This happens after every update if you grab the update as soon as it comes out and live in time zones west of GMT.   Fixes itself in 24 hours and can safely be ignored.

Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Following a report by maverick here and the following posts (#913 - 918) here is the requested patch.
This essentially resets CAM_JPEG_WIDTH, CAM_JPEG_HEIGHT, and the 4 CAM_ACTIVE_AREA
camera properties for S95 to the values used for S90 and G11, which use the same sensor.

According to maverick, this allows S95 generated DNGs to be opened in Photoshop CS5.

Note that I have no idea why this would be, this was just a lucky guess  :D

Patch generated by diffing modified trunk1236 with trunk1236
Patch to update palette for A1100.
I contacted philmoz and he suggested to make a new define in camera.h. He tested the fix for both sx30 and g12.

I made some additional changes for sx220:
-added the adjustable ALT button code in core/gui.c and camera/kbd.c
-fixed and added two new modes in camera/shooting.c modelist
-added CAM_KEY_CLICK_DELAY 150 to platform_camera.h like the sx30 to fix the button clicks in ptp

Added in changeset 1237

Thx goes to the contributors.

msl
« Last Edit: 14 / July / 2011, 08:56:26 by msl »
CHDK-DE:  CHDK-DE links

*

Offline philmoz

  • *****
  • 3450
    • Photos
Fix for a bug introduced with my recent space optimisation changes.
Fixes problem with mode conversion from Canon mode numbers to CHDK mode numbers not working correctly.

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 msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Fix for a bug introduced with my recent space optimisation changes.

Thx, added in changset 1238

msl
CHDK-DE:  CHDK-DE links


*

Offline philmoz

  • *****
  • 3450
    • Photos
SX130is firmware version 1.01f

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 msl

  • *****
  • 1280
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
SX130is firmware version 1.01f

Thx phil, added in changeset 1239

msl

CHDK-DE:  CHDK-DE links

 

Related Topics