Source for SDM (Stereo Data Maker) - page 5 - General Discussion and Assistance - CHDK Forum

Source for SDM (Stereo Data Maker)

  • 44 Replies
  • 11968 Views
*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Source for SDM (Stereo Data Maker)
« Reply #40 on: 17 / July / 2009, 07:23:20 »
Advertisements
are you sure you didnt smoke the fairy dust, databoy? you completely missed the point. besides, we know your opinion about gpl etc from your other posts already ;)
i am still missing a statement from david.

*

Offline Jucifer

  • *****
  • 251
  • [A710IS]
Re: Source for SDM (Stereo Data Maker)
« Reply #41 on: 17 / July / 2009, 12:37:47 »
SDM source files lib/ubasic/{tokenizer.*,*ubasic.c} seem to be missing the following:

Code: [Select]
/*
 * Copyright (c) 2006, Adam Dunkels
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 * 3. Neither the name of the author nor the names of its contributors
 *    may be used to endorse or promote products derived from this software
 *    without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 *
 */


*

Offline reyalp

  • ******
  • 13032
Re: Source for SDM (Stereo Data Maker)
« Reply #42 on: 17 / July / 2009, 22:54:22 »
CHDK is NOT a hacked version of the original copyrighted Canon software.
It is an additional software which runs as a spytask together with the original Canon software on the cam.
It just hooks into the original software, runs paralell, but is not a hacked version. So of course it can be under the GPL.
You ought to familiarize yourself with the source before making this statement.
Don't forget what the H stands for.

*

Offline reyalp

  • ******
  • 13032
Re: Source for SDM (Stereo Data Maker)
« Reply #43 on: 29 / August / 2009, 19:59:10 »
This deserves to be recorded here http://chdk.setepontos.com/index.php/topic,4074.0.html
Quote from: mr.burns
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
Quote from: Microfunguy
Do not know how that happened, the bracket is in my copy of the code, but new code did start at #if CAM_MULTIPART.
Quote from: mr.burns
The source code I downloaded again today and the bracket is still missning.
It's missing in the copy I downloaded as well.

In other words, the code used to build released versions of SDM is not the same as source provided. Trivial in this case, but it certainly makes one wonder what else is changed between the code used to build and what is released. If this is just a case of uploading the wrong thing, using version control would help avoid making mistakes like this in the future.
Don't forget what the H stands for.


Re: Source for SDM (Stereo Data Maker)
« Reply #44 on: 30 / August / 2009, 04:38:20 »
It's missing in the copy I downloaded as well.

The corrected version was sent to the website owner as soon as Mr.Burns mentioned it.
I will remind him to replace it.
I do not have access to the server.

 

Related Topics