Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: cygwin setup questions

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

    Question cygwin setup questions

    This is the first one and I am sure there will be more to come.

    Trying to get setup in Windows XP here. Instruction says download gcc, but there are many difference gccs: C, C++, Fortran (anybody remember this?) ... Which one should I download? Thanks!

    Same question for subversion. Thanks!

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

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    924
    *looks*

    Note: Each time you select one, you may additionally get others selected automatically. Leave those checked, too.

    The ones you want are "gcc-core" and "gcc-g++". Subversion, you just want "subversion".

    You also will want "X11/libfltk-devel" and "X11/libfltk1.1-gdi" for the GUI

    Oh! Hrm. I'm looking and I don't see gpsd in there. GPS isn't a requirement for my software, although obviously the google earth stuff won't work without it. That might be a separate compilation job, I'll look later.

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

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

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    924
    *looks*

    Note: Each time you select one, you may additionally get others selected automatically. Leave those checked, too.

    The ones you want are "gcc-core" and "gcc-g++". Subversion, you just want "subversion".

    You also will want "X11/libfltk-devel" and "X11/libfltk1.1-gdi" for the GUI

    Oh! Hrm. I'm looking and I don't see gpsd in there. GPS isn't a requirement for my software, although obviously the google earth stuff won't work without it. That might be a separate compilation job, I'll look later.

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

  4. #4
    Low Bitrate 2009Prius's Avatar
    Join Date
    Sep 2010
    Posts
    60
    Well I have a funny problem. I downloaded required packages and installed from the local directories. When I run
    cmake .. #
    it tried to invoke gmake.exe from a Matlab (Windows version) subdirectory and failed. I searched the disk and that's the only place that has gmake. I thought I would look into the install log but I only found the log of the downloading, not the installing. Any suggestions?

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

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    924
    Perhaps you need cygwin's "devel/make" aswell?

    Alternatively, "gmake" is gnu make usually, which is what you have. You could just symlink them:
    ln -s /usr/bin/make /usr/bin/gmake

    I think cmake might have an option to choose which "make" to use with the "Unix Makefiles" target but I can't remember what it is.

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

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

    Question Still struggling with building the project

    Sorry for my continuing stupid questions.

    I made a tiny little step forward:
    I found some parameters in the file "CMakeCache.txt" points to the Windows Matlab gmake.exe so I changed them to /usr/bin/make and that worked.

    But then there are some more things that were not found:

    $ cmake .. #
    ...
    -- Couldn't find libgps
    -- Couldn't find dbus
    -- Looking for ptsname_r
    -- Looking for ptsname_r - not found
    ...
    cygwin warning:
    MS-DOS style path detected: C:/msys/1.0/local/include/fftw3.h
    Preferred POSIX equivalent is: /cygdrive/c/msys/1.0/local/include/fftw3.h
    CYGWIN environment variable option "nodosfilewarning" turns off this warning.
    Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/usin...sing-pathnames
    -- Couldn't find fftw3: required for building obdfft
    ...
    -- 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
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /obdgpslogger-0.15/build
    and some of them generated new entries in the file again pointing to some items in the Windows Matlab directories:

    ...
    //Path to a file.
    FFTW3_INCLUDE_DIR:PATH=FFTW3_INCLUDE_DIR-NOTFOUND

    //Path to a library.
    FFTW3_LIBRARY:FILEPATH=/cygdrive/c/Program Files/MATLAB/R2008b/bin/win32/./libfftw3.dll

    ...
    I suppose the "libgps" is the missing gpsd you mentioned. How about others?

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

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    924
    Not stupid at all!

    libgps is missing gpsd, yeah. It's not necessary, at least to start.

    dbus you don't want, and is disabled by default in svn.

    fftw is used in only one of the tools I build, a little thing to do fourier transforms on data. This one's in the category of "if you have to ask, you don't want it".

    btproto_rfcomm is used for the obd simulator to simulate a bluetooth device. You may find it useful to see the obdsim doing something just so you don't have to walk out to your car, but you don't want the bluetooth bit.

    libftdi is used to build a tool so that linux machines with braindamaged or nonexisted ftdi drivers can communicate with ftdi devices.

    Overall... you don't need anything that you're missing. At its heart, obdgpslogger has almost zero actual, real, dependencies for core functionality.

    Just type "make" :-)

    I also recommend checking out the svn version. 0.15 is a bit old at this point, I really oughta do a new release. To do an svn checkout:
    svn co svn://svn.icculus.org/obdgpslogger/trunk obdgpslogger-trunk

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

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

    Question How to run it?

    Quote Originally Posted by chunkyks View Post
    Not stupid at all!

    libgps is missing gpsd, yeah. It's not necessary, at least to start.

    dbus you don't want, and is disabled by default in svn.

    fftw is used in only one of the tools I build, a little thing to do fourier transforms on data. This one's in the category of "if you have to ask, you don't want it".

    btproto_rfcomm is used for the obd simulator to simulate a bluetooth device. You may find it useful to see the obdsim doing something just so you don't have to walk out to your car, but you don't want the bluetooth bit.

    libftdi is used to build a tool so that linux machines with braindamaged or nonexisted ftdi drivers can communicate with ftdi devices.

    Overall... you don't need anything that you're missing. At its heart, obdgpslogger has almost zero actual, real, dependencies for core functionality.

    Just type "make" :-)
    Thanks for the explanations. Very helpful. "make" worked. I tried to run obdgui.exe and got this:

    $ ../bin/obdgui
    Can't open display:
    I also recommend checking out the svn version. 0.15 is a bit old at this point, I really oughta do a new release. To do an svn checkout:
    svn co svn://svn.icculus.org/obdgpslogger/trunk obdgpslogger-trunk

    Gary (-;
    Which directory should I run svn from?

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

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    924
    That line is going to check out into a new directory called "obdgpslogger-trunk". So I usually create a directory called "src" in my home dir in cygwin and then run the command from within that, but whatever works for you

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

  10. #10
    Low Bitrate 2009Prius's Avatar
    Join Date
    Sep 2010
    Posts
    60
    Thanks! How about the "Can't open display" problem?

Page 1 of 3 123 LastLast

Similar Threads

  1. Fuse setup questions!
    By HiJackZX1 in forum General Hardware Discussion
    Replies: 8
    Last Post: 05-26-2008, 08:52 PM
  2. Alpine setup questions
    By mattman in forum Car Audio
    Replies: 2
    Last Post: 05-19-2008, 05:57 AM
  3. Setup questions
    By hoodlum in forum Newbie
    Replies: 5
    Last Post: 05-07-2006, 10:39 PM
  4. Doing a carpc setup, questions/help
    By Punisher in forum General MP3Car Discussion
    Replies: 1
    Last Post: 08-28-2005, 12:44 PM
  5. I just have some general setup questions
    By thaladyzman in forum General MP3Car Discussion
    Replies: 1
    Last Post: 02-15-2003, 02:26 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
  •