[Gpsbabel-code] msdev2003
Brought to you by:
robertl
From: Sven D. <sv...@hs...> - 2004-07-05 08:08:42
|
Hi, I'm investigating using GpsBabel to convert to my companies format, and so did a cvs co, and then converted the dsp files to msdev2003. (I am tasked with updating our route conversion utility for Endeavour http://www.hsa.com.au) I have come across 2 issues 1) I made the following mods to get it to compile Index: gpsdrive.c =================================================================== RCS file: /cvsroot/gpsbabel/gpsbabel/gpsdrive.c,v retrieving revision 1.14 diff -u -r1.14 gpsdrive.c --- gpsdrive.c 7 Apr 2004 15:12:55 -0000 1.14 +++ gpsdrive.c 5 Jul 2004 08:05:23 -0000 @@ -71,12 +71,13 @@ int i; waypoint *wpt_tmp; int linecount = 0; + time_t now = current_time(); + mkshort_rd_handle = mkshort_new_handle(); /* * Make sure that all waypoints in single read have same * timestamp. */ - time_t now = current_time(); do { linecount++; @@ -97,7 +98,7 @@ switch (i) { case 0: - wpt_tmp->description = csv_stringtrim(s, " "); + wpt_tmp->description = csv_stringtrim(s, " ", 0); break; case 1: wpt_tmp->latitude = atof(s); 2) I now get and error telling me that libexpat.lib is corrupted, or when I replace the lib with the one from expat-1.95.7 I get the following linkage error Linking... LINK : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification duplicate.obj : error LNK2019: unresolved external symbol _get_crc32 referenced in function _duplicate_process filter_vecs.obj : error LNK2001: unresolved external symbol _sort_vecs vecs.obj : error LNK2001: unresolved external symbol _netstumbler_vecs vecs.obj : error LNK2001: unresolved external symbol _palmdoc_vecs vecs.obj : error LNK2001: unresolved external symbol _html_vecs vecs.obj : error LNK2001: unresolved external symbol _text_vecs vecs.obj : error LNK2001: unresolved external symbol _nmea_vecs .\Debug/GPSBabel.exe : fatal error LNK1120: 7 unresolved externals Build log was saved at "file://e:\build\gpsbabel\msvc\Debug\BuildLog.htm" GPSBabel - 8 error(s), 157 warning(s) Can someone help me with the second, and tell me if the first is reasonable / commit it if it is Cheers Sven |