You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@cyberfire
First I want to compile it for linux, later I will try to compile a version for QNX, but I think maybe tengine rely on opencv to load and write image, so first need to cross compile opencv :(
Hello, I have met a problem when I try to cross compile Tengine,
aarch64-linux-gnu-g++ --sysroot=/home/artyze/Desktop/QNX/tengine_aarch/sysroot/ubuntu_rootfs -L/usr/lib/aarch64-linux-gnu -L/lib/aarch64-linux-gnu /home/artyze/Desktop/QNX/tengine_aarch/build/tests/bin/test_onnx_sqz.o -o /home/artyze/Desktop/QNX/tengine_aarch/build/tests/bin/test_onnx_sqz -L ../build/ -ltengine -Wl,-allow-shlib-undefined -lprotobuf -ldl -lpthread -Wl,-rpath,./build/ -L/usr/local/lib -lopencv_cudabgsegm -lopencv_cudaobjdetect -lopencv_cudastereo -lopencv_dnn -lopencv_ml -lopencv_shape -lopencv_stitching -lopencv_cudafeatures2d -lopencv_superres -lopencv_cudacodec -lopencv_videostab -lopencv_cudaoptflow -lopencv_cudalegacy -lopencv_calib3d -lopencv_features2d -lopencv_highgui -lopencv_videoio -lopencv_photo -lopencv_imgcodecs -lopencv_cudawarping -lopencv_cudaimgproc -lopencv_cudafilters -lopencv_video -lopencv_objdetect -lopencv_imgproc -lopencv_flann -lopencv_cudaarithm -lopencv_core -lopencv_cudev
/usr/lib/gcc-cross/aarch64-linux-gnu/5/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/local/lib/libprotobuf.so when searching for -lprotobuf
/usr/lib/gcc-cross/aarch64-linux-gnu/5/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/local/lib/libprotobuf.a when searching for -lprotobuf
/usr/lib/gcc-cross/aarch64-linux-gnu/5/../../../../aarch64-linux-gnu/bin/ld: skipping incompatible /usr/local/lib/libopencv_cudabgsegm.so when searching for -lopencv_cudabgsegm
/usr/lib/gcc-cross/aarch64-linux-gnu/5/../../../../aarch64-linux-gnu/bin/ld: cannot find -lopencv_cudabgsegm
Does that means I need to cross compile Opencv at the same time ? Thanks a lot.
The text was updated successfully, but these errors were encountered: