In file included from /home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp:6:0:
/home/linkpi/ncnnprotest/zexample/nanodet-plus/nanodet.h:12:1: warning: ‘typedef’ was ignored in this declaration
};
^
/home/linkpi/ncnnprotest/zexample/nanodet-plus/nanodet.h:42:34: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
int input_size[2] = {416, 416}; // input height and width
^
/home/linkpi/ncnnprotest/zexample/nanodet-plus/nanodet.h:43:21: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
int num_class = 80; // number of classes. 80 for COCO
^
/home/linkpi/ncnnprotest/zexample/nanodet-plus/nanodet.h:44:19: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
int reg_max = 7; // reg_max set in the training config. Default: 7.
^
/home/linkpi/ncnnprotest/zexample/nanodet-plus/nanodet.h:45:48: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
std::vector strides = { 8, 16, 32, 64 }; // strides of the multi-level
^
In file included from /home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp:6:0:
/home/linkpi/ncnnprotest/zexample/nanodet-plus/nanodet.h:57:64: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
"hair drier", "toothbrush" };
^
/home/linkpi/ncnnprotest/zexample/nanodet-plus/nanodet.h:60:130: error: ‘>>’ should be ‘> >’ within a nested template argument list
or>& center_priors, float threshold, std::vector<std::vector>& results
^
In file included from /home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp:6:0:
/home/linkpi/ncnnprotest/zexample/nanodet-plus/nanodet.h:42:34: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
int input_size[2] = {416, 416}; // input height and width
^
/home/linkpi/ncnnprotest/zexample/nanodet-plus/nanodet.h:45:48: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
std::vector strides = { 8, 16, 32, 64 }; // strides of the multi-level
^
/home/linkpi/ncnnprotest/zexample/nanodet-plus/nanodet.h:45:48: error: could not convert ‘{8, 16, 32, 64}’ from ‘’ to ‘std::vector’
/home/linkpi/ncnnprotest/zexample/nanodet-plus/nanodet.h:49:36: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
std::vector labels{ "person", "bicycle", "car", "motorcycle",
^
In file included from /home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp:6:0:
/home/linkpi/ncnnprotest/zexample/nanodet-plus/nanodet.h:57:64: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
"hair drier", "toothbrush" };
^
/home/linkpi/ncnnprotest/zexample/nanodet-plus/nanodet.h:57:64: error: could not convert ‘{"person", "bicycle", "car", "motorcycle", "airplane", "bus", "train", "truck", "boat", "traffic light", "fire hydrant", "stop sign", "parking meter", "bench", "bird", "cat", "dog", "horse", "sheep", "cow", "elephant", "bear", "zebra", "giraffe", "backpack", "umbrella", "handbag", "tie", "suitcase", "frisbee", "skis", "snowboard", "sports ball", "kite", "baseball bat", "baseball glove", "skateboard", "surfboard", "tennis racket", "bottle", "wine glass", "cup", "fork", "knife", "spoon", "bowl", "banana", "apple", "sandwich", "orange", "broccoli", "carrot", "hot dog", "pizza", "donut", "cake", "chair", "couch", "potted plant", "bed", "dining table", "toilet", "tv", "laptop", "mouse", "remote", "keyboard", "cell phone", "microwave", "oven", "toaster", "sink", "refrigerator", "book", "clock", "vase", "scissors", "teddy bear", "hair drier", "toothbrush"}’ from ‘’ to ‘std::vector<std::__cxx11::basic_string >’
/home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp: In function ‘int image_demo(NanoDet&, const char)’:
/home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp:234:15: error: ‘img_name’ does not name a type
for (auto img_name : filenames)
^
/home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp:250:5: error: expected ‘;’ before ‘return’
return 0;
^
/home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp:250:5: error: expected primary-expression before ‘return’
/home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp:250:5: error: expected ‘;’ before ‘return’
/home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp:250:5: error: expected primary-expression before ‘return’
/home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp:250:5: error: expected ‘)’ before ‘return’
/home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp: In function ‘int webcam_demo(NanoDet&, int)’:
/home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp:266:14: error: ‘results’ does not name a type
auto results = detector.detect(resized_img, 0.4, 0.5);
^
/home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp:267:28: error: ‘results’ was not declared in this scope
draw_bboxes(image, results, effect_roi);
^
/home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp: In function ‘int video_demo(NanoDet&, const char)’:
/home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp:286:14: error: ‘results’ does not name a type
auto results = detector.detect(resized_img, 0.4, 0.5);
^
/home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp:287:28: error: ‘results’ was not declared in this scope
draw_bboxes(image, results, effect_roi);
^
CMakeFiles/nanodetTest.dir/build.make:62: recipe for target 'CMakeFiles/nanodetTest.dir/main.cpp.o' failed
make[2]: [CMakeFiles/nanodetTest.dir/main.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/nanodetTest.dir/all' failed
make[1]: [CMakeFiles/nanodetTest.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
In file included from /home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp:6:0: /home/linkpi/ncnnprotest/zexample/nanodet-plus/nanodet.h:12:1: warning: ‘typedef’ was ignored in this declaration }; ^ /home/linkpi/ncnnprotest/zexample/nanodet-plus/nanodet.h:42:34: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 int input_size[2] = {416, 416}; // input height and width ^ /home/linkpi/ncnnprotest/zexample/nanodet-plus/nanodet.h:43:21: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 int num_class = 80; // number of classes. 80 for COCO ^ /home/linkpi/ncnnprotest/zexample/nanodet-plus/nanodet.h:44:19: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 int reg_max = 7; // strides = { 8, 16, 32, 64 }; // strides of the multi-level
^
In file included from /home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp:6:0:
/home/linkpi/ncnnprotest/zexample/nanodet-plus/nanodet.h:57:64: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
"hair drier", "toothbrush" };
^
/home/linkpi/ncnnprotest/zexample/nanodet-plus/nanodet.h:60:130: error: ‘>>’ should be ‘> >’ within a nested template argument list
or>& center_priors, float threshold, std::vector<std::vector>& results
^
In file included from /home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp:6:0:
/home/linkpi/ncnnprotest/zexample/nanodet-plus/nanodet.h:42:34: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
int input_size[2] = {416, 416}; // input height and width
^
/home/linkpi/ncnnprotest/zexample/nanodet-plus/nanodet.h:45:48: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
std::vector strides = { 8, 16, 32, 64 }; // strides of the multi-level
^
/home/linkpi/ncnnprotest/zexample/nanodet-plus/nanodet.h:45:48: error: could not convert ‘{8, 16, 32, 64}’ from ‘’ to ‘std::vector’
/home/linkpi/ncnnprotest/zexample/nanodet-plus/nanodet.h:49:36: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
std::vector labels{ "person", "bicycle", "car", "motorcycle",
^
In file included from /home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp:6:0:
/home/linkpi/ncnnprotest/zexample/nanodet-plus/nanodet.h:57:64: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11
"hair drier", "toothbrush" };
^
/home/linkpi/ncnnprotest/zexample/nanodet-plus/nanodet.h:57:64: error: could not convert ‘{"person", "bicycle", "car", "motorcycle", "airplane", "bus", "train", "truck", "boat", "traffic light", "fire hydrant", "stop sign", "parking meter", "bench", "bird", "cat", "dog", "horse", "sheep", "cow", "elephant", "bear", "zebra", "giraffe", "backpack", "umbrella", "handbag", "tie", "suitcase", "frisbee", "skis", "snowboard", "sports ball", "kite", "baseball bat", "baseball glove", "skateboard", "surfboard", "tennis racket", "bottle", "wine glass", "cup", "fork", "knife", "spoon", "bowl", "banana", "apple", "sandwich", "orange", "broccoli", "carrot", "hot dog", "pizza", "donut", "cake", "chair", "couch", "potted plant", "bed", "dining table", "toilet", "tv", "laptop", "mouse", "remote", "keyboard", "cell phone", "microwave", "oven", "toaster", "sink", "refrigerator", "book", "clock", "vase", "scissors", "teddy bear", "hair drier", "toothbrush"}’ from ‘’ to ‘std::vector<std::__cxx11::basic_string >’
/home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp: In function ‘int image_demo(NanoDet&, const char)’:
/home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp:234:15: error: ‘img_name’ does not name a type
for (auto img_name : filenames)
^
/home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp:250:5: error: expected ‘;’ before ‘return’
return 0;
^
/home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp:250:5: error: expected primary-expression before ‘return’
/home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp:250:5: error: expected ‘;’ before ‘return’
/home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp:250:5: error: expected primary-expression before ‘return’
/home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp:250:5: error: expected ‘)’ before ‘return’
/home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp: In function ‘int webcam_demo(NanoDet&, int)’:
/home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp:266:14: error: ‘results’ does not name a type
auto results = detector.detect(resized_img, 0.4, 0.5);
^
/home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp:267:28: error: ‘results’ was not declared in this scope
draw_bboxes(image, results, effect_roi);
^
/home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp: In function ‘int video_demo(NanoDet&, const char)’:
/home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp:286:14: error: ‘results’ does not name a type
auto results = detector.detect(resized_img, 0.4, 0.5);
^
/home/linkpi/ncnnprotest/zexample/nanodet-plus/main.cpp:287:28: error: ‘results’ was not declared in this scope
draw_bboxes(image, results, effect_roi);
^
CMakeFiles/nanodetTest.dir/build.make:62: recipe for target 'CMakeFiles/nanodetTest.dir/main.cpp.o' failed
make[2]: [CMakeFiles/nanodetTest.dir/main.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/nanodetTest.dir/all' failed
make[1]: [CMakeFiles/nanodetTest.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
reg_max
set in the training config. Default: 7. ^ /home/linkpi/ncnnprotest/zexample/nanodet-plus/nanodet.h:45:48: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 std::vector