Open lvxiaojie111 opened 3 years ago
downgrade your gcc to 7.5.0, and re-compile ncnn. It'll be ok.
您的邮件已经收到。谢谢! 吕
同样的问题,按上面说的降低gcc到7.5.0版本,为什么 重新make install 还是报错,还是同样的问题
您的邮件已经收到。谢谢! 吕
@victorming666
同样的问题,按上面说的降低gcc到7.5.0版本,为什么 重新make install 还是报错,还是同样的问题
hello, when i use your command to complie,have some issues when " cmake .. " no errors when "mkae " have error as follow: make install Scanning dependencies of target mlpr [ 6%] Building CXX object src/CMakeFiles/mlpr.dir/base.cpp.o [ 13%] Building CXX object src/CMakeFiles/mlpr.dir/lpc_recognizer.cpp.o [ 20%] Building CXX object src/CMakeFiles/mlpr.dir/lpr_recognizer.cpp.o [ 26%] Building CXX object src/CMakeFiles/mlpr.dir/detector/mtcnn_align.cpp.o [ 33%] Building CXX object src/CMakeFiles/mlpr.dir/detector/mtcnn_proposal.cpp.o [ 40%] Building CXX object src/CMakeFiles/mlpr.dir/detector/mtcnn_base.cpp.o [ 46%] Building CXX object src/CMakeFiles/mlpr.dir/detector/mtcnn_plate_detector.cpp.o [ 53%] Building CXX object src/CMakeFiles/mlpr.dir/detector/ssd_plate_detector.cpp.o [ 60%] Building CXX object src/CMakeFiles/mlpr.dir/detector/lffd.cpp.o [ 66%] Building CXX object src/CMakeFiles/mlpr.dir/detector/lffd_plate_detector.cpp.o [ 73%] Building CXX object src/CMakeFiles/mlpr.dir/detector/align_plate_detector.cpp.o [ 80%] Building CXX object src/CMakeFiles/mlpr.dir/plate_petector.cpp.o [ 86%] Linking CXX static library libmlpr.a [ 86%] Built target mlpr Scanning dependencies of target run_plate [ 93%] Building CXX object example/CMakeFiles/run_plate.dir/main.cpp.o [100%] Linking CXX executable run_plate /usr/bin/ld: /home/ljj/Downloads/mobile-lpr-master/deps/ncnn/lib/libncnn.a(bnll.cpp.o): in function
ncnn::BNLL::forward_inplace(ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.0]': bnll.cpp:(.text+0xe0): undefined reference to
expf_finite' /usr/bin/ld: bnll.cpp:(.text+0xed): undefined reference to__logf_finite' /usr/bin/ld: bnll.cpp:(.text+0x101): undefined reference to
expf_finite' /usr/bin/ld: bnll.cpp:(.text+0x10e): undefined reference to__logf_finite' /usr/bin/ld: /home/ljj/Downloads/mobile-lpr-master/deps/ncnn/lib/libncnn.a(convolution.cpp.o): in function
ncnn::Convolution::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.2]': convolution.cpp:(.text+0x434): undefined reference to__expf_finite' /usr/bin/ld: /home/ljj/Downloads/mobile-lpr-master/deps/ncnn/lib/libncnn.a(deconvolution.cpp.o): in function
ncnn::Deconvolution::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.0]': deconvolution.cpp:(.text+0x492): undefined reference to `__expf_finite' how to solve it ?????? i search internet,some says use libm.so ,but not solve. my platform is : ubuntu 20.04, gcc9.3 . hope to solve it.