wllkk / face-recognition-ncnn Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hi, can I ask for a question?
I execute the "cmake ../" and "make" int my Ubuntu-18, the former successed but the latter failed.
When the "make" command is executed 100%, the errors occur. There are something like "undefined reference to XXX".
See this:
sakura@Sakura-Virture:~/CppProject/face-recognition-ncnn/build$ make -- Found OpenMP_C: -fopenmp -- Found OpenMP_CXX: -fopenmp -- Found OpenMP_C: -fopenmp -- Found OpenMP_CXX: -fopenmp -- Configuring done -- Generating done -- Build files have been written to: /home/sakura/CppProject/face-recognition-ncnn/build [ 20%] Building CXX object CMakeFiles/face_ncnn.dir/face_ncnn.cpp.o /home/sakura/CppProject/face-recognition-ncnn/face_ncnn.cpp: In function ‘int main(int, char**)’: /home/sakura/CppProject/face-recognition-ncnn/face_ncnn.cpp:212:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 212 | sprintf(name, "../output_pic/face_%d.jpg", i); | ~^ ~ | | | | int size_t {aka long unsigned int} | %ld [ 40%] Building CXX object CMakeFiles/face_ncnn.dir/src/anchor_creator.cpp.o [ 60%] Building CXX object CMakeFiles/face_ncnn.dir/src/config.cpp.o [ 80%] Building CXX object CMakeFiles/face_ncnn.dir/src/utils.cpp.o In file included from /home/sakura/CppProject/face-recognition-ncnn/src/utils.h:4, from /home/sakura/CppProject/face-recognition-ncnn/src/utils.cpp:1: /home/sakura/CppProject/face-recognition-ncnn/src/anchor_creator.h: In member function ‘float& Anchor::operator[](int)’: /home/sakura/CppProject/face-recognition-ncnn/src/anchor_creator.h:68:5: warning: control reaches end of non-void function [-Wreturn-type] 68 | } | ^ [100%] Linking CXX executable face_ncnn /usr/bin/ld: ../lib/libncnn.a(convolution_x86_avx2.cpp.o): in function
ncnn::Convolution_x86_avx2::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.5]':
convolution_x86_avx2.cpp:(.text+0x65f5): undefined reference to __expf_finite' /usr/bin/ld: convolution_x86_avx2.cpp:(.text+0x6622): undefined reference to
__expf_finite'
/usr/bin/ld: convolution_x86_avx2.cpp:(.text+0x662f): undefined reference to __logf_finite' /usr/bin/ld: ../lib/libncnn.a(convolution_x86_avx2.cpp.o): in function
ncnn::Convolution_x86_avx2::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.9]':
convolution_x86_avx2.cpp:(.text+0x6916): undefined reference to __expf_finite' /usr/bin/ld: convolution_x86_avx2.cpp:(.text+0x6923): undefined reference to
__logf_finite'
/usr/bin/ld: convolution_x86_avx2.cpp:(.text+0x6a75): undefined reference to __expf_finite' /usr/bin/ld: ../lib/libncnn.a(convolution_x86_avx2.cpp.o): in function
ncnn::Convolution_x86_avx2::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.10]':
convolution_x86_avx2.cpp:(.text+0x7105): undefined reference to __expf_finite' /usr/bin/ld: convolution_x86_avx2.cpp:(.text+0x7112): undefined reference to
__logf_finite'
/usr/bin/ld: convolution_x86_avx2.cpp:(.text+0x72e3): undefined reference to __expf_finite' /usr/bin/ld: ../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+0x109): undefined reference to __expf_finite' /usr/bin/ld: bnll.cpp:(.text+0x116): undefined reference to
__logf_finite'
/usr/bin/ld: bnll.cpp:(.text+0x151): undefined reference to __expf_finite' /usr/bin/ld: bnll.cpp:(.text+0x162): undefined reference to
__logf_finite'
/usr/bin/ld: ../lib/libncnn.a(convolution.cpp.o): in function ncnn::Convolution::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.0]': convolution.cpp:(.text+0x6f3): undefined reference to
__expf_finite'
/usr/bin/ld: convolution.cpp:(.text+0x730): undefined reference to __expf_finite' /usr/bin/ld: convolution.cpp:(.text+0x758): undefined reference to
__logf_finite'
/usr/bin/ld: ../lib/libncnn.a(convolution_x86.cpp.o): in function ncnn::Convolution_x86::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.3]': convolution_x86.cpp:(.text+0x5178): undefined reference to
__expf_finite'
/usr/bin/ld: convolution_x86.cpp:(.text+0x5185): undefined reference to __logf_finite' /usr/bin/ld: convolution_x86.cpp:(.text+0x52d1): undefined reference to
__expf_finite'
/usr/bin/ld: ../lib/libncnn.a(convolution_x86.cpp.o): in function ncnn::Convolution_x86::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.4]': convolution_x86.cpp:(.text+0x557e): undefined reference to
__expf_finite'
/usr/bin/ld: convolution_x86.cpp:(.text+0x558b): undefined reference to __logf_finite' /usr/bin/ld: convolution_x86.cpp:(.text+0x56a7): undefined reference to
__expf_finite'
/usr/bin/ld: ../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+0x6f8): undefined reference to
__expf_finite'
/usr/bin/ld: ../lib/libncnn.a(elu.cpp.o): in function ncnn::ELU::forward_inplace(ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.0]': elu.cpp:(.text+0x146): undefined reference to
__expf_finite'
/usr/bin/ld: ../lib/libncnn.a(exp.cpp.o): in function ncnn::Exp::forward_inplace(ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.0]': exp.cpp:(.text+0x1b2): undefined reference to
__expf_finite'
/usr/bin/ld: ../lib/libncnn.a(exp.cpp.o): in function ncnn::Exp::forward_inplace(ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.1]': exp.cpp:(.text+0x28f): undefined reference to
__powf_finite'
/usr/bin/ld: ../lib/libncnn.a(innerproduct.cpp.o): in function ncnn::InnerProduct::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.0]': innerproduct.cpp:(.text+0x874): undefined reference to
__expf_finite'
/usr/bin/ld: innerproduct.cpp:(.text+0x881): undefined reference to __logf_finite' /usr/bin/ld: innerproduct.cpp:(.text+0x95c): undefined reference to
__expf_finite'
/usr/bin/ld: ../lib/libncnn.a(innerproduct_x86.cpp.o): in function ncnn::InnerProduct_x86::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.4]': innerproduct_x86.cpp:(.text+0x438): undefined reference to
__expf_finite'
/usr/bin/ld: innerproduct_x86.cpp:(.text+0x445): undefined reference to __logf_finite' /usr/bin/ld: innerproduct_x86.cpp:(.text+0x479): undefined reference to
__expf_finite'
/usr/bin/ld: ../lib/libncnn.a(innerproduct_x86.cpp.o): in function ncnn::InnerProduct_x86::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.2]': innerproduct_x86.cpp:(.text+0x69c): undefined reference to
__expf_finite'
/usr/bin/ld: innerproduct_x86.cpp:(.text+0x6a9): undefined reference to __logf_finite' /usr/bin/ld: innerproduct_x86.cpp:(.text+0x725): undefined reference to
__expf_finite'
/usr/bin/ld: ../lib/libncnn.a(innerproduct_x86_avx2.cpp.o): in function ncnn::InnerProduct_x86_avx2::forward_fp16(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.13]': innerproduct_x86_avx2.cpp:(.text+0x411): undefined reference to
__expf_finite'
/usr/bin/ld: innerproduct_x86_avx2.cpp:(.text+0x41e): undefined reference to __logf_finite' /usr/bin/ld: innerproduct_x86_avx2.cpp:(.text+0x4e1): undefined reference to
__expf_finite'
/usr/bin/ld: ../lib/libncnn.a(innerproduct_x86_avx2.cpp.o): in function ncnn::InnerProduct_x86_avx2::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.7]': innerproduct_x86_avx2.cpp:(.text+0x77d): undefined reference to
__expf_finite'
/usr/bin/ld: innerproduct_x86_avx2.cpp:(.text+0x78a): undefined reference to __logf_finite' /usr/bin/ld: innerproduct_x86_avx2.cpp:(.text+0x807): undefined reference to
__expf_finite'
/usr/bin/ld: ../lib/libncnn.a(innerproduct_x86_avx2.cpp.o): in function ncnn::InnerProduct_x86_avx2::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.3]': innerproduct_x86_avx2.cpp:(.text+0xa7b): undefined reference to
__expf_finite'
/usr/bin/ld: innerproduct_x86_avx2.cpp:(.text+0xa88): undefined reference to __logf_finite' /usr/bin/ld: innerproduct_x86_avx2.cpp:(.text+0xafe): undefined reference to
__expf_finite'
/usr/bin/ld: ../lib/libncnn.a(innerproduct_x86_avx2.cpp.o): in function ncnn::InnerProduct_x86_avx2::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.10]': innerproduct_x86_avx2.cpp:(.text+0x10d2): undefined reference to
__expf_finite'
/usr/bin/ld: innerproduct_x86_avx2.cpp:(.text+0x10df): undefined reference to __logf_finite' /usr/bin/ld: innerproduct_x86_avx2.cpp:(.text+0x1125): undefined reference to
__expf_finite'
/usr/bin/ld: ../lib/libncnn.a(log.cpp.o): in function ncnn::Log::forward_inplace(ncnn::Mat&, ncnn::Option const&) const': log.cpp:(.text+0xb3): undefined reference to
__logf_finite'
/usr/bin/ld: ../lib/libncnn.a(log.cpp.o): in function ncnn::Log::forward_inplace(ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.0]': log.cpp:(.text+0x212): undefined reference to
__logf_finite'
/usr/bin/ld: ../lib/libncnn.a(log.cpp.o): in function ncnn::Log::forward_inplace(ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.1]': log.cpp:(.text+0x2f3): undefined reference to
__logf_finite'
/usr/bin/ld: ../lib/libncnn.a(lrn.cpp.o): in function ncnn::LRN::forward_inplace(ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.1]': lrn.cpp:(.text+0x77a): undefined reference to
__powf_finite'
/usr/bin/ld: ../lib/libncnn.a(lrn.cpp.o): in function ncnn::LRN::forward_inplace(ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.2]': lrn.cpp:(.text+0xa13): undefined reference to
__powf_finite'
/usr/bin/ld: ../lib/libncnn.a(lrn_x86.cpp.o): in function ncnn::LRN_x86::forward_inplace(ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.1]': lrn_x86.cpp:(.text+0x63c): undefined reference to
__powf_finite'
/usr/bin/ld: ../lib/libncnn.a(lrn_x86.cpp.o): in function ncnn::LRN_x86::forward_inplace(ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.2]': lrn_x86.cpp:(.text+0x8bb): undefined reference to
__powf_finite'
/usr/bin/ld: ../lib/libncnn.a(lrn_x86_avx2.cpp.o): in function ncnn::LRN_x86_avx2::forward_inplace(ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.1]': lrn_x86_avx2.cpp:(.text+0x652): undefined reference to
__powf_finite'
/usr/bin/ld: ../lib/libncnn.a(lrn_x86_avx2.cpp.o):lrn_x86_avx2.cpp:(.text+0x6a7): more undefined references to __powf_finite' follow /usr/bin/ld: ../lib/libncnn.a(proposal.cpp.o): in function
ncnn::Proposal::forward(std::vector<ncnn::Mat, std::allocatorncnn::Mat > const&, std::vector<ncnn::Mat, std::allocatorncnn::Mat >&, ncnn::Option const&) const [clone ._omp_fn.0]':
proposal.cpp:(.text+0x4f8): undefined reference to __expf_finite' /usr/bin/ld: proposal.cpp:(.text+0x50d): undefined reference to
__expf_finite'
/usr/bin/ld: ../lib/libncnn.a(reduction.cpp.o): in function int ncnn::reduction_post_process<ncnn::post_process_log<float> >(ncnn::Mat&, float, ncnn::Option const&) [clone ._omp_fn.104]': reduction.cpp:(.text+0x3639): undefined reference to
__logf_finite'
/usr/bin/ld: ../lib/libncnn.a(reduction.cpp.o): in function int ncnn::reduction_post_process<ncnn::post_process_log<float> >(ncnn::Mat&, float, ncnn::Option const&) [clone ._omp_fn.105]': reduction.cpp:(.text+0x36c9): undefined reference to
__logf_finite'
/usr/bin/ld: ../lib/libncnn.a(reduction.cpp.o): in function int ncnn::reduction_post_process<ncnn::post_process_log<float> >(ncnn::Mat&, float, ncnn::Option const&) [clone ._omp_fn.106]': reduction.cpp:(.text+0x3759): undefined reference to
__logf_finite'
/usr/bin/ld: ../lib/libncnn.a(reduction.cpp.o): in function int ncnn::reduction_op_keepdims<ncnn::reduction_op_sumsexp<float>, ncnn::reduction_op_add<float> >(ncnn::Mat const&, ncnn::Mat&, float, bool, bool, bool, ncnn::Option const&) [clone ._omp_fn.108]': reduction.cpp:(.text+0x3840): undefined reference to
__expf_finite'
/usr/bin/ld: ../lib/libncnn.a(reduction.cpp.o): in function int ncnn::reduction_op_keepdims<ncnn::reduction_op_sumsexp<float>, ncnn::reduction_op_add<float> >(ncnn::Mat const&, ncnn::Mat&, float, bool, bool, bool, ncnn::Option const&) [clone ._omp_fn.109]': reduction.cpp:(.text+0x3940): undefined reference to
__expf_finite'
/usr/bin/ld: ../lib/libncnn.a(reduction.cpp.o): in function int ncnn::reduction_op<ncnn::reduction_op_sumsexp<float>, ncnn::reduction_op_add<float> >(ncnn::Mat const&, ncnn::Mat&, float, bool, bool, bool, ncnn::Option const&) [clone ._omp_fn.116]': reduction.cpp:(.text+0x3a40): undefined reference to
__expf_finite'
/usr/bin/ld: ../lib/libncnn.a(reduction.cpp.o): in function int ncnn::reduction_op<ncnn::reduction_op_sumsexp<float>, ncnn::reduction_op_add<float> >(ncnn::Mat const&, ncnn::Mat&, float, bool, bool, bool, ncnn::Option const&) [clone ._omp_fn.117]': reduction.cpp:(.text+0x3b40): undefined reference to
__expf_finite'
/usr/bin/ld: ../lib/libncnn.a(reduction.cpp.o): in function int ncnn::reduction_post_process<ncnn::post_process_log<float> >(ncnn::Mat&, float, ncnn::Option const&) [clone ._omp_fn.107]': reduction.cpp:(.text+0x4306): undefined reference to
__logf_finite'
/usr/bin/ld: ../lib/libncnn.a(reduction.cpp.o): in function int ncnn::reduction_op_keepdims<ncnn::reduction_op_sumsexp<float>, ncnn::reduction_op_add<float> >(ncnn::Mat const&, ncnn::Mat&, float, bool, bool, bool, ncnn::Option const&) [clone ._omp_fn.110]': reduction.cpp:(.text+0x5efa): undefined reference to
__expf_finite'
/usr/bin/ld: ../lib/libncnn.a(reduction.cpp.o): in function int ncnn::reduction_op<ncnn::reduction_op_sumsexp<float>, ncnn::reduction_op_add<float> >(ncnn::Mat const&, ncnn::Mat&, float, bool, bool, bool, ncnn::Option const&) [clone ._omp_fn.118]': reduction.cpp:(.text+0x5ffa): undefined reference to
__expf_finite'
/usr/bin/ld: ../lib/libncnn.a(reduction.cpp.o): in function int ncnn::reduction_op<ncnn::reduction_op_sumsexp<float>, ncnn::reduction_op_add<float> >(ncnn::Mat const&, ncnn::Mat&, float, bool, bool, bool, ncnn::Option const&) [clone ._omp_fn.119]': reduction.cpp:(.text+0x60fa): undefined reference to
__expf_finite'
/usr/bin/ld: ../lib/libncnn.a(reduction.cpp.o): in function int ncnn::reduction_op<ncnn::reduction_op_sumsexp<float>, ncnn::reduction_op_add<float> >(ncnn::Mat const&, ncnn::Mat&, float, bool, bool, bool, ncnn::Option const&) [clone ._omp_fn.123]': reduction.cpp:(.text+0x867e): undefined reference to
__expf_finite'
/usr/bin/ld: ../lib/libncnn.a(reduction.cpp.o): in function int ncnn::reduction_op<ncnn::reduction_op_sumsexp<float>, ncnn::reduction_op_add<float> >(ncnn::Mat const&, ncnn::Mat&, float, bool, bool, bool, ncnn::Option const&) [clone ._omp_fn.120]': reduction.cpp:(.text+0x87f0): undefined reference to
__expf_finite'
/usr/bin/ld: ../lib/libncnn.a(reduction.cpp.o):reduction.cpp:(.text+0x953b): more undefined references to __expf_finite' follow /usr/bin/ld: ../lib/libncnn.a(binaryop.cpp.o): in function
int ncnn::binary_op_scalar_inplacencnn::binary_op_pow(ncnn::Mat&, float, ncnn::Option const&) [clone ._omp_fn.105]':
binaryop.cpp:(.text+0x1ae7): undefined reference to __powf_finite' /usr/bin/ld: ../lib/libncnn.a(binaryop.cpp.o): in function
int ncnn::binary_opncnn::binary_op_pow(ncnn::Mat const&, ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) [clone ._omp_fn.72]':
binaryop.cpp:(.text+0x887b): undefined reference to __powf_finite' /usr/bin/ld: ../lib/libncnn.a(binaryop.cpp.o): in function
int ncnn::binary_opncnn::binary_op_pow(ncnn::Mat const&, ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) [clone ._omp_fn.75]':
binaryop.cpp:(.text+0x898b): undefined reference to __powf_finite' /usr/bin/ld: ../lib/libncnn.a(binaryop.cpp.o): in function
int ncnn::binary_opncnn::binary_op_pow(ncnn::Mat const&, ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) [clone ._omp_fn.67]':
binaryop.cpp:(.text+0xb295): undefined reference to __powf_finite' /usr/bin/ld: ../lib/libncnn.a(binaryop.cpp.o): in function
int ncnn::binary_opncnn::binary_op_pow(ncnn::Mat const&, ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) [clone ._omp_fn.69]':
binaryop.cpp:(.text+0xb380): undefined reference to __powf_finite' /usr/bin/ld: ../lib/libncnn.a(binaryop.cpp.o):binaryop.cpp:(.text+0xb80f): more undefined references to
__powf_finite' follow
/usr/bin/ld: ../lib/libncnn.a(unaryop.cpp.o): in function int ncnn::unary_op_inplace<ncnn::unary_op_exp>(ncnn::Mat&, ncnn::Option const&) [clone ._omp_fn.7]': unaryop.cpp:(.text+0xff9): undefined reference to
__expf_finite'
/usr/bin/ld: ../lib/libncnn.a(unaryop.cpp.o): in function int ncnn::unary_op_inplace<ncnn::unary_op_log>(ncnn::Mat&, ncnn::Option const&) [clone ._omp_fn.8]': unaryop.cpp:(.text+0x1069): undefined reference to
__logf_finite'
/usr/bin/ld: ../lib/libncnn.a(unaryop.cpp.o): in function int ncnn::unary_op_inplace<ncnn::unary_op_asin>(ncnn::Mat&, ncnn::Option const&) [clone ._omp_fn.12]': unaryop.cpp:(.text+0x1229): undefined reference to
__asinf_finite'
/usr/bin/ld: ../lib/libncnn.a(unaryop.cpp.o): in function int ncnn::unary_op_inplace<ncnn::unary_op_acos>(ncnn::Mat&, ncnn::Option const&) [clone ._omp_fn.13]': unaryop.cpp:(.text+0x1299): undefined reference to
__acosf_finite'
/usr/bin/ld: ../lib/libncnn.a(convolutiondepthwise.cpp.o): in function ncnn::ConvolutionDepthWise::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.1]': convolutiondepthwise.cpp:(.text+0x813): undefined reference to
__expf_finite'
/usr/bin/ld: convolutiondepthwise.cpp:(.text+0x850): undefined reference to __expf_finite' /usr/bin/ld: convolutiondepthwise.cpp:(.text+0x878): undefined reference to
__logf_finite'
/usr/bin/ld: ../lib/libncnn.a(convolutiondepthwise.cpp.o): in function ncnn::ConvolutionDepthWise::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.0]': convolutiondepthwise.cpp:(.text+0x124d): undefined reference to
__expf_finite'
/usr/bin/ld: convolutiondepthwise.cpp:(.text+0x1323): undefined reference to __expf_finite' /usr/bin/ld: convolutiondepthwise.cpp:(.text+0x1369): undefined reference to
__logf_finite'
/usr/bin/ld: ../lib/libncnn.a(detectionoutput.cpp.o): in function ncnn::DetectionOutput::forward(std::vector<ncnn::Mat, std::allocator<ncnn::Mat> > const&, std::vector<ncnn::Mat, std::allocator<ncnn::Mat> >&, ncnn::Option const&) const [clone ._omp_fn.0]': detectionoutput.cpp:(.text+0x3a2): undefined reference to
__expf_finite'
/usr/bin/ld: detectionoutput.cpp:(.text+0x3bc): undefined reference to __expf_finite' /usr/bin/ld: ../lib/libncnn.a(deconvolutiondepthwise.cpp.o): in function
ncnn::DeconvolutionDepthWise::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.0]':
deconvolutiondepthwise.cpp:(.text+0x6e7): undefined reference to __expf_finite' /usr/bin/ld: ../lib/libncnn.a(deconvolutiondepthwise.cpp.o): in function
ncnn::DeconvolutionDepthWise::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.1]':
deconvolutiondepthwise.cpp:(.text+0xf2c): undefined reference to __expf_finite' /usr/bin/ld: ../lib/libncnn.a(yolodetectionoutput.cpp.o): in function
ncnn::YoloDetectionOutput::forward_inplace(std::vector<ncnn::Mat, std::allocatorncnn::Mat >&, ncnn::Option const&) const [clone ._omp_fn.0]':
yolodetectionoutput.cpp:(.text+0x867): undefined reference to __expf_finite' /usr/bin/ld: ../lib/libncnn.a(yolodetectionoutput.cpp.o):yolodetectionoutput.cpp:(.text+0x887): more undefined references to
__expf_finite' follow
/usr/bin/ld: ../lib/libncnn.a(mish.cpp.o): in function ncnn::Mish::forward_inplace(ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.0]': mish.cpp:(.text+0x11e): undefined reference to
__logf_finite'
/usr/bin/ld: ../lib/libncnn.a(mish_x86.cpp.o): in function ncnn::Mish_x86::forward_inplace(ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.1]': mish_x86.cpp:(.text+0x703): undefined reference to
__expf_finite'
/usr/bin/ld: mish_x86.cpp:(.text+0x710): undefined reference to __logf_finite' /usr/bin/ld: mish_x86.cpp:(.text+0x744): undefined reference to
__expf_finite'
/usr/bin/ld: mish_x86.cpp:(.text+0x751): undefined reference to __logf_finite' /usr/bin/ld: mish_x86.cpp:(.text+0x786): undefined reference to
__expf_finite'
/usr/bin/ld: mish_x86.cpp:(.text+0x793): undefined reference to __logf_finite' /usr/bin/ld: ../lib/libncnn.a(mish_x86_avx2.cpp.o): in function
ncnn::Mish_x86_avx2::forward_inplace(ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.2]':
mish_x86_avx2.cpp:(.text+0xa40): undefined reference to __expf_finite' /usr/bin/ld: mish_x86_avx2.cpp:(.text+0xa4d): undefined reference to
__logf_finite'
/usr/bin/ld: mish_x86_avx2.cpp:(.text+0xa81): undefined reference to __expf_finite' /usr/bin/ld: mish_x86_avx2.cpp:(.text+0xa8e): undefined reference to
__logf_finite'
/usr/bin/ld: mish_x86_avx2.cpp:(.text+0xac7): undefined reference to __expf_finite' /usr/bin/ld: mish_x86_avx2.cpp:(.text+0xad4): undefined reference to
__logf_finite'
/usr/bin/ld: ../lib/libncnn.a(swish.cpp.o): in function ncnn::Swish::forward_inplace(ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.0]': swish.cpp:(.text+0x128): undefined reference to
__expf_finite'
/usr/bin/ld: swish.cpp:(.text+0x160): undefined reference to __expf_finite' /usr/bin/ld: swish.cpp:(.text+0x198): undefined reference to
__expf_finite'
/usr/bin/ld: swish.cpp:(.text+0x1fe): undefined reference to _ZGVbN4v___expf_finite' /usr/bin/ld: swish.cpp:(.text+0x26c): undefined reference to
__expf_finite'
/usr/bin/ld: swish.cpp:(.text+0x2ba): undefined reference to __expf_finite' /usr/bin/ld: swish.cpp:(.text+0x308): undefined reference to
__expf_finite'
/usr/bin/ld: swish.cpp:(.text+0x356): undefined reference to __expf_finite' /usr/bin/ld: swish.cpp:(.text+0x3a8): undefined reference to
__expf_finite'
/usr/bin/ld: ../lib/libncnn.a(swish.cpp.o):swish.cpp:(.text+0x3eb): more undefined references to __expf_finite' follow /usr/bin/ld: ../lib/libncnn.a(softplus.cpp.o): in function
ncnn::Softplus::forward_inplace(ncnn::Mat&, ncnn::Option const&) const [clone ._omp_fn.0]':
softplus.cpp:(.text+0xf4): undefined reference to __logf_finite' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/face_ncnn.dir/build.make:147:face_ncnn] error 1 make[1]: *** [CMakeFiles/Makefile2:76:CMakeFiles/face_ncnn.dir/all] error 2 make: *** [Makefile:84:all] error 2
My opencv version is 4.5.5 and the code of your program is never modified. It seems like the linking problem but I don't konw how to solve it. Could you tell me why it happens? Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.