Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Need Help with OBDGPGLogger in Ubuntu

  1. #11
    Low Bitrate 2009Prius's Avatar
    Join Date
    Sep 2010
    Posts
    60

    Question Some progress ... new issues

    Quote 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?

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

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    929
    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

  3. #13
    Low Bitrate 2009Prius's Avatar
    Join Date
    Sep 2010
    Posts
    60
    Quote 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!

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

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    929
    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

  5. #15
    Low Bitrate 2009Prius's Avatar
    Join Date
    Sep 2010
    Posts
    60
    Quote 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.

  6. #16
    SuperMod - OBDII GPS Logger forum
    Auto Apps:loading...

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    929
    Ah, coo. Good to know it's all working

    And you're safely into the realm of "there are no dumb questions", here. The problems you're seeing are mostly the unpleasant underbelly of software development, and unlikely to be answerable by google since they're pretty specific to my software :-)

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

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Lilliput touch with Ubuntu?
    By sansbury in forum LCD/Display
    Replies: 1
    Last Post: 06-13-2011, 10:20 AM
  2. Have Questions on Linux and Ubuntu Linux.
    By HiJackZX1 in forum Linux
    Replies: 17
    Last Post: 03-05-2010, 09:59 AM
  3. Ubuntu Mobile - the next gen Car PC frontend!?
    By wywywywy in forum Unix, Linux, BSD, Etc
    Replies: 27
    Last Post: 06-23-2009, 11:31 AM
  4. Ubuntu on Mac Mini (sleep issues)
    By natedawgg in forum Linux
    Replies: 7
    Last Post: 02-06-2009, 01:28 PM
  5. Ubuntu Vs. XP...
    By ilovemyhonda in forum Linux
    Replies: 32
    Last Post: 10-04-2008, 12:47 PM

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
  •