Browse Source

change odtolanelet, fix args.

yuchuli 1 year ago
parent
commit
52f1858cf0
2 changed files with 5 additions and 1 deletions
  1. 1 1
      src/map/odtolanelet/main.cpp
  2. 4 0
      src/map/odtolanelet/odtolanelet.pro

+ 1 - 1
src/map/odtolanelet/main.cpp

@@ -30,7 +30,7 @@ int  GetOptLong(int argc, char *argv[]) {
     // 第几个元素的描述,即是long_opts的下标值
     int option_index = 0;
     // 设置短参数类型及是否需要参数
-    const char *optstring = "v:l:e:o:h";
+    const char *optstring = "i:o:h";
 
     static struct option long_options[] = {
         {"input", required_argument, NULL, 'i'},

+ 4 - 0
src/map/odtolanelet/odtolanelet.pro

@@ -35,6 +35,10 @@ SOURCES += main.cpp \
     error( "Couldn't find the odaux.pri file!" )
 }
 
+
+#sudo apt-get install libgeographic-dev
+
+
 HEADERS += \
     odtolanelet.h \
     roadsample.h \