Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23

Thread: Anyone with OBD Key software?

  1. #11
    VENDOR - ScanTool Vitaliy's Avatar
    Join Date
    Dec 2006
    Location
    Phoenix, AZ
    Posts
    624
    Quote Originally Posted by robiewp View Post
    Hey guys,
    I bought an OBD Key in 2006 and have been happily using it with my Palm Treo since.[...]

    I will add that, independent of the shadyness of their operation, the fact that their software is based on a GNU general public license application gives you the right to freely redistribute their modification of it. I.E., what I'm requesting is legal.
    I know that Dana Peters sold his application to other companies (not sure about OBDKey). IANAL, but I think it can be done without breaching the terms of the GPL. For example, look at FreeRTOS vs OpenRTOS.

    Vitaliy
    OBDLink MX: world's smallest, fastest, most advanced OBD/Bluetooth adapter with SW and MS CAN support. Read the review to learn more.
    — Need to look up a diagnostic trouble code? Try the most up-to-date, free DTCsearch.com!

    You cannot send me a private message using this forum. Use my email instead: vitaliy[@]scantool.net.

  2. #12
    SuperMod - OBDII GPS Logger forum
    Auto Apps:loading...

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    929
    Lemme see the error about cc.exe in detail, perhaps I can advise. Just the other day someone else got my software working under cygwin.

    I know that Dana Peters sold his application to other companies (not sure about OBDKey). IANAL, but I think it can be done without breaching the terms of the GPL.
    You can, indeed, sell the software for money.

    But...

    The GPL means you also must offer people [to whom you distribute your work] your modifications under the same license as you received permission to redistribute the original work - the GPL. So all it would take it one person to buy your stuff, and they can redistribute it after they get it from you.

    The GPL absolutely doesn't preclude people making money from GPL software. It just precludes you from stopping people from redistributing your modifications to someone else's GPL'd code. Read Stallman's book ["Free as in Freedom"] for a cetechismic covering of this topic.

    Gary (-;
    OBDGPSLogger, for logging OBDII and/or GPS data
    OBDSim, an OBDII/ELM327 software simulator
    mp3car forums: obdgpslogger, obdsim

  3. #13
    Newbie
    Join Date
    Sep 2006
    Posts
    11

    my current error

    Gary, I copy/pasted my error below. Not really sure what is going on as I am not too familiar with cmake. Any ideas? I'm running 32-bit Win7 RC1.

    $ cd obdgpslogger-0.9

    $ cd build

    $ cmake ..
    -- The CXX compiler identification is unknown
    -- Check for working CXX compiler: /usr/bin/CC.exe
    -- Check for working CXX compiler: /usr/bin/CC.exe -- broken
    CMake Error at /usr/share/cmake-2.6.4/Modules/CMakeTestCXXCompiler.cmake:25 (MES
    SAGE):
    The C++ compiler "/usr/bin/CC.exe" is not able to compile a simple test
    program.

    It fails with the following output:

    Change Dir: /home/saadi/obdgpslogger-0.9/build/CMakeFiles/CMakeTmp



    Run Build Command:/usr/bin/make.exe "cmTryCompileExec/fast"

    /usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
    CMakeFiles/cmTryCompileExec.dir/build

    make[1]: Entering directory
    `/home/saadi/obdgpslogger-0.9/build/CMakeFiles/CMakeTmp'

    /usr/bin/cmake.exe -E cmake_progress_report
    /home/saadi/obdgpslogger-0.9/build/CMakeFiles/CMakeTmp/CMakeFiles 1

    Building CXX object CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o

    /usr/bin/CC.exe -o CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o -c
    /home/saadi/obdgpslogger-0.9/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx

    CC: installation problem, cannot exec 'cc1plus': No such file or directory

    make[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o] Error
    1

    make[1]: Leaving directory
    `/home/saadi/obdgpslogger-0.9/build/CMakeFiles/CMakeTmp'

    make: *** [cmTryCompileExec/fast] Error 2





    CMake will not be able to correctly generate this project.
    Call Stack (most recent call first):
    CMakeLists.txt:14 (PROJECT)


    -- Configuring incomplete, errors occurred!

  4. #14
    SuperMod - OBDII GPS Logger forum
    Auto Apps:loading...

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    929
    CC: installation problem, cannot exec 'cc1plus': No such file or directory
    Perhaps you need to install a C++ compiler aswell? There are some C++ components in obdgpslogger.

    Try checking that you have the package gcc-g++ installed as well as gcc-core?

    Gary (-;
    OBDGPSLogger, for logging OBDII and/or GPS data
    OBDSim, an OBDII/ELM327 software simulator
    mp3car forums: obdgpslogger, obdsim

  5. #15
    SuperMod - OBDII GPS Logger forum
    Auto Apps:loading...

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    929
    Oh, also, 0.9 is relatively old - I strongly suggest using an svn checkout of the code :-)

    Gary (-;
    OBDGPSLogger, for logging OBDII and/or GPS data
    OBDSim, an OBDII/ELM327 software simulator
    mp3car forums: obdgpslogger, obdsim

  6. #16
    Raw Wave
    Auto Apps:loading...
    justchat_1's Avatar
    Join Date
    Jul 2008
    Location
    Boston, Ma or NY,NY
    Posts
    2,359
    Quote Originally Posted by Vitaliy View Post
    I know that Dana Peters sold his application to other companies (not sure about OBDKey). IANAL, but I think it can be done without breaching the terms of the GPL. For example, look at FreeRTOS vs OpenRTOS.

    Vitaliy
    If all the code comes from a single author, that code can be licensed under multiple licenses (ex: GPL and Commercial). If, however, anyone contributes to that open source code, they now own part of the copyright. Their code is now released under GPL and cannot be licensed under any more restrictive license.

  7. #17
    Newbie
    Join Date
    Sep 2006
    Posts
    11

    makin progress!

    so i installed the g++ compiler and I got a little further into the build. i also checkedout your latest code from the svn and ran into a compilation error on line 303 of main.c. zErrMsg is not defined. after adding (char* zErrMsg into the code, I got it to build up to this point (not sure what is wrong now!):

    $ make
    [ 2%] Building C object src/obdinfo/CMakeFiles/ckobdinfo.dir/obdconvertfunction
    s.o
    [ 4%] Building C object src/obdinfo/CMakeFiles/ckobdinfo.dir/obdrevconvertfunct
    ions.o
    [ 6%] Building C object src/obdinfo/CMakeFiles/ckobdinfo.dir/obdservicecommands
    .o
    Linking C static library libckobdinfo.a
    [ 6%] Built target ckobdinfo
    [ 9%] Building C object src/conf/CMakeFiles/ckobdconfigfile.dir/obdconfigfile.o

    Linking C static library libckobdconfigfile.a
    [ 9%] Built target ckobdconfigfile
    [ 11%] Building C object libs/sqlite3/CMakeFiles/cksqlite.dir/sqlite3.o
    Linking C static library libcksqlite.a
    [ 11%] Built target cksqlite
    [ 13%] Building C object src/logger/CMakeFiles/obdgpslogger.dir/database.o
    [ 16%] Building C object src/logger/CMakeFiles/obdgpslogger.dir/gpscomm.o
    [ 18%] Building C object src/logger/CMakeFiles/obdgpslogger.dir/gpsdb.o
    [ 20%] Building C object src/logger/CMakeFiles/obdgpslogger.dir/main.o
    [ 23%] Building C object src/logger/CMakeFiles/obdgpslogger.dir/obddb.o
    [ 25%] Building C object src/logger/CMakeFiles/obdgpslogger.dir/obddbus.o
    [ 27%] Building C object src/logger/CMakeFiles/obdgpslogger.dir/obdserial.o
    [ 30%] Building C object src/logger/CMakeFiles/obdgpslogger.dir/supportedcommand
    s.o
    [ 32%] Building C object src/logger/CMakeFiles/obdgpslogger.dir/tripdb.o
    Linking C executable ../../../bin/obdgpslogger.exe
    [ 32%] Built target obdgpslogger
    [ 34%] Building C object src/kml/CMakeFiles/obd2kml.dir/heightandcolor.o
    [ 37%] Building C object src/kml/CMakeFiles/obd2kml.dir/obdgpskml.o
    [ 39%] Building C object src/kml/CMakeFiles/obd2kml.dir/singleheight.o
    Linking C executable ../../../bin/obd2kml.exe
    [ 39%] Built target obd2kml
    [ 41%] Building C object src/csv/CMakeFiles/obd2csv.dir/obdgpscsv.o
    Linking C executable ../../../bin/obd2csv.exe
    [ 41%] Built target obd2csv
    [ 44%] Building C object src/sim/CMakeFiles/ckobdsim_dlopen.dir/generators/dlope
    n/gen_dlopen.o
    Linking C static library libckobdsim_dlopen.a
    [ 44%] Built target ckobdsim_dlopen
    [ 46%] Generating simguifltk.h
    [ 48%] Building CXX object src/sim/CMakeFiles/ckobdsim_gui_fltk.dir/simguifltk.o

    Linking CXX static library libckobdsim_gui_fltk.a
    [ 51%] Built target ckobdsim_gui_fltk
    [ 53%] Building C object src/sim/CMakeFiles/ckobdsim_logger.dir/generators/logge
    r/gen_logger.o
    Linking C static library libckobdsim_logger.a
    [ 53%] Built target ckobdsim_logger
    [ 55%] Building C object src/sim/CMakeFiles/ckobdsim_random.dir/generators/rando
    m/gen_random.o
    Linking C static library libckobdsim_random.a
    [ 55%] Built target ckobdsim_random
    [ 58%] Building C object src/sim/CMakeFiles/obdsim.dir/obdsim.o
    [ 60%] Building C object src/sim/CMakeFiles/obdsim.dir/simport.o
    Linking C executable ../../../bin/obdsim.exe
    /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: warning: au
    to-importing has been activated without --enable-auto-import specified on the co
    mmand line.
    This should work unless it involves constant data structures referencing symbols
    from auto-imported DLLs.CMakeFiles/obdsim.dir/simport.o:simport.c.text+0xe):
    undefined reference to `_posix_openpt'
    Info: resolving vtable for Fl_Inputby linking to __imp___ZTV8Fl_Input (auto-impo
    rt)
    Info: resolving vtable for Fl_Repeat_Buttonby linking to __imp___ZTV16Fl_Repeat_
    Button (auto-import)
    Info: resolving vtable for Fl_Buttonby linking to __imp___ZTV9Fl_Button (auto-im
    port)
    Info: resolving vtable for Fl_Menu_Barby linking to __imp___ZTV11Fl_Menu_Bar (au
    to-import)
    Info: resolving vtable for Fl_Double_Windowby linking to __imp___ZTV16Fl_Double_
    Window (auto-import)
    Info: resolving Fl::e_keysym by linking to __imp___ZN2Fl8e_keysymE (auto-im
    port)
    collect2: ld returned 1 exit status
    make[2]: *** [../bin/obdsim.exe] Error 1
    make[1]: *** [src/sim/CMakeFiles/obdsim.dir/all] Error 2
    make: *** [all] Error 2

  8. #18
    SuperMod - OBDII GPS Logger forum
    Auto Apps:loading...

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    929
    Oh, ugh. More posix-cygwin junk. First thing is that all that scary C++ vtable warning stuff is just cygwin trying to put the fear in you. Ignore it.

    FWIW, obdgpslogger actually build for you; The actual error there is in obdsim. The short version is "just delete src/sim/CMakeLists.txt". That way it won't try to build obdsim at all.

    Obviously I'd rather fix it properly, so ... please could you try adding this near the top of src/sim/simport.c :
    Code:
    #ifdef __CYGWIN__
        // Cygwin doesn't currently have posix_openpt(3).
        int posix_openpt(int oflag) {
            return open("/dev/ptmx", oflag);
        }
    #endif
    And yeah - I added that sqlite thing earlier but I guess I screwed up. Sorry! But that's the right fix :-)

    Gary (-;
    OBDGPSLogger, for logging OBDII and/or GPS data
    OBDSim, an OBDII/ELM327 software simulator
    mp3car forums: obdgpslogger, obdsim

  9. #19
    SuperMod - OBDII GPS Logger forum
    Auto Apps:loading...

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    929
    ... or edit simport.c, and uncomment the first line of simport_open, and comment the second line instead.

    Gary (-;
    OBDGPSLogger, for logging OBDII and/or GPS data
    OBDSim, an OBDII/ELM327 software simulator
    mp3car forums: obdgpslogger, obdsim

  10. #20
    VENDOR - ScanTool Vitaliy's Avatar
    Join Date
    Dec 2006
    Location
    Phoenix, AZ
    Posts
    624
    Quote Originally Posted by justchat_1 View Post
    If all the code comes from a single author, that code can be licensed under multiple licenses (ex: GPL and Commercial). If, however, anyone contributes to that open source code, they now own part of the copyright. Their code is now released under GPL and cannot be licensed under any more restrictive license.
    This is also my interpretation of the GPL.
    OBDLink MX: world's smallest, fastest, most advanced OBD/Bluetooth adapter with SW and MS CAN support. Read the review to learn more.
    — Need to look up a diagnostic trouble code? Try the most up-to-date, free DTCsearch.com!

    You cannot send me a private message using this forum. Use my email instead: vitaliy[@]scantool.net.

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. How to setup an audio gateway AKA cell phone on your car's speakers
    By Injector in forum Wireless Communications
    Replies: 45
    Last Post: 12-03-2009, 09:59 AM
  2. Custom Key RF transmitter
    By joc_06 in forum Hardware Development
    Replies: 2
    Last Post: 03-25-2009, 06:10 PM
  3. OBD II connector on an OBD I car
    By HearseNurse in forum Engine Management, OBD-II, Engine Diagnostics, etc.
    Replies: 6
    Last Post: 03-23-2009, 09:52 AM
  4. Confused about OBD II
    By tom2112 in forum Engine Management, OBD-II, Engine Diagnostics, etc.
    Replies: 30
    Last Post: 10-19-2007, 01:06 AM
  5. NaviVoice v.6 RELEASED!
    By 0l33l in forum PowerVoice
    Replies: 28
    Last Post: 10-11-2004, 12:34 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •