biometrics / openbr

Open Source Biometrics, Face Recognition
www.openbiometrics.org
Other
2.85k stars 772 forks source link

What should work with BR_EMBEDDED option on? #462

Open cristobaldobranco opened 8 years ago

cristobaldobranco commented 8 years ago

What APIs should work if the CMake BR_EMBEDDED option is set to ON?

With reduced software dependencies I observed the br command line application does not work and fails with br: symbol lookup error: br: undefined symbol: br_initialize

and the C++ API fails during linking e.g.: undefined reference to br::Context::initialize(int&, char**, QString, bool) undefined reference to br::Transform::fromAlgorithm(QString const&, bool) undefined reference to br::Distance::fromAlgorithm(QString const&) undefined reference to br::Context::finalize()

sklum commented 8 years ago

@cristobaldobranco br_initialize and all the functions you list should work with BR_EMBEDDED. As soon as I have some free time I'll get this taken care of.