windows Qt mingw编译ncnn,最后Qt链接的时候,一大堆链接错误

vxqlmq5t  于 2022-11-19  发布在  Windows
关注(0)|答案(6)|浏览(252)

D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x12f17): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x12f1e): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x130f7): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x130fe): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x133b4): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x133bb): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x13659): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x13660): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x13bdf): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x13be6): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x14782): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x14789): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x14e41): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x14e48): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x154a7): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x154ae): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x15c94): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x15c9b): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x16e35): undefined reference to GOMP_parallel' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x16e6a): undefined reference to GOMP_parallel'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x16eab): undefined reference to GOMP_parallel' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x16f91): undefined reference to omp_get_num_threads'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x16f98): undefined reference to omp_get_thread_num' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x18111): undefined reference to omp_get_num_threads'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x18118): undefined reference to omp_get_thread_num' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x18fe9): undefined reference to omp_get_num_threads'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x18ff0): undefined reference to omp_get_thread_num' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x198f4): undefined reference to omp_get_num_threads'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x198fb): undefined reference to omp_get_thread_num' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x1a566): undefined reference to omp_get_num_threads'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x1a56d): undefined reference to omp_get_thread_num' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x1c80c): undefined reference to omp_get_num_threads'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x1c813): undefined reference to omp_get_thread_num' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x1f226): undefined reference to omp_get_num_threads'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x1f22d): undefined reference to omp_get_thread_num' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x20021): undefined reference to omp_get_num_threads'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x20028): undefined reference to omp_get_thread_num' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x21824): undefined reference to GOMP_parallel'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x218ff): undefined reference to GOMP_parallel' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x21949): undefined reference to GOMP_parallel'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x21990): undefined reference to GOMP_parallel' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x219e2): undefined reference to GOMP_parallel'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x21a2b): more undefined references to GOMP_parallel' follow D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x21b11): undefined reference to omp_get_num_threads'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x21b18): undefined reference to omp_get_thread_num' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x234df): undefined reference to omp_get_num_threads'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x234e6): undefined reference to omp_get_thread_num' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x251a0): undefined reference to GOMP_parallel'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x255fa): undefined reference to GOMP_parallel' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x256e4): undefined reference to GOMP_parallel'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x25dc0): undefined reference to GOMP_parallel' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x262ba): undefined reference to GOMP_parallel'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(convolution_x86_avx.cpp.obj):convolution_x86_avx.cpp:(.text+0x2675f): more undefined references to GOMP_parallel' follow D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop.cpp.obj):crop.cpp:(.text+0x14): undefined reference to omp_get_num_threads'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop.cpp.obj):crop.cpp:(.text+0x1b): undefined reference to omp_get_thread_num' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop.cpp.obj):crop.cpp:(.text+0x474): undefined reference to omp_get_num_threads'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop.cpp.obj):crop.cpp:(.text+0x47b): undefined reference to omp_get_thread_num' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop.cpp.obj):crop.cpp:(.text+0x1ff7): undefined reference to GOMP_parallel'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop.cpp.obj):crop.cpp:(.text+0x2e7b): undefined reference to GOMP_parallel' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86.cpp.obj):crop_x86.cpp:(.text+0x11): undefined reference to omp_get_num_threads'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86.cpp.obj):crop_x86.cpp:(.text+0x18): undefined reference to omp_get_thread_num' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86.cpp.obj):crop_x86.cpp:(.text+0x151): undefined reference to omp_get_num_threads'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86.cpp.obj):crop_x86.cpp:(.text+0x158): undefined reference to omp_get_thread_num' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86.cpp.obj):crop_x86.cpp:(.text+0xce8): undefined reference to GOMP_parallel'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86.cpp.obj):crop_x86.cpp:(.text+0x2107): undefined reference to GOMP_parallel' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86_avx2.cpp.obj):crop_x86_avx2.cpp:(.text+0xa1): undefined reference to omp_get_num_threads'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86_avx2.cpp.obj):crop_x86_avx2.cpp:(.text+0xa8): undefined reference to omp_get_thread_num' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86_avx2.cpp.obj):crop_x86_avx2.cpp:(.text+0x1d1): undefined reference to omp_get_num_threads'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86_avx2.cpp.obj):crop_x86_avx2.cpp:(.text+0x1d8): undefined reference to omp_get_thread_num' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86_avx2.cpp.obj):crop_x86_avx2.cpp:(.text+0x301): undefined reference to omp_get_num_threads'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86_avx2.cpp.obj):crop_x86_avx2.cpp:(.text+0x308): undefined reference to omp_get_thread_num' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86_avx2.cpp.obj):crop_x86_avx2.cpp:(.text+0x431): undefined reference to omp_get_num_threads'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86_avx2.cpp.obj):crop_x86_avx2.cpp:(.text+0x438): undefined reference to omp_get_thread_num' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86_avx2.cpp.obj):crop_x86_avx2.cpp:(.text+0x1665): undefined reference to GOMP_parallel'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86_avx2.cpp.obj):crop_x86_avx2.cpp:(.text+0x16d9): undefined reference to GOMP_parallel' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86_avx2.cpp.obj):crop_x86_avx2.cpp:(.text+0x3894): undefined reference to GOMP_parallel'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86_avx2.cpp.obj):crop_x86_avx2.cpp:(.text+0x38de): undefined reference to GOMP_parallel' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86_avx.cpp.obj):crop_x86_avx.cpp:(.text+0xa1): undefined reference to omp_get_num_threads'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86_avx.cpp.obj):crop_x86_avx.cpp:(.text+0xa8): undefined reference to omp_get_thread_num' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86_avx.cpp.obj):crop_x86_avx.cpp:(.text+0x1d1): undefined reference to omp_get_num_threads'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86_avx.cpp.obj):crop_x86_avx.cpp:(.text+0x1d8): undefined reference to omp_get_thread_num' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86_avx.cpp.obj):crop_x86_avx.cpp:(.text+0x301): undefined reference to omp_get_num_threads'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86_avx.cpp.obj):crop_x86_avx.cpp:(.text+0x308): undefined reference to omp_get_thread_num' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86_avx.cpp.obj):crop_x86_avx.cpp:(.text+0x431): undefined reference to omp_get_num_threads'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86_avx.cpp.obj):crop_x86_avx.cpp:(.text+0x438): undefined reference to omp_get_thread_num' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86_avx.cpp.obj):crop_x86_avx.cpp:(.text+0x1665): undefined reference to GOMP_parallel'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86_avx.cpp.obj):crop_x86_avx.cpp:(.text+0x16d9): undefined reference to GOMP_parallel' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86_avx.cpp.obj):crop_x86_avx.cpp:(.text+0x3894): undefined reference to GOMP_parallel'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(crop_x86_avx.cpp.obj):crop_x86_avx.cpp:(.text+0x38de): undefined reference to GOMP_parallel' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(deconvolution.cpp.obj):deconvolution.cpp:(.text+0x5c): undefined reference to omp_get_num_threads'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(deconvolution.cpp.obj):deconvolution.cpp:(.text+0x63): undefined reference to omp_get_thread_num' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(deconvolution.cpp.obj):deconvolution.cpp:(.text+0x19df): undefined reference to GOMP_parallel'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout.cpp.obj):dropout.cpp:(.text+0x80): undefined reference to GOMP_parallel' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout.cpp.obj):dropout.cpp:(.text+0xa4): undefined reference to omp_get_num_threads'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout.cpp.obj):dropout.cpp:(.text+0xab): undefined reference to omp_get_thread_num' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86.cpp.obj):dropout_x86.cpp:(.text+0xa): undefined reference to omp_get_num_threads'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86.cpp.obj):dropout_x86.cpp:(.text+0x11): undefined reference to omp_get_thread_num' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86.cpp.obj):dropout_x86.cpp:(.text+0xca): undefined reference to omp_get_num_threads'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86.cpp.obj):dropout_x86.cpp:(.text+0xd1): undefined reference to omp_get_thread_num' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86.cpp.obj):dropout_x86.cpp:(.text+0x1c8): undefined reference to GOMP_parallel'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86.cpp.obj):dropout_x86.cpp:(.text+0x20c): undefined reference to GOMP_parallel' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86.cpp.obj):dropout_x86.cpp:(.text+0x247): undefined reference to GOMP_parallel'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86.cpp.obj):dropout_x86.cpp:(.text+0x27a): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86.cpp.obj):dropout_x86.cpp:(.text+0x281): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx2.cpp.obj):dropout_x86_avx2.cpp:(.text+0xa): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx2.cpp.obj):dropout_x86_avx2.cpp:(.text+0x11): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx2.cpp.obj):dropout_x86_avx2.cpp:(.text+0xba): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx2.cpp.obj):dropout_x86_avx2.cpp:(.text+0xc1): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx2.cpp.obj):dropout_x86_avx2.cpp:(.text+0x16a): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx2.cpp.obj):dropout_x86_avx2.cpp:(.text+0x171): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx2.cpp.obj):dropout_x86_avx2.cpp:(.text+0x1fa): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx2.cpp.obj):dropout_x86_avx2.cpp:(.text+0x201): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx2.cpp.obj):dropout_x86_avx2.cpp:(.text+0x354): undefined reference to GOMP_parallel' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx2.cpp.obj):dropout_x86_avx2.cpp:(.text+0x393): undefined reference to GOMP_parallel'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx2.cpp.obj):dropout_x86_avx2.cpp:(.text+0x3ca): undefined reference to GOMP_parallel' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx2.cpp.obj):dropout_x86_avx2.cpp:(.text+0x406): undefined reference to GOMP_parallel'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx2.cpp.obj):dropout_x86_avx2.cpp:(.text+0x43f): undefined reference to GOMP_parallel' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx2.cpp.obj):dropout_x86_avx2.cpp:(.text+0x477): more undefined references to GOMP_parallel' follow
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx2.cpp.obj):dropout_x86_avx2.cpp:(.text+0x4aa): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx2.cpp.obj):dropout_x86_avx2.cpp:(.text+0x4b1): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx2.cpp.obj):dropout_x86_avx2.cpp:(.text+0x55a): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx2.cpp.obj):dropout_x86_avx2.cpp:(.text+0x561): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx.cpp.obj):dropout_x86_avx.cpp:(.text+0xa): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx.cpp.obj):dropout_x86_avx.cpp:(.text+0x11): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx.cpp.obj):dropout_x86_avx.cpp:(.text+0xba): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx.cpp.obj):dropout_x86_avx.cpp:(.text+0xc1): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx.cpp.obj):dropout_x86_avx.cpp:(.text+0x16a): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx.cpp.obj):dropout_x86_avx.cpp:(.text+0x171): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx.cpp.obj):dropout_x86_avx.cpp:(.text+0x1fa): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx.cpp.obj):dropout_x86_avx.cpp:(.text+0x201): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx.cpp.obj):dropout_x86_avx.cpp:(.text+0x354): undefined reference to GOMP_parallel' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx.cpp.obj):dropout_x86_avx.cpp:(.text+0x393): undefined reference to GOMP_parallel'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx.cpp.obj):dropout_x86_avx.cpp:(.text+0x3ca): undefined reference to GOMP_parallel' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx.cpp.obj):dropout_x86_avx.cpp:(.text+0x406): undefined reference to GOMP_parallel'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx.cpp.obj):dropout_x86_avx.cpp:(.text+0x43f): undefined reference to GOMP_parallel' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx.cpp.obj):dropout_x86_avx.cpp:(.text+0x477): more undefined references to GOMP_parallel' follow
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx.cpp.obj):dropout_x86_avx.cpp:(.text+0x4aa): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx.cpp.obj):dropout_x86_avx.cpp:(.text+0x4b1): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx.cpp.obj):dropout_x86_avx.cpp:(.text+0x55a): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(dropout_x86_avx.cpp.obj):dropout_x86_avx.cpp:(.text+0x561): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(eltwise.cpp.obj):eltwise.cpp:(.text+0xde): undefined reference to GOMP_parallel' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(eltwise.cpp.obj):eltwise.cpp:(.text+0x130): undefined reference to GOMP_parallel'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(eltwise.cpp.obj):eltwise.cpp:(.text+0x19c): undefined reference to GOMP_parallel' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(eltwise.cpp.obj):eltwise.cpp:(.text+0x1ef): undefined reference to GOMP_parallel'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(eltwise.cpp.obj):eltwise.cpp:(.text+0x260): undefined reference to GOMP_parallel' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(eltwise.cpp.obj):eltwise.cpp:(.text+0x2c6): more undefined references to GOMP_parallel' follow
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(eltwise.cpp.obj):eltwise.cpp:(.text+0x3c4): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(eltwise.cpp.obj):eltwise.cpp:(.text+0x3cb): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(eltwise.cpp.obj):eltwise.cpp:(.text+0x6e4): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(eltwise.cpp.obj):eltwise.cpp:(.text+0x6eb): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(eltwise.cpp.obj):eltwise.cpp:(.text+0xa04): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(eltwise.cpp.obj):eltwise.cpp:(.text+0xa0b): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(eltwise.cpp.obj):eltwise.cpp:(.text+0xd64): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(eltwise.cpp.obj):eltwise.cpp:(.text+0xd6b): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(eltwise.cpp.obj):eltwise.cpp:(.text+0x10a4): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(eltwise.cpp.obj):eltwise.cpp:(.text+0x10ab): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(eltwise.cpp.obj):eltwise.cpp:(.text+0x1444): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(eltwise.cpp.obj):eltwise.cpp:(.text+0x144b): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(eltwise.cpp.obj):eltwise.cpp:(.text+0x17e4): undefined reference to omp_get_num_threads' D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(eltwise.cpp.obj):eltwise.cpp:(.text+0x17eb): undefined reference to omp_get_thread_num'
D:\vm_sharefile\ytup_vison_pro_unix\include_ncnn\x64\mingw\lib\Release/libncnn.a(eltwise.cpp.obj):eltwise.cpp:(.text+0x1b84): undefined reference to `omp_get_num_threads'

编译/运行环境
windows10 cmake 使用Mingw32 编译器编译ncnn,然后使用Qt create mingw 64打开工程链接,ncnn库

how to reproduce | 复现步骤 | 再現方法

1.windows下使用cmake MinGW Makefile Specify nativate compilers,选择Qt安装目录下的gcc g++,然后configure generate
2. 然后cd 到ncnn编译目录下创建的build目录下,使用C:\Qt\Qt5.13.2\Tools\mingw730_64\bin\mingw32-make.exe -j8 进行编译
3.讲编译好的库文件,拷贝,然后使用qt create新建工程,进行链接,然后编译工程,就出现了大段的链接错误

more | 其他 | その他

tcomlyy6

tcomlyy61#

是关于 openmp 的链接报错。
可以先尝试在编译 ncnn 时,关闭 openmp 的相关 cmake 选项。

xiozqbni

xiozqbni2#

是关于 openmp 的链接报错。

关闭openmp可以了。感谢。

x6h2sr28

x6h2sr283#

是关于 openmp 的链接报错。 可以先尝试在编译 ncnn 时,关闭 openmp 的相关 cmake 选项。

请问具体怎么操作可以关闭openmp的选项呢?

ssgvzors

ssgvzors4#

是关于 openmp 的链接报错。 可以先尝试在编译 ncnn 时,关闭 openmp 的相关 cmake 选项。

请问具体怎么操作可以关闭openmp的选项呢?

ncnn 是开源的, 你可以阅读 CMakeLists.txt

ncnn/CMakeLists.txt

Line 60 in a7e3c62

| | option(NCNN_OPENMP "openmp support"ON) |

调用 cmake 的时候,传入参数

-DNCNN_OPENMP=OFF

即可。 或者你手动修改上面的 CMakeLists.txt, 把 ON 改成 OFF 即可。

cxfofazt

cxfofazt5#

是关于 openmp 的链接报错。 可以先尝试在编译 ncnn 时,关闭 openmp 的相关 cmake 选项。

请问具体怎么操作可以关闭openmp的选项呢?

ncnn 是开源的, 你可以阅读 CMakeLists.txt

ncnn/CMakeLists.txt

Line 60 in a7e3c62

| | option(NCNN_OPENMP "openmp support"ON) |

调用 cmake 的时候,传入参数

-DNCNN_OPENMP=OFF

即可。 或者你手动修改上面的 CMakeLists.txt, 把 ON 改成 OFF 即可。

您好,我之前有这样试过,但是在编译ncnn最后链接的时候会报其他的错误Linking CXX executable benchncnn

../src/libncnn.a(cpu.cpp.o): In function _GLOBAL__sub_I_cpu.cpp': cpu.cpp:(.text.startup+0x350): undefined reference to pthread_key_create'
../src/libncnn.a(cpu.cpp.o): In function ncnn::ThreadLocalStorage::~ThreadLocalStorage()': cpu.cpp:(.text._ZN4ncnn18ThreadLocalStorageD2Ev[_ZN4ncnn18ThreadLocalStorageD5Ev]+0xc): undefined reference to pthread_key_delete'
collect2: error: ld returned 1 exit status
make[2]: *** [benchmark/benchncnn] Error 1
make[1]: *** [benchmark/CMakeFiles/benchncnn.dir/all] Error 2
make: *** [all] Error 2

hgncfbus

hgncfbus6#

我之前有这样试过

有把 build 目录删掉之后再试么

相关问题