OAID / Tengine

Tengine is a lite, high performance, modular inference engine for embedded device
Apache License 2.0
4.65k stars 998 forks source link

cannot find -lwrapper #146

Open TimothyLx opened 5 years ago

TimothyLx commented 5 years ago

root@localhost:/home/rk/tengine/examples/build# make -j [ 5%] Built target SSD [ 7%] Linking CXX executable classification_mobilenet [ 12%] Built target convert_caffe_to_tm [ 21%] Built target tm_classify_fp16 [ 23%] Linking CXX executable classification [ 25%] Built target tm_classify_int8 [ 26%] Linking CXX executable label_image_inceptionv3 [ 32%] Built target FASTER_RCNN [ 41%] Built target MTCNN [ 46%] Built target MSSD [ 51%] Built target tm_classify [ 58%] Built target Classify [ 66%] Linking CXX executable label_image_resnet50 [ 67%] Built target LIGHTEN_CNN [ 71%] Built target tm_classify_tf [ 73%] Linking CXX executable label_image_mobilenet [ 78%] Built target YOLOV2 [ 80%] Linking CXX executable CAFFE_MTCNN /usr/bin/ld: skipping incompatible /usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib/libwrapper.so when searching for -lwrapper /usr/bin/ld: skipping incompatible /usr/lib/../lib/libwrapper.so when searching for -lwrapper /usr/bin/ld: skipping incompatible /usr/lib/gcc/aarch64-linux-gnu/5/../../../libwrapper.so when searching for -lwrapper /usr/bin/ld: skipping incompatible //usr/lib/libwrapper.so when searching for -lwrapper /usr/bin/ld: cannot find -lwrapper collect2: error: ld returned 1 exit status tensorflow_wrapper/label_image/CMakeFiles/label_image_mobilenet.dir/build.make:138: recipe for target 'tensorflow_wrapper/label_image/label_image_mobilenet' failed make[2]: [tensorflow_wrapper/label_image/label_image_mobilenet] Error 1 CMakeFiles/Makefile2:699: recipe for target 'tensorflow_wrapper/label_image/CMakeFiles/label_image_mobilenet.dir/all' failed make[1]: [tensorflow_wrapper/label_image/CMakeFiles/label_image_mobilenet.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /usr/bin/ld: skipping incompatible /usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib/libwrapper.so when searching for -lwrapper /usr/bin/ld: skipping incompatible /usr/lib/../lib/libwrapper.so when searching for -lwrapper /usr/bin/ld: skipping incompatible /usr/lib/gcc/aarch64-linux-gnu/5/../../../libwrapper.so when searching for -lwrapper /usr/bin/ld: skipping incompatible //usr/lib/libwrapper.so when searching for -lwrapper /usr/bin/ld: cannot find -lwrapper collect2: error: ld returned 1 exit status

liqi-c commented 5 years ago

First , you need to enable CONFIG_FRAMEWORK_WRAPPER=y in makefile.config file .

and then you need to install this support :

Hope can help you ,thinks