Opened 11 years ago

Closed 9 years ago

#332 closed defect/bug (fixed)

windows serial GPS no longer works

Reported by: Stressedpiper Owned by:
Priority: major Milestone: version 0.2.0
Component: port/windows Version: git master
Severity: Keywords:
Cc: nick@…

Description

Windows serial GPS no longer works due to missing serial_io files.

Possible fix to support/win32/Makefile.am:

Index: Makefile.am =================================================================== --- Makefile.am (revision 2184) +++ Makefile.am (working copy) @@ -1,4 +1,4 @@

include $(top_srcdir)/Makefile.inc AM_CPPFLAGS = @NAVIT_CFLAGS@ -I$(top_srcdir)/navit -DMODULE=support_win32 noinst_LTLIBRARIES = libsupport_win32.la

-libsupport_win32_la_SOURCES = mmap.c win32_init.c sys/mman.h ConvertUTF.c ConvertUTF.h +libsupport_win32_la_SOURCES = mmap.c win32_init.c sys/mman.h ConvertUTF.c ConvertUTF.h serial_io.c

Attachments (7)

serial_io.c (2.0 KB) - added by Stressedpiper 11 years ago.
serial_io.h (282 bytes) - added by Stressedpiper 11 years ago.
vehicle_file.c.diff (1.2 KB) - added by Stressedpiper 11 years ago.
sys.tar.gz (1.9 KB) - added by Stressedpiper 11 years ago.
Makefile.am.diff (512 bytes) - added by stressedpiper 10 years ago.
windows_vehicle.patch (8.3 KB) - added by richt 9 years ago.
windows-vehicle.diff (21.5 KB) - added by richt 9 years ago.

Download all attachments as: .zip

Change History (14)

Changed 11 years ago by Stressedpiper

Changed 11 years ago by Stressedpiper

Changed 11 years ago by Stressedpiper

Changed 11 years ago by Stressedpiper

Changed 10 years ago by stressedpiper

comment:1 Changed 10 years ago by kazer

  • Milestone set to version 0.2.0

comment:2 Changed 10 years ago by openid-provider.appspot.com/gauthier.michel@…

I try navit-svn-2892 on my windows XP system with the config : <vehicle name="GPSOnCom4" enabled="yes" active="1" source="file:COM4 baud=115200 parity=N data=8 stop=1" color="#0000ff"/> and i have in navit.log : navit:vehicle_new:invalid type 'file'

s it possible to run this version with a GPS bluethout on windows XP or should I wait for version 0.2.0?

comment:3 Changed 9 years ago by richt

This works for me (gcc 4.5, Win 7, NMEA GPS) if I just apply the Makefile.am patch Makefile.am.diff If someone could commit this the ticket can be closed.

Changed 9 years ago by richt

comment:4 Changed 9 years ago by richt

  • Owner set to richt
  • Status changed from new to assigned

The existing windows nmea serial gps support breaks nmea file loading. The attached patch (windows_vehicle.patch) adds a vehicle_serial to separate file and serial support. It then enables file: and socket: urls for windows. The socket path is currently untested.

I don't have a linux box handy, could someone confirm whether I've borked anything in the linux build.

Changed 9 years ago by richt

comment:5 Changed 9 years ago by richt

  • Owner richt deleted
  • Status changed from assigned to new

Updated version of windows vehicle_file fixes

comment:6 Changed 9 years ago by patrik12

Is there already a patch for this issue? I would be pleased for it very much or is there a way to help?

comment:7 Changed 9 years ago by number6

  • Cc nick@… added
  • Resolution set to fixed
  • Status changed from new to closed

Added in Revision 3644

Note: See TracTickets for help on using tickets.