SDM 1.81 compile error - General Discussion and Assistance - CHDK Forum

SDM 1.81 compile error

  • 2 Replies
  • 4250 Views
SDM 1.81 compile error
« on: 17 / August / 2009, 04:31:04 »
Advertisements
Dear Microfunguy,

I downloaded the source for SDM 1.81 from http://stereo.jpn.org/eng/sdm/index.htm, but if I compile I get compilation error in file core\gui_menu.c.
I investigated and found out that in function gui_menu_draw() a { is missing:

...
case MENUITEM_TEXT:
  if(!curr_menu->menu[imenu].char_size)
  {
    if(conf.camera_orientation != 1)               
    { // <---- This bracket is missing
#if CAM_MULTIPART

I don't know if it was already corrected from your side.

 ;) Best regards
2 x IXUS 860IS 100c
2 x Powershot S110 103a

Re: SDM 1.81 compile error
« Reply #1 on: 17 / August / 2009, 04:58:48 »
Do not know how that happened, the bracket is in my copy of the code, but new code did start at #if CAM_MULTIPART.


David

Re: SDM 1.81 compile error
« Reply #2 on: 17 / August / 2009, 06:09:21 »
I also do not know what happened.
The source code I downloaded again today and the bracket is still missning.
For me its ok, since I added by myself, but for someone else I just want to post a workarround here.

May you can correct it in the source and upload again?

2 x IXUS 860IS 100c
2 x Powershot S110 103a

 

Related Topics


SimplePortal © 2008-2014, SimplePortal