usnistgov / NFIQ2

Optical live-scan and ink fingerprint image quality assessment tool
https://www.nist.gov/services-resources/software/development-nfiq-20
Other
129 stars 57 forks source link

Could NOT find BERKELEYDB #357

Closed sodmlx2 closed 1 year ago

sodmlx2 commented 1 year ago

I'm trying to compile nfiq2 project. but I'm having trouble to loading the environment variables

Could NOT find BERKELEYDB (missing: BERKELEYDB_LIBRARY BERKELEYDB_INCLUDE_DIR)

I set the variables in CMakeGUI:

gfiumara commented 1 year ago

Please see Build Notes in the README. If you had to manually specify BerkeleyDB variables to CMake, I'd guess you did not pass the vcpkg CMake toolchain file to CMake. You may also be building NFIQ 2 for an architecture for which you do not have the vcpkg dependencies (Win32 vs x64).

sodmlx2 commented 1 year ago

solved installing libbiomeval dependencies ;)

vcpkg install openssl openjpeg libjpeg-turbo libpng tiff zlib msmpi berkeleydb sqlite3 zlib hwloc ffmpeg

thx! @gfiumara