You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cargo build with dlib-face-recognition = {version = "0.3.2", features = ["embed-all"]} set in cargo.toml end up failed with message:
error: could not find native static library dlib, perhaps an -L flag is missing?
systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
OS Name: Microsoft Windows 11 Enterprise
OS Version: 10.0.22000 N/A Build 22000
cl
Microsoft (R) C/C++ Optimizing Compiler Version 19.38.33130 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
vcpkg list
blas:x64-windows 2023-03-25 Metapackage for packages which provide BLAS
lapack-reference:x64-windows 3.11.0#1 LAPACK - Linear Algebra PACKage
lapack-reference[blas-select]:x64-windows Use external optimized BLAS
lapack-reference[noblas]:x64-windows Use external optimized BLAS
lapack:x64-windows 2022-02-22#2 Metapackage for packages which provide LAPACK
openblas:x64-windows 0.3.25 OpenBLAS is an optimized BLAS library based on G...
sqlite3:x64-windows 3.43.2 SQLite is a software library that implements a s...
sqlite3[json1]:x64-windows Enable JSON functionality for sqlite3
vcpkg-cmake-config:x64-windows 2022-02-06#1
vcpkg-cmake:x64-windows 2023-05-04
vcpkg-gfortran:x64-windows 3#3 Metaport to install gfortran dependencies from m...
The text was updated successfully, but these errors were encountered:
This error indicates that the dlib library was not found in the machine.
Recently this crate has changed it's behaviour to not include the entire download and installation of dlib by default, and also the feature flag to enable this was modified to "build-native"
The "build-native" flag will download and make a local install for dlib, but in case you dont wish this, do look for instructions on how to build and use it in Windows globally.
I did a quick test in my Win11 machine, and when changing the feature flag's name to "build-native", seems like it was built correctly.
There seems to be some bugs in the code however, i'll take a look at them shortly..
Hi, it seems that the system library dlib you installed has not found by our build.rs. Could you register an environment variable DEP_DLIB_INCLUDE to your dlib path? It's likely be a __YOUR_LIBRARY_PATH__/dlib-19.24 if you downloaded it from the official homepage.
cargo build
withdlib-face-recognition = {version = "0.3.2", features = ["embed-all"]}
set in cargo.toml end up failed with message:error: could not find native static library
dlib
, perhaps an -L flag is missing?systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
OS Name: Microsoft Windows 11 Enterprise
OS Version: 10.0.22000 N/A Build 22000
cl
Microsoft (R) C/C++ Optimizing Compiler Version 19.38.33130 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
vcpkg list
blas:x64-windows 2023-03-25 Metapackage for packages which provide BLAS
lapack-reference:x64-windows 3.11.0#1 LAPACK - Linear Algebra PACKage
lapack-reference[blas-select]:x64-windows Use external optimized BLAS
lapack-reference[noblas]:x64-windows Use external optimized BLAS
lapack:x64-windows 2022-02-22#2 Metapackage for packages which provide LAPACK
openblas:x64-windows 0.3.25 OpenBLAS is an optimized BLAS library based on G...
sqlite3:x64-windows 3.43.2 SQLite is a software library that implements a s...
sqlite3[json1]:x64-windows Enable JSON functionality for sqlite3
vcpkg-cmake-config:x64-windows 2022-02-06#1
vcpkg-cmake:x64-windows 2023-05-04
vcpkg-gfortran:x64-windows 3#3 Metaport to install gfortran dependencies from m...
The text was updated successfully, but these errors were encountered: