ppwwyyxx / OpenPano

Automatic Panorama Stitching From Scratch
MIT License
1.9k stars 555 forks source link

libopenpano.so: undefined reference to `LZ4_decompress_safe_continue' #129

Closed HparkeY closed 1 year ago

HparkeY commented 1 year ago

Thank you for your code;

I'm building on a Linux machine and getting the following errors:

parke@ubuntu:~/sonoff/panorama_stitching/OpenPano-master/build$ make [ 94%] Built target openpano [ 97%] Linking CXX executable image-stitching /home/parke/sonoff/rv1109/rv1109_dual_sc530ai/project/prebuilts/gcc/linux-x86/arm/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/bin/ld: libopenpano.so: undefined reference to LZ4_decompress_safe_continue' /home/parke/sonoff/rv1109/rv1109_dual_sc530ai/project/prebuilts/gcc/linux-x86/arm/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/bin/ld: libopenpano.so: undefined reference toLZ4_setStreamDecode' /home/parke/sonoff/rv1109/rv1109_dual_sc530ai/project/prebuilts/gcc/linux-x86/arm/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/bin/ld: libopenpano.so: undefined reference to LZ4_compress_HC_continue' /home/parke/sonoff/rv1109/rv1109_dual_sc530ai/project/prebuilts/gcc/linux-x86/arm/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/bin/ld: libopenpano.so: undefined reference toLZ4_decompress_safe' /home/parke/sonoff/rv1109/rv1109_dual_sc530ai/project/prebuilts/gcc/linux-x86/arm/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/bin/ld: libopenpano.so: undefined reference to `LZ4_resetStreamHC' collect2: error: ld returned 1 exit status src/CMakeFiles/image-stitching.dir/build.make:96: recipe for target 'src/image-stitching' failed make[2]: [src/image-stitching] Error 1 CMakeFiles/Makefile2:126: recipe for target 'src/CMakeFiles/image-stitching.dir/all' failed make[1]: [src/CMakeFiles/image-stitching.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2

HparkeY commented 1 year ago

add the path to liblz4.so manually to the CMakeFiles/openpano.dir/link.txt