Announcement

Collapse
No announcement yet.

Need Help with OBDGPGLogger in Ubuntu

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Need Help with OBDGPGLogger in Ubuntu

    Hi everyone,

    I am trying to get OBDGPSLogger to work on and am running into some issues. I have searched Google and did not find anything. I currently getting the following error:

    "Received OBD_ERROR from serial read. Exiting"

    I am not sure what I can do to fix this, is their a comand flag to fouce OBDGPSlogger to continue on?

    I am running ubuntu 10.4.1, my OBD -> USB device is a Crescent ELM327 Device and the car is a 2004 Honda Accord. I am comunicating with the car but it just quits and exits. Below I have posted both the out put of the program, and ther serial log.

    ----------- Output ---------------

    Opening serial port /dev/ttyUSB1, this can take a while
    Baudrate guessing: 9600, 38400, success at 38400
    Successfully connected to serial port. Will log obd data
    Successfully connected to gpsd. Will log gps data
    Couldn't get obd bytes for cmd 20
    here
    Error reading from serial port
    Received OBD_ERROR from serial read. Exiting

    ----------- Output ---------------
    Received OBD_ERROR from serial read. Exiting
    Opening serial port /dev/ttyUSB1, this can take a while
    Baudrate guessing: 9600, 38400, success at 38400
    Successfully connected to serial port. Will log obd data
    Your OBD Device claims to support PIDs:
    PID: [column] human_name
    00: [unknown] PIDs supported 00-20
    01: [dtc_cnt] Monitor status since DTCs cleared
    03: [fuelsys] Fuel system 1 and 2 status
    04: [load_pct] Calculated LOAD Value
    05: [temp] Engine Coolant Temperature
    06: [shrtft13] Short Term Fuel Trim - Bank 1,3
    07: [longft13] Long Term Fuel Trim - Bank 1,3
    0B: [map] Intake Manifold Absolute Pressure
    0C: [rpm] Engine RPM
    0D: [vss] Vehicle Speed Sensor
    0E: [sparkadv] Ignition Timing Advance for #1 Cylinder
    0F: [iat] Intake Air Temperature
    11: [throttlepos] Absolute Throttle Position
    13: [o2sloc] Location of Oxygen Sensors
    15: [o2s12] Bank 1 - Sensor 2/Bank 1 - Sensor 2 Oxygen Sensor Output Voltage / Short Term Fuel Trim
    1C: [obdsup] OBD requirements to which vehicle is designed
    20: [unknown] PIDs supported 21-40
    21: [mil_dist] Distance Travelled While MIL is Activated
    34: [lambdac11] Bank 1 - Sensor 1/Bank 1 - Sensor 1 (wide range O2S) Oxygen Sensors Equivalence Ratio (lambda) / Current
    40: [unknown] PIDs supported 41-60
    45: [tp_r] Relative Throttle Position



    -----Serial Log----------
    ATZ
    ATZ


    ELM327 v1.2a

    >

    ?

    >0100
    ATE0
    OK

    >ATL0
    ATL0
    OK

    >ATS0
    ATS0
    ?

    >0100
    0100
    41 00 BE 3E A8 11

    >0120
    0120
    41 20 80 00 10 01

    >0140
    0140
    41 40 08 00 00 00

    >ATZ


    One time it connected and should me about 2 values and then exited, so i know it can talk to my car.

    Any help would be very much appreciated. Thanks

  • #2
    here
    Ouch. I should find that debug spam and take it out

    >ATE0
    OK
    [...]
    >ATS0
    ATS0
    ?
    That's kinda weird, that your device doesn't support ATS0 [which turns off spaces in the output]. It doesn't matter for my parsing process, it's just a speed boost. But still odd.

    On the other hand, I turn off echo ["ATE0"] but it appears to still be echoing things. That's almost certainly the root problem cause [other than "device claming to be ELM compliant when it's actually not"].

    Also weird is the inconsistent behaviour; the top log has an error that 0120 didn't work, but the middle log [showing supported PIDs] shows PIDs higher than 20, which it couldn't do if 0120 didn't work.

    I think I'll check my parser's logic when I get home [half an hour from now] and see if I can fix this; I *think* the root problem is it failing to parse the echo'd command.

    I also gotta write better serial logging, indicating direction.

    So... in answer... give me a couple hours. Also, what version of obdgpslogger is this? If you're not using the version in svn, please try it.

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

    Comment


    • #3
      I'm using the version in svn, also "obdgpslogger -v" outputs Version: 0.15.

      Also here is a link to amazon with the device.

      http://www.amazon.com/Crescent-OBD2-...4603922&sr=8-2

      Comment


      • #4
        I am trying out ubuntu. I can't even pass the cmake step. It looks like I am missing some critical stuff. Please help. Thanks!

        By the way is there a way to set "sudo" to default so I don't need to type it every time?

        [email protected]:/usr/src/obdgpslogger-trunk/build$ sudo cmake .. #
        -- The C compiler identification is GNU
        -- The CXX compiler identification is unknown
        -- Check for working C compiler: /usr/bin/gcc
        -- Check for working C compiler: /usr/bin/gcc -- works
        -- Detecting C compiler ABI info
        -- Detecting C compiler ABI info - done
        CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
        -- Could NOT find FLTK (missing: FLTK_LIBRARIES FLTK_INCLUDE_DIR FLTK_FLUID_EXECUTABLE)
        -- Couldn't find libgps
        -- Looking for ptsname_r
        -- Looking for ptsname_r - found
        -- Looking for include files HAVE_SIGNAL_H
        -- Looking for include files HAVE_SIGNAL_H - found
        -- Looking for sigaction
        -- Looking for sigaction - found
        -- Looking for signal
        -- Looking for signal - found
        -- Couldn't find fluid: required for building GUI
        -- Couldn't find fltk: required for building GUI
        -- Couldn't find fluid: required for building GUI
        -- Couldn't find fltk: required for building GUI
        -- Couldn't find fftw3: required for building obdfft
        -- Could NOT find ZLIB (missing: ZLIB_LIBRARIES ZLIB_INCLUDE_DIRS)
        -- Couldn't find zlib. Will not compile gzip support in obd2csv
        -- Looking for include files HAVE_SYS_SOCKET_H
        -- Looking for include files HAVE_SYS_SOCKET_H - found
        -- Looking for include files HAVE_NETDB_H
        -- Looking for include files HAVE_NETDB_H - found
        -- Looking for getaddrinfo
        -- Looking for getaddrinfo - not found.
        -- Looking for getaddrinfo
        -- Looking for getaddrinfo - found
        -- Found getaddrinfo. Building socket sim generator
        -- Couldn't find fluid: required for building obdsim fltk gui
        -- Couldn't find fltk: required for building obdsim fltk gui
        -- Looking for dlopen
        -- Looking for dlopen - found
        -- Found dlopen. Building dlopen sim generator
        -- Looking for posix_openpt
        -- Looking for posix_openpt - found
        -- Looking for gettimeofday
        -- Looking for gettimeofday - found
        -- Looking for BTPROTO_RFCOMM
        -- Looking for BTPROTO_RFCOMM - not found.
        -- Couldn't find libftdi, required for building obdftdipty
        -- Configuring incomplete, errors occurred!
        PriiDash(TM) open source software
        Enhanced Instrument Panel and Data Logger

        Comment


        • #5
          You should not be running cmake as sudo, try it without?

          CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.

          If removing sudo does not work, try: which g++, and set that path to the CMAKE_CXX_COMPILER environment variable.
          "stop with the REINSTALLS, what do you think we got some lame-o installer!!!" - mitchjs
          RevFE
          My Shop

          Comment


          • #6
            You need the package "build-essential" for the C and C++ compilers, in addition to fltk and libgps:
            sudo aptitude install build-essential libfltk-dev libgps-dev gpsd

            Generally sudo *isn't* permanant on purpose; the implication is that every time you run something with sudo, you're supposed to seriously consider what you're doing since it could damage the system.

            For example, the only step of building obdgpslogger that needs sudo is "make install"; the cmake and the make are done without it.

            On the other hand, to answer the question as posed: "sudo su" will give you a root prompt that you can use for multiple commands. I suggest you probably don't actually want to do this.

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

            Comment


            • #7
              Thanks! I tried to install the packages but not very successful - I am running from USB key and it seems to want to dismount it during installation, and there are somethings it can't find on the web:

              [email protected]:/usr/src/obdgpslogger-trunk/build$ sudo aptitude install build-essential libfltk-dev libgps-dev gpsd
              Reading package lists... Done
              Building dependency tree
              Reading state information... Done
              Initializing package states... Done
              Writing extended state information... Done
              Note: selecting "libfltk1.1-dev" instead of the
              virtual package "libfltk-dev"
              Couldn't find any package whose name or description matched "libgps-dev"
              Couldn't find any package whose name or description matched "gpsd"
              Couldn't find any package whose name or description matched "libgps-dev"
              Couldn't find any package whose name or description matched "gpsd"
              The following NEW packages will be installed:
              build-essential dpkg-dev{a} g++{a} g++-4.4{a} libdrm-dev{a} libfltk1.1{a}
              libfltk1.1-dev libgl1-mesa-dev{a} libpthread-stubs0{a}
              libpthread-stubs0-dev{a} libstdc++6-4.4-dev{a} libx11-dev{a}
              libxau-dev{a} libxcb1-dev{a} libxdmcp-dev{a} mesa-common-dev{a}
              x11proto-core-dev{a} x11proto-input-dev{a} x11proto-kb-dev{a}
              xtrans-dev{a} xz-utils{a}
              The following partially installed packages will be configured:
              initramfs-tools nvidia-current
              0 packages upgraded, 21 newly installed, 0 to remove and 0 not upgraded.
              Need to get 7,847kB/15.2MB of archives. After unpacking 39.8MB will be used.
              Do you want to continue? [Y/n/?] y
              Writing extended state information... Done
              Get:1 http://archive.ubuntu.com/ubuntu/ lucid/main x11proto-core-dev 7.0.16-1 [92.2kB]
              Get:2 http://archive.ubuntu.com/ubuntu/ lucid/main libxau-dev 1:1.0.5-1 [17.1kB]
              Get:3 http://archive.ubuntu.com/ubuntu/ lucid/main libxdmcp-dev 1:1.0.3-1 [21.2kB]
              Get:4 http://archive.ubuntu.com/ubuntu/ lucid/main x11proto-input-dev 2.0-2 [62.5kB]
              Get:5 http://archive.ubuntu.com/ubuntu/ lucid/main x11proto-kb-dev 1.0.4-1 [27.3kB]
              Get:6 http://archive.ubuntu.com/ubuntu/ lucid/main xtrans-dev 1.2.5-1 [68.5kB]
              Get:7 http://archive.ubuntu.com/ubuntu/ lucid/main libpthread-stubs0 0.3-2 [3,196B]
              Get:8 http://archive.ubuntu.com/ubuntu/ lucid/main libpthread-stubs0-dev 0.3-2 [2,414B]
              Get:9 http://archive.ubuntu.com/ubuntu/ lucid/main libxcb1-dev 1.5-2 [73.8kB]
              Get:10 http://archive.ubuntu.com/ubuntu/ lucid/main libx11-dev 2:1.3.2-1ubuntu3 [3,505kB]
              Get:11 http://archive.ubuntu.com/ubuntu/ lucid/main libdrm-dev 2.4.18-1ubuntu3 [515kB]
              Get:12 http://archive.ubuntu.com/ubuntu/ lucid/main libfltk1.1 1.1.10-2 [463kB]
              Get:13 http://archive.ubuntu.com/ubuntu/ lucid/main libfltk1.1-dev 1.1.10-2 [626kB]
              Get:14 http://archive.ubuntu.com/ubuntu/ lucid-updates/main mesa-common-dev 7.7.1-1ubuntu3 [2,339kB]
              Get:15 http://archive.ubuntu.com/ubuntu/ lucid-updates/main libgl1-mesa-dev 7.7.1-1ubuntu3 [31.5kB]
              Err cdrom://Ubuntu 10.04.1 LTS _Lucid Lynx_ - Release i386 (20100816.1)/ lucid/main libstdc++6-4.4-dev 4.4.3-4ubuntu5
              Unable to unmount the CD-ROM in /cdrom/, it may still be in use.
              Get:16 http://archive.ubuntu.com/ubuntu/ lucid/main libstdc++6-4.4-dev 4.4.3-4ubuntu5 [1,491kB]
              Err cdrom://Ubuntu 10.04.1 LTS _Lucid Lynx_ - Release i386 (20100816.1)/ lucid/main g++-4.4 4.4.3-4ubuntu5
              Unable to unmount the CD-ROM in /cdrom/, it may still be in use.
              Get:17 http://archive.ubuntu.com/ubuntu/ lucid/main g++-4.4 4.4.3-4ubuntu5 [4,950kB]
              Err cdrom://Ubuntu 10.04.1 LTS _Lucid Lynx_ - Release i386 (20100816.1)/ lucid/main g++ 4:4.4.3-1ubuntu1
              Unable to unmount the CD-ROM in /cdrom/, it may still be in use.
              Get:18 http://archive.ubuntu.com/ubuntu/ lucid/main g++ 4:4.4.3-1ubuntu1 [1,442B]
              Err cdrom://Ubuntu 10.04.1 LTS _Lucid Lynx_ - Release i386 (20100816.1)/ lucid/main xz-utils 4.999.9beta+20091116-1
              Unable to unmount the CD-ROM in /cdrom/, it may still be in use.
              Get:19 http://archive.ubuntu.com/ubuntu/ lucid/main xz-utils 4.999.9beta+20091116-1 [228kB]
              Err cdrom://Ubuntu 10.04.1 LTS _Lucid Lynx_ - Release i386 (20100816.1)/ lucid/main dpkg-dev 1.15.5.6ubuntu4.1
              Unable to unmount the CD-ROM in /cdrom/, it may still be in use.
              Err http://archive.ubuntu.com/ubuntu/ lucid-updates/main dpkg-dev 1.15.5.6ubuntu4.1
              404 Not Found [IP: 91.189.92.166 80]
              Err cdrom://Ubuntu 10.04.1 LTS _Lucid Lynx_ - Release i386 (20100816.1)/ lucid/main build-essential 11.4build1
              Unable to unmount the CD-ROM in /cdrom/, it may still be in use.
              Get:20 http://archive.ubuntu.com/ubuntu/ lucid/main build-essential 11.4build1 [7,278B]
              Fetched 14.5MB in 2min 10s (111kB/s)
              Preconfiguring packages ...
              Selecting previously deselected package x11proto-core-dev.
              (Reading database ... 129637 files and directories currently installed.)
              Unpacking x11proto-core-dev (from .../x11proto-core-dev_7.0.16-1_all.deb) ...
              Selecting previously deselected package libxau-dev.
              Unpacking libxau-dev (from .../libxau-dev_1%3a1.0.5-1_i386.deb) ...
              Selecting previously deselected package libxdmcp-dev.
              Unpacking libxdmcp-dev (from .../libxdmcp-dev_1%3a1.0.3-1_i386.deb) ...
              Selecting previously deselected package x11proto-input-dev.
              Unpacking x11proto-input-dev (from .../x11proto-input-dev_2.0-2_all.deb) ...
              Selecting previously deselected package x11proto-kb-dev.
              Unpacking x11proto-kb-dev (from .../x11proto-kb-dev_1.0.4-1_all.deb) ...
              Selecting previously deselected package xtrans-dev.
              Unpacking xtrans-dev (from .../xtrans-dev_1.2.5-1_all.deb) ...
              Selecting previously deselected package libpthread-stubs0.
              Unpacking libpthread-stubs0 (from .../libpthread-stubs0_0.3-2_i386.deb) ...
              Selecting previously deselected package libpthread-stubs0-dev.
              Unpacking libpthread-stubs0-dev (from .../libpthread-stubs0-dev_0.3-2_i386.deb) ...
              Selecting previously deselected package libxcb1-dev.
              Unpacking libxcb1-dev (from .../libxcb1-dev_1.5-2_i386.deb) ...
              Selecting previously deselected package libx11-dev.
              Unpacking libx11-dev (from .../libx11-dev_2%3a1.3.2-1ubuntu3_i386.deb) ...
              Selecting previously deselected package libstdc++6-4.4-dev.
              Unpacking libstdc++6-4.4-dev (from .../libstdc++6-4.4-dev_4.4.3-4ubuntu5_i386.deb) ...
              Selecting previously deselected package g++-4.4.
              Unpacking g++-4.4 (from .../g++-4.4_4.4.3-4ubuntu5_i386.deb) ...
              Selecting previously deselected package g++.
              Unpacking g++ (from .../g++_4%3a4.4.3-1ubuntu1_i386.deb) ...
              Selecting previously deselected package libdrm-dev.
              Unpacking libdrm-dev (from .../libdrm-dev_2.4.18-1ubuntu3_i386.deb) ...
              Replaced by files in installed package linux-libc-dev ...
              Selecting previously deselected package libfltk1.1.
              Unpacking libfltk1.1 (from .../libfltk1.1_1.1.10-2_i386.deb) ...
              Selecting previously deselected package libfltk1.1-dev.
              Unpacking libfltk1.1-dev (from .../libfltk1.1-dev_1.1.10-2_i386.deb) ...
              Selecting previously deselected package mesa-common-dev.
              Unpacking mesa-common-dev (from .../mesa-common-dev_7.7.1-1ubuntu3_i386.deb) ...
              Selecting previously deselected package libgl1-mesa-dev.
              Unpacking libgl1-mesa-dev (from .../libgl1-mesa-dev_7.7.1-1ubuntu3_i386.deb) ...
              Selecting previously deselected package xz-utils.
              Unpacking xz-utils (from .../xz-utils_4.999.9beta+20091116-1_i386.deb) ...
              Processing triggers for man-db ...
              Setting up initramfs-tools (0.92bubuntu78) ...
              update-initramfs: deferring update (trigger activated)
              cp: cannot stat `/vmlinuz': No such file or directory
              dpkg: error processing initramfs-tools (--configure):
              subprocess installed post-installation script returned error exit status 1
              Setting up nvidia-current (195.36.24-0ubuntu1~10.04) ...
              update-initramfs: deferring update (trigger activated)
              cp: cannot stat `/vmlinuz': No such file or directory
              dpkg: error processing nvidia-current (--configure):
              subprocess installed post-installation script returned error exit status 1
              Setting up x11proto-core-dev (7.0.16-1) ...
              Setting up libxau-dev (1:1.0.5-1) ...
              Setting up libxdmcp-dev (1:1.0.3-1) ...
              Setting up x11proto-input-dev (2.0-2) ...
              Setting up x11proto-kb-dev (1.0.4-1) ...
              Setting up xtrans-dev (1.2.5-1) ...
              Setting up libpthread-stubs0 (0.3-2) ...
              Setting up libpthread-stubs0-dev (0.3-2) ...
              Setting up libxcb1-dev (1.5-2) ...
              Setting up libx11-dev (2:1.3.2-1ubuntu3) ...
              Setting up libdrm-dev (2.4.18-1ubuntu3) ...
              Setting up libfltk1.1 (1.1.10-2) ...

              Setting up libfltk1.1-dev (1.1.10-2) ...

              Setting up mesa-common-dev (7.7.1-1ubuntu3) ...
              Setting up libgl1-mesa-dev (7.7.1-1ubuntu3) ...
              Setting up xz-utils (4.999.9beta+20091116-1) ...
              Setting up libstdc++6-4.4-dev (4.4.3-4ubuntu5) ...
              Setting up g++-4.4 (4.4.3-4ubuntu5) ...
              Setting up g++ (4:4.4.3-1ubuntu1) ...
              update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode.

              Processing triggers for python-gmenu ...
              Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
              Processing triggers for libc-bin ...
              ldconfig deferred processing now taking place
              Processing triggers for python-support ...
              Errors were encountered while processing:
              initramfs-tools
              nvidia-current
              E: Failed to fetch http://archive.ubuntu.com/ubuntu/poo...tu4.1_all.deb: 404 Not Found [IP: 91.189.92.166 80]
              E: Sub-process /usr/bin/dpkg returned an error code (1)
              A package failed to install. Trying to recover:
              Setting up initramfs-tools (0.92bubuntu78) ...
              update-initramfs: deferring update (trigger activated)
              cp: cannot stat `/vmlinuz': No such file or directory
              dpkg: error processing initramfs-tools (--configure):
              subprocess installed post-installation script returned error exit status 1
              Setting up nvidia-current (195.36.24-0ubuntu1~10.04) ...
              update-initramfs: deferring update (trigger activated)
              cp: cannot stat `/vmlinuz': No such file or directory
              dpkg: error processing nvidia-current (--configure):
              subprocess installed post-installation script returned error exit status 1
              Processing triggers for python-gmenu ...
              Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
              Processing triggers for python-support ...
              Errors were encountered while processing:
              initramfs-tools
              nvidia-current
              Reading package lists... Done
              Building dependency tree
              Reading state information... Done
              Reading extended state information
              Initializing package states... Done
              Writing extended state information... Done
              PriiDash(TM) open source software
              Enhanced Instrument Panel and Data Logger

              Comment


              • #8
                Weird. Honestly I suspect it's a new version hasn't made it to the mirror you're using yet. Try re-running:
                "sudo aptitude update && sudo aptitude safe-upgrade" and then run the same command again, "sudo aptitude install build-essential libfltk-dev libgps-dev gpsd"

                Also, open the package repository manager, and take out the ubuntu CD stuff. You might even want to try switching mirrors.

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

                Comment


                • #9
                  Originally posted by chunkyks View Post
                  Weird. Honestly I suspect it's a new version hasn't made it to the mirror you're using yet. Try re-running:
                  "sudo aptitude update && sudo aptitude safe-upgrade" and then run the same command again, "sudo aptitude install build-essential libfltk-dev libgps-dev gpsd"

                  Also, open the package repository manager, and take out the ubuntu CD stuff. You might even want to try switching mirrors.

                  Gary (-;
                  Thanks for being so patient guiding me along the way!

                  It wasn't warning free yet but I got one small step closer. I think part of the reason was the computer needs to be restarted after some updates. Earlier when I just started using ubuntu there was a prompt to update drivers. I tried to update the video (nvidia) driver using the gui app and it eventually crashed. When I ran
                  sudo aptitude update && sudo aptitude safe-upgrade
                  there were again some complaints about nvidia and also warnings of low disk space. I restarted the computer anyway and proceeded to run
                  sudo aptitude install build-essential libfltk-dev libgps-dev gpsd

                  Now the only thing it can't find seems to be the GPS stuff:

                  Couldn't find any package whose name or description matched "libgps-dev"
                  Couldn't find any package whose name or description matched "gpsd"
                  Couldn't find any package whose name or description matched "libgps-dev"
                  Couldn't find any package whose name or description matched "gpsd"
                  Any idea?
                  PriiDash(TM) open source software
                  Enhanced Instrument Panel and Data Logger

                  Comment


                  • #10
                    Weird that gpsd and libgps-dev are missing. Maybe you could check your package manager and make sure the extra repositories are enabled?

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

                    Comment


                    • #11
                      Some progress ... new issues

                      Originally posted by chunkyks View Post
                      Weird that gpsd and libgps-dev are missing. Maybe you could check your package manager and make sure the extra repositories are enabled?

                      Gary (-;
                      I made some room on the hard drive to install Ubuntu - previously I was running from a USB key. It made some difference. The gui update manager requested restart of the PC while previously the command line did not. I found the gui control "Software Sources" and clicked everything that looks like extra software. Now
                      Code:
                      sudo aptitude install build-essential libfltk-dev libgps-dev gpsd
                      works fine!

                      svn and cmake still need to be downloaded but each required command is prompted so no problem.

                      cmake can't find some things:
                      ...
                      -- Couldn't find fftw3: required for building obdfft
                      -- Could NOT find ZLIB (missing: ZLIB_LIBRARIES ZLIB_INCLUDE_DIRS)
                      -- Couldn't find zlib. Will not compile gzip support in obd2csv
                      ...
                      -- Looking for getaddrinfo
                      -- Looking for getaddrinfo - not found.
                      -- Looking for getaddrinfo
                      -- Looking for getaddrinfo - found
                      ...
                      -- Looking for BTPROTO_RFCOMM
                      -- Looking for BTPROTO_RFCOMM - not found.
                      -- Couldn't find libftdi, required for building obdftdipty
                      ...
                      and "make" didn't make it:

                      ....
                      Linking C executable ../../../bin/obdgpslogger
                      [ 28%] Built target obdgpslogger
                      make[2]: *** No rule to make target `/usr/bin/fluid', needed by `src/gui/convertwindow.h'. Stop.
                      make[1]: *** [src/gui/CMakeFiles/ckobdfl.dir/all] Error 2
                      make: *** [all] Error 2
                      Maybe something is still missing?
                      PriiDash(TM) open source software
                      Enhanced Instrument Panel and Data Logger

                      Comment


                      • #12
                        Crap, I always forget fluid. You need:
                        sudo aptitude install fluid
                        [why that doesn't come as part of fltk-dev, I don't know... grrrr...]

                        You don't need fftw3; that's used to build a little tool for doing fourier transforms on the data after you've got data. You're welcome to build it in:
                        sudo aptitude install libfftw3-dev

                        If you have to ask what fourier transforms are, it means you don't need them :-)

                        zlib support is just so that obd2csv can gzip the csv it creates. Again, not needed but:
                        sudo aptitude install libz-dev

                        libftdi... you don't want that. That's a hack around crippled and/or broken kernels. If you're using mainline ubuntu, you're good.

                        BTPROTO_RFCOMM is used by obdsim to simulate a bluetooth OBDII device. Pretty much only useful to developers.

                        I think that's about that - overall... you need to install fluid but everything else should be perfectly ignorable.

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

                        Comment


                        • #13
                          Originally posted by chunkyks View Post
                          Crap, I always forget fluid. You need:
                          sudo aptitude install fluid
                          [why that doesn't come as part of fltk-dev, I don't know... grrrr...]

                          You don't need fftw3; that's used to build a little tool for doing fourier transforms on the data after you've got data. You're welcome to build it in:
                          sudo aptitude install libfftw3-dev

                          If you have to ask what fourier transforms are, it means you don't need them :-)

                          zlib support is just so that obd2csv can gzip the csv it creates. Again, not needed but:
                          sudo aptitude install libz-dev

                          libftdi... you don't want that. That's a hack around crippled and/or broken kernels. If you're using mainline ubuntu, you're good.

                          BTPROTO_RFCOMM is used by obdsim to simulate a bluetooth OBDII device. Pretty much only useful to developers.

                          I think that's about that - overall... you need to install fluid but everything else should be perfectly ignorable.

                          Gary (-;
                          Thanks that helps! I did
                          Code:
                          sudo aptitude install fluid libfftw3-dev libz-dev
                          OK.
                          cmake is complaining about some conflicts:
                          CMake Warning at src/analysis/CMakeLists.txt:49 (ADD_EXECUTABLE):
                          Cannot generate a safe linker search path for target obdfft because files
                          in some directories may conflict with libraries in implicit directories:

                          link library [libX11.so] in /usr/lib may be hidden by files in:
                          /usr/lib/.
                          link library [libm.so] in /usr/lib may be hidden by files in:
                          /usr/lib/.

                          Some of these libraries may not be found correctly.
                          I went ahead and did "make" and then run obdsim and obdgui. All worked! Thank you!
                          PriiDash(TM) open source software
                          Enhanced Instrument Panel and Data Logger

                          Comment


                          • #14
                            Yay!

                            Yeah, that warning has crept in with the latest version. The paths must be leaking in from cmake's fltk module, but just by eyeballing it, you can see that the error is clearly wrong. I just didn't get around to fixing it yet.

                            So, I am a little confused; are you using cygwin or ubuntu? Obviously I work with both :-)

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

                            Comment


                            • #15
                              Originally posted by chunkyks View Post
                              Yay!

                              Yeah, that warning has crept in with the latest version. The paths must be leaking in from cmake's fltk module, but just by eyeballing it, you can see that the error is clearly wrong. I just didn't get around to fixing it yet.

                              So, I am a little confused; are you using cygwin or ubuntu? Obviously I work with both :-)

                              Gary (-;
                              Both here too For now at least. I need to use Windows laptop for work - thus cygwin. Eventually I will install my personal laptop in the car running ubuntu. So I am playing with ubuntu also. Both are new to me thus so many dumb questions.
                              PriiDash(TM) open source software
                              Enhanced Instrument Panel and Data Logger

                              Comment

                              Working...
                              X