Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openblas is installed on WIN10, but I still get undefined reference to `cblas_sgemm' #103

Open
ericjing83 opened this issue Jul 20, 2023 · 0 comments

Comments

@ericjing83
Copy link

Dear sir,
I tried to build go-face project on win10 laptop,and I failed

FYI, this is my computer environment:
compiler: mingw64 with gcc8.1
os: windows10
golang version: 1.19 with cgo enabled
openblas: installed by this link(pre-built binaries): https://github.com/xianyi/OpenBLAS/releases
In face.go, I use:
// #cgo CXXFLAGS: -std=c++1z -Wall -O3 -DNDEBUG -march=native -IC:/OpenBLAS-0.3.23-x64/include -IC:/dlib/install/include -IC:/libjpeg-turbo-2.1.5.1/libjpeg-turbo-2.1.5.1/install/include
// #cgo LDFLAGS: -L C:/OpenBLAS-0.3.23-x64/lib -lopenblas -ldlib -ljpeg
// #include <stdlib.h>
// #include <stdint.h>
// #include "facerec.h"
import "C"

and I get below error, could you help me? It seems that dlib cannot find openblas library correctly, but I do have openblas on my computer:
D:\usr\local\go\pkg\tool\windows_amd64\link.exe: running g++ failed: exit status 1
C:/Program Files/mingw-w64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0/mingw64/lib/../lib/libdlib.a(cpu_dlib.cpp.obj):cpu_dlib.cpp:(.text$ZN4dlib13blas_bindings18matrix_assign_blasIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutENS_19matrix_multiply_expINS_9matrix_opINS_8op_transINS6_INS_17op_pointer_to_matIfEEEEEEEESA_EEEEvRNS_6matrixIT_XT0_EXT1_ET
2_T3_EERKT4
[ZN4dlib13blas_bindings18matrix_assign_blasIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutENS_19matrix_multiply_expINS_9matrix_opINS_8op_transINS6_INS_17op_pointer_to_matIfEEEEEEEESA_EEEEvRNS_6matrixIT_XT0_EXT1_ET2_T3_EERKT4]+0xc5): undefined reference to cblas_sgemm' C:/Program Files/mingw-w64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0/mingw64/lib/../lib/libdlib.a(cpu_dlib.cpp.obj):cpu_dlib.cpp:(.text$_ZN4dlib13blas_bindings18matrix_assign_blasIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutENS_19matrix_multiply_expINS_9matrix_opINS_8op_transINS6_INS_17op_pointer_to_matIfEEEEEEEESA_EEEEvRNS_6matrixIT_XT0_EXT1_ET 2_T3_EERKT4_[_ZN4dlib13blas_bindings18matrix_assign_blasIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutENS_19matrix_multiply_expINS_9matrix_opINS_8op_transINS6_INS_17op_pointer_to_matIfEEEEEEEESA_EEEEvRNS_6matrixIT_XT0_EXT1_ET2_T3_EERKT4_]+0x154): undefined reference to cblas_sgemm'
C:/Program Files/mingw-w64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0/mingw64/lib/../lib/libdlib.a(cpu_dlib.cpp.obj):cpu_dlib.cpp:(.text$ZN4dlib13blas_bindings18matrix_assign_blasIfNS_14matrix_add_expINS_9matrix_opINS_17op_pointer_to_matIfEEEENS_19matrix_multiply_expIS6_NS3_INS_8op_transINS_6matrixIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutEEE
EEEEEEEEEEvRNS_21assignable_ptr_matrixIT_EERKT0
[ZN4dlib13blas_bindings18matrix_assign_blasIfNS_14matrix_add_expINS_9matrix_opINS_17op_pointer_to_matIfEEEENS_19matrix_multiply_expIS6_NS3_INS_8op_transINS_6matrixIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutEEEEEEEEEEEEEvRNS_21assignable_ptr_matrixIT_EERKT0]+0x3c3): undefined reference to cblas _sgemm' C:/Program Files/mingw-w64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0/mingw64/lib/../lib/libdlib.a(cpu_dlib.cpp.obj):cpu_dlib.cpp:(.text$_ZN4dlib13blas_bindings18matrix_assign_blasIfNS_14matrix_add_expINS_9matrix_opINS_17op_pointer_to_matIfEEEENS_19matrix_multiply_expIS6_NS3_INS_8op_transINS_6matrixIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutEEE EEEEEEEEEEvRNS_21assignable_ptr_matrixIT_EERKT0_[_ZN4dlib13blas_bindings18matrix_assign_blasIfNS_14matrix_add_expINS_9matrix_opINS_17op_pointer_to_matIfEEEENS_19matrix_multiply_expIS6_NS3_INS_8op_transINS_6matrixIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutEEEEEEEEEEEEEvRNS_21assignable_ptr_matrixIT_EERKT0_]+0x9b6): undefined reference to cblas
_sgemm'
C:/Program Files/mingw-w64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0/mingw64/lib/../lib/libdlib.a(cpu_dlib.cpp.obj):cpu_dlib.cpp:(.text$ZN4dlib13blas_bindings18matrix_assign_blasIfNS_19matrix_multiply_expINS_9matrix_opINS_17op_pointer_to_matIfEEEENS3_INS_8op_transINS_6matrixIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutEEEEEEEEEEEvRNS_21assignab
le_ptr_matrixIT_EERKT0
[ZN4dlib13blas_bindings18matrix_assign_blasIfNS_19matrix_multiply_expINS_9matrix_opINS_17op_pointer_to_matIfEEEENS3_INS_8op_transINS_6matrixIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutEEEEEEEEEEEvRNS_21assignable_ptr_matrixIT_EERKT0]+0xa2): undefined reference to cblas_sgemm' C:/Program Files/mingw-w64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0/mingw64/lib/../lib/libdlib.a(cpu_dlib.cpp.obj):cpu_dlib.cpp:(.text$_ZN4dlib13blas_bindings18matrix_assign_blasIfNS_19matrix_multiply_expINS_9matrix_opINS_17op_pointer_to_matIfEEEENS3_INS_8op_transINS_6matrixIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutEEEEEEEEEEEvRNS_21assignab le_ptr_matrixIT_EERKT0_[_ZN4dlib13blas_bindings18matrix_assign_blasIfNS_19matrix_multiply_expINS_9matrix_opINS_17op_pointer_to_matIfEEEENS3_INS_8op_transINS_6matrixIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutEEEEEEEEEEEvRNS_21assignable_ptr_matrixIT_EERKT0_]+0x15e): more undefined references to cblas_sgemm' follow
C:/Program Files/mingw-w64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0/mingw64/lib/../lib/libdlib.a(cpu_dlib.cpp.obj):cpu_dlib.cpp:(.text$_ZN4dlib13blas_bindings25matrix_assign_blas_helperINS_21assignable_ptr_matrixIfEENS_9matrix_opINS_17op_pointer_to_matIfEEEEvE6assignERS3_RKS7_fbb[_ZN4dlib13blas_bindings25matrix_assign_blas_helperINS_21assignable_ptr_matrixIfEENS_9matrix_o
pINS_17op_pointer_to_matIfEEEEvE6assignERS3_RKS7_fbb]+0xc41): undefined reference to cblas_saxpy' C:/Program Files/mingw-w64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0/mingw64/lib/../lib/libdlib.a(cpu_dlib.cpp.obj):cpu_dlib.cpp:(.text$_ZN4dlib13blas_bindings18matrix_assign_blasIfNS_14matrix_add_expINS_19matrix_mul_scal_expINS_9matrix_opINS_17op_pointer_to_matIfEEEELb1EEES8_EEEEvRNS_21assignable_ptr_matrixIT_EERKT0_[_ZN4dlib13blas_bindings18matrix_assign_blasIfNS_14matri x_add_expINS_19matrix_mul_scal_expINS_9matrix_opINS_17op_pointer_to_matIfEEEELb1EEES8_EEEEvRNS_21assignable_ptr_matrixIT_EERKT0_]+0x134a): undefined reference to cblas_saxpy'
C:/Program Files/mingw-w64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0/mingw64/lib/../lib/libdlib.a(cpu_dlib.cpp.obj):cpu_dlib.cpp:(.text$ZN4dlib13blas_bindings18matrix_assign_blasIfNS_14matrix_add_expINS_19matrix_mul_scal_expINS_9matrix_opINS_17op_pointer_to_matIfEEEELb1EEES8_EEEEvRNS_21assignable_ptr_matrixIT_EERKT0[ZN4dlib13blas_bindings18matrix_assign_blasIfNS_14matri
x_add_expINS_19matrix_mul_scal_expINS_9matrix_opINS_17op_pointer_to_matIfEEEELb1EEES8_EEEEvRNS_21assignable_ptr_matrixIT_EERKT0
]+0x1642): undefined reference to cblas_saxpy' C:/Program Files/mingw-w64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0/mingw64/lib/../lib/libdlib.a(tensor_tools.cpp.obj):tensor_tools.cpp:(.text$_ZN4dlib6tensoraSINS_19matrix_mul_scal_expINS_19matrix_multiply_expINS_9matrix_opINS_17op_pointer_to_matIfEEEES7_EELb0EEEEERS0_RKNS_10matrix_expIT_EE[_ZN4dlib6tensoraSINS_19matrix_mul_scal_expINS_19matrix_multiply_expINS_9matrix_op INS_17op_pointer_to_matIfEEEES7_EELb0EEEEERS0_RKNS_10matrix_expIT_EE]+0xe6): undefined reference to cblas_sgemm'
C:/Program Files/mingw-w64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0/mingw64/lib/../lib/libdlib.a(tensor_tools.cpp.obj):tensor_tools.cpp:(.text$_ZN4dlib6tensoraSINS_19matrix_mul_scal_expINS_19matrix_multiply_expINS_9matrix_opINS_17op_pointer_to_matIfEEEES7_EELb0EEEEERS0_RKNS_10matrix_expIT_EE[_ZN4dlib6tensoraSINS_19matrix_mul_scal_expINS_19matrix_multiply_expINS_9matrix_op
INS_17op_pointer_to_matIfEEEES7_EELb0EEEEERS0_RKNS_10matrix_expIT_EE]+0x1cc): undefined reference to cblas_sgemm' C:/Program Files/mingw-w64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0/mingw64/lib/../lib/libdlib.a(tensor_tools.cpp.obj):tensor_tools.cpp:(.text$_ZN4dlib6tensoraSINS_19matrix_mul_scal_expINS_19matrix_multiply_expINS_9matrix_opINS_17op_pointer_to_matIfEEEES7_EELb0EEEEERS0_RKNS_10matrix_expIT_EE[_ZN4dlib6tensoraSINS_19matrix_mul_scal_expINS_19matrix_multiply_expINS_9matrix_op INS_17op_pointer_to_matIfEEEES7_EELb0EEEEERS0_RKNS_10matrix_expIT_EE]+0x4dc): undefined reference to cblas_sgemm'
C:/Program Files/mingw-w64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0/mingw64/lib/../lib/libdlib.a(tensor_tools.cpp.obj):tensor_tools.cpp:(.text$_ZNK4dlib16lu_decompositionINS_9matrix_opINS_17op_pointer_to_matIfEEEEE5solveINS_14matrix_diag_opINS_20op_identity_matrix_2IfEEEEEEKNS_6matrixIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutEEERKNS_10matrix
_expIT_EE[_ZNK4dlib16lu_decompositionINS_9matrix_opINS_17op_pointer_to_matIfEEEEE5solveINS_14matrix_diag_opINS_20op_identity_matrix_2IfEEEEEEKNS_6matrixIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutEEERKNS_10matrix_expIT_EE]+0x2f1): undefined reference to cblas_strsm' C:/Program Files/mingw-w64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0/mingw64/lib/../lib/libdlib.a(tensor_tools.cpp.obj):tensor_tools.cpp:(.text$_ZNK4dlib16lu_decompositionINS_9matrix_opINS_17op_pointer_to_matIfEEEEE5solveINS_14matrix_diag_opINS_20op_identity_matrix_2IfEEEEEEKNS_6matrixIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutEEERKNS_10matrix _expIT_EE[_ZNK4dlib16lu_decompositionINS_9matrix_opINS_17op_pointer_to_matIfEEEEE5solveINS_14matrix_diag_opINS_20op_identity_matrix_2IfEEEEEEKNS_6matrixIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutEEERKNS_10matrix_expIT_EE]+0x345): undefined reference to cblas_strsm'
C:/Program Files/mingw-w64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0/mingw64/lib/../lib/libdlib.a(tensor_tools.cpp.obj):tensor_tools.cpp:(.text$ZN4dlib13blas_bindings18matrix_assign_blasIfNS_19matrix_mul_scal_expINS_19matrix_multiply_expINS_9matrix_opINS_8op_transINS4_INS_17op_pointer_to_matIfEEEEEEEESA_EELb0EEEEEvRNS_21assignable_ptr_matrixIT_EERKT0[ZN4dlib13blas_bindi
ngs18matrix_assign_blasIfNS_19matrix_mul_scal_expINS_19matrix_multiply_expINS_9matrix_opINS_8op_transINS4_INS_17op_pointer_to_matIfEEEEEEEESA_EELb0EEEEEvRNS_21assignable_ptr_matrixIT_EERKT0
]+0x9a): undefined reference to cblas_sgemm' C:/Program Files/mingw-w64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0/mingw64/lib/../lib/libdlib.a(tensor_tools.cpp.obj):tensor_tools.cpp:(.text$_ZN4dlib13blas_bindings18matrix_assign_blasIfNS_19matrix_mul_scal_expINS_19matrix_multiply_expINS_9matrix_opINS_8op_transINS4_INS_17op_pointer_to_matIfEEEEEEEESA_EELb0EEEEEvRNS_21assignable_ptr_matrixIT_EERKT0_[_ZN4dlib13blas_bindi ngs18matrix_assign_blasIfNS_19matrix_mul_scal_expINS_19matrix_multiply_expINS_9matrix_opINS_8op_transINS4_INS_17op_pointer_to_matIfEEEEEEEESA_EELb0EEEEEvRNS_21assignable_ptr_matrixIT_EERKT0_]+0x157): undefined reference to cblas_sgemm'
C:/Program Files/mingw-w64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0/mingw64/lib/../lib/libdlib.a(tensor_tools.cpp.obj):tensor_tools.cpp:(.text$_ZN4dlib6tensoraSINS_19matrix_mul_scal_expINS_19matrix_multiply_expINS_9matrix_opINS_8op_transINS4_INS_17op_pointer_to_matIfEEEEEEEESA_EELb0EEEEERS0_RKNS_10matrix_expIT_EE[_ZN4dlib6tensoraSINS_19matrix_mul_scal_expINS_19matrix_mult
iply_expINS_9matrix_opINS_8op_transINS4_INS_17op_pointer_to_matIfEEEEEEEESA_EELb0EEEEERS0_RKNS_10matrix_expIT_EE]+0x19e): undefined reference to cblas_sgemm' C:/Program Files/mingw-w64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0/mingw64/lib/../lib/libdlib.a(tensor_tools.cpp.obj):tensor_tools.cpp:(.text$_ZN4dlib6tensoraSINS_19matrix_mul_scal_expINS_19matrix_multiply_expINS_9matrix_opINS_8op_transINS4_INS_17op_pointer_to_matIfEEEEEEEESA_EELb0EEEEERS0_RKNS_10matrix_expIT_EE[_ZN4dlib6tensoraSINS_19matrix_mul_scal_expINS_19matrix_mult iply_expINS_9matrix_opINS_8op_transINS4_INS_17op_pointer_to_matIfEEEEEEEESA_EELb0EEEEERS0_RKNS_10matrix_expIT_EE]+0x4c1): undefined reference to cblas_sgemm'
C:/Program Files/mingw-w64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0/mingw64/lib/../lib/libdlib.a(tensor_tools.cpp.obj):tensor_tools.cpp:(.text$ZN4dlib13blas_bindings18matrix_assign_blasIfNS_19matrix_mul_scal_expINS_19matrix_multiply_expINS_9matrix_opINS_17op_pointer_to_matIfEEEENS4_INS_8op_transIS7_EEEEEELb0EEEEEvRNS_21assignable_ptr_matrixIT_EERKT0[ZN4dlib13blas_bindi
ngs18matrix_assign_blasIfNS_19matrix_mul_scal_expINS_19matrix_multiply_expINS_9matrix_opINS_17op_pointer_to_matIfEEEENS4_INS_8op_transIS7_EEEEEELb0EEEEEvRNS_21assignable_ptr_matrixIT_EERKT0
]+0x97): undefined reference to cblas_sgemm' C:/Program Files/mingw-w64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0/mingw64/lib/../lib/libdlib.a(tensor_tools.cpp.obj):tensor_tools.cpp:(.text$_ZN4dlib13blas_bindings18matrix_assign_blasIfNS_19matrix_mul_scal_expINS_19matrix_multiply_expINS_9matrix_opINS_17op_pointer_to_matIfEEEENS4_INS_8op_transIS7_EEEEEELb0EEEEEvRNS_21assignable_ptr_matrixIT_EERKT0_[_ZN4dlib13blas_bindi ngs18matrix_assign_blasIfNS_19matrix_mul_scal_expINS_19matrix_multiply_expINS_9matrix_opINS_17op_pointer_to_matIfEEEENS4_INS_8op_transIS7_EEEEEELb0EEEEEvRNS_21assignable_ptr_matrixIT_EERKT0_]+0x151): more undefined references to cblas_sgemm' follow
C:/Program Files/mingw-w64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0/mingw64/lib/../lib/libdlib.a(tensor_tools.cpp.obj):tensor_tools.cpp:(.text$_ZN4dlib13blas_bindings25matrix_assign_blas_helperINS_6matrixIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutEEENS_9matrix_opINS_17op_pointer_to_matIfEEEEvE6assignERS6_RKSA_fbb[_ZN4dlib13blas_bindings25matr
ix_assign_blas_helperINS_6matrixIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutEEENS_9matrix_opINS_17op_pointer_to_matIfEEEEvE6assignERS6_RKSA_fbb]+0xd21): undefined reference to cblas_saxpy' C:/Program Files/mingw-w64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0/mingw64/lib/../lib/libdlib.a(tensor_tools.cpp.obj):tensor_tools.cpp:(.text$_ZN4dlib13blas_bindings18matrix_assign_blasIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutENS_14matrix_add_expINS_19matrix_mul_scal_expINS_19matrix_multiply_expINS_9matrix_opINS_17op_pointer_to_matIfEEEESB _EELb0EEENS6_ISB_Lb1EEEEEEEvRNS_6matrixIT_XT0_EXT1_ET2_T3_EERKT4_[_ZN4dlib13blas_bindings18matrix_assign_blasIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutENS_14matrix_add_expINS_19matrix_mul_scal_expINS_19matrix_multiply_expINS_9matrix_opINS_17op_pointer_to_matIfEEEESB_EELb0EEENS6_ISB_Lb1EEEEEEEvRNS_6matrixIT_XT0_EXT1_ET2_T3_EERKT4_]+0xf8): unde fined reference to cblas_sgemm'
C:/Program Files/mingw-w64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0/mingw64/lib/../lib/libdlib.a(tensor_tools.cpp.obj):tensor_tools.cpp:(.text$_ZN4dlib13blas_bindings18matrix_assign_blasIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutENS_14matrix_add_expINS_19matrix_mul_scal_expINS_19matrix_multiply_expINS_9matrix_opINS_17op_pointer_to_matIfEEEESB
EELb0EEENS6_ISB_Lb1EEEEEEEvRNS_6matrixIT_XT0_EXT1_ET2_T3_EERKT4[ZN4dlib13blas_bindings18matrix_assign_blasIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutENS_14matrix_add_expINS_19matrix_mul_scal_expINS_19matrix_multiply_expINS_9matrix_opINS_17op_pointer_to_matIfEEEESB_EELb0EEENS6_ISB_Lb1EEEEEEEvRNS_6matrixIT_XT0_EXT1_ET2_T3_EERKT4]+0x1dc): und
efined reference to cblas_sgemm' C:/Program Files/mingw-w64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0/mingw64/lib/../lib/libdlib.a(tensor_tools.cpp.obj):tensor_tools.cpp:(.text$_ZN4dlib13blas_bindings18matrix_assign_blasIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutENS_14matrix_add_expINS_19matrix_mul_scal_expINS_19matrix_multiply_expINS_9matrix_opINS_8op_transINS8_INS_17op_poin ter_to_matIfEEEEEEEESC_EELb0EEENS6_ISC_Lb1EEEEEEEvRNS_6matrixIT_XT0_EXT1_ET2_T3_EERKT4_[_ZN4dlib13blas_bindings18matrix_assign_blasIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutENS_14matrix_add_expINS_19matrix_mul_scal_expINS_19matrix_multiply_expINS_9matrix_opINS_8op_transINS8_INS_17op_pointer_to_matIfEEEEEEEESC_EELb0EEENS6_ISC_Lb1EEEEEEEvRNS_6m atrixIT_XT0_EXT1_ET2_T3_EERKT4_]+0xfe): undefined reference to cblas_sgemm'
C:/Program Files/mingw-w64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0/mingw64/lib/../lib/libdlib.a(tensor_tools.cpp.obj):tensor_tools.cpp:(.text$ZN4dlib13blas_bindings18matrix_assign_blasIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutENS_14matrix_add_expINS_19matrix_mul_scal_expINS_19matrix_multiply_expINS_9matrix_opINS_8op_transINS8_INS_17op_poin
ter_to_matIfEEEEEEEESC_EELb0EEENS6_ISC_Lb1EEEEEEEvRNS_6matrixIT_XT0_EXT1_ET2_T3_EERKT4
[ZN4dlib13blas_bindings18matrix_assign_blasIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutENS_14matrix_add_expINS_19matrix_mul_scal_expINS_19matrix_multiply_expINS_9matrix_opINS_8op_transINS8_INS_17op_pointer_to_matIfEEEEEEEESC_EELb0EEENS6_ISC_Lb1EEEEEEEvRNS_6m
atrixIT_XT0_EXT1_ET2_T3_EERKT4
]+0x1e9): undefined reference to cblas_sgemm' C:/Program Files/mingw-w64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0/mingw64/lib/../lib/libdlib.a(tensor_tools.cpp.obj):tensor_tools.cpp:(.text$_ZN4dlib13blas_bindings18matrix_assign_blasIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutENS_14matrix_add_expINS_19matrix_mul_scal_expINS_19matrix_multiply_expINS_9matrix_opINS_17op_pointer_to_matIfEEEENS 8_INS_8op_transISB_EEEEEELb0EEENS6_ISB_Lb1EEEEEEEvRNS_6matrixIT_XT0_EXT1_ET2_T3_EERKT4_[_ZN4dlib13blas_bindings18matrix_assign_blasIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutENS_14matrix_add_expINS_19matrix_mul_scal_expINS_19matrix_multiply_expINS_9matrix_opINS_17op_pointer_to_matIfEEEENS8_INS_8op_transISB_EEEEEELb0EEENS6_ISB_Lb1EEEEEEEvRNS_6m atrixIT_XT0_EXT1_ET2_T3_EERKT4_]+0xfb): undefined reference to cblas_sgemm'
C:/Program Files/mingw-w64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0/mingw64/lib/../lib/libdlib.a(tensor_tools.cpp.obj):tensor_tools.cpp:(.text$ZN4dlib13blas_bindings18matrix_assign_blasIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutENS_14matrix_add_expINS_19matrix_mul_scal_expINS_19matrix_multiply_expINS_9matrix_opINS_17op_pointer_to_matIfEEEENS
8_INS_8op_transISB_EEEEEELb0EEENS6_ISB_Lb1EEEEEEEvRNS_6matrixIT_XT0_EXT1_ET2_T3_EERKT4
[ZN4dlib13blas_bindings18matrix_assign_blasIfLl0ELl0ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutENS_14matrix_add_expINS_19matrix_mul_scal_expINS_19matrix_multiply_expINS_9matrix_opINS_17op_pointer_to_matIfEEEENS8_INS_8op_transISB_EEEEEELb0EEENS6_ISB_Lb1EEEEEEEvRNS_6m
atrixIT_XT0_EXT1_ET2_T3_EERKT4
]+0x1ec): more undefined references to `cblas_sgemm' follow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant