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

Unresolved reference to 'dgesvd_' #977

Closed
rallemuuss opened this issue Jun 22, 2021 · 1 comment
Closed

Unresolved reference to 'dgesvd_' #977

rallemuuss opened this issue Jun 22, 2021 · 1 comment

Comments

@rallemuuss
Copy link

On a Nvidia Jetson Nano
I have compiled OpenBLAS dev branch from source.

Everything until the compilation of OpenFace itself is pretty smooth sailing. I've followed the manual installation, and done as proposed in the ARM thread.
When running make on OpenFace itself, it fails on "Linking CXX executable ../../bin/FaceLandmarkVid.
I'm getting an undefined reference to dgesvd_ from dlib::scan_fhog_pyramid
I've tried with dlib from source and libdlib-dev from apt.

[ 84%] Linking CXX executable ../../bin/FaceLandmarkImg CMakeFiles/FaceLandmarkImg.dir/FaceLandmarkImg.cpp.o: In function dlib::scan_fhog_pyramid<dlib::pyramid_down<6u>, dlib::default_fhog_feature_extractor>::build_fhog_filterbank(dlib::matrix<double, 0l, 1l, dlib::memory_manager_stateless_kernel_1, dlib::row_major_layout> const&) const':
FaceLandmarkImg.cpp:(.text._ZNK4dlib17scan_fhog_pyramidINS_12pyramid_downILj6EEENS_30default_fhog_feature_extractorEE21build_fhog_filterbankERKNS_6matrixIdLl0ELl1ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutEEE[_ZNK4dlib17scan_fhog_pyramidINS_12pyramid_downILj6EEENS_30default_fhog_feature_extractorEE21build_fhog_filterbankERKNS_6matrixIdLl0ELl1ENS_33memory_manager_stateless_kernel_1IcEENS_16row_major_layoutEEE]+0x58c): undefined reference to 'dgesvd_'

Any help is greatly appreciated.

@rallemuuss
Copy link
Author

I'm note sure how I fixed this, but it had something to do with this cmake error:
runtime library [libopenblas.so.0] in /usr/lib/aarch64-linux-gnu may be hidden by files in:
/usr/local/lib
I solved it by moving the files around between these two locations.

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