usnistgov / frvt

Repository for the Face Recognition Vendor Test (FRVT)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NIST FRVT version number symbols

ddfabbro opened this issue · comments

According to frvt_structs.h I must define NIST FRVT version number symbols in the core library.

/*
* Versioning
*
* NIST code will extern the version number symbols. Participant
* shall compile them into their core library.
*/
#ifdef NIST_EXTERN_FRVT_STRUCTS_VERSION
/** major version number. */
extern uint16_t FRVT_STRUCTS_MAJOR_VERSION;
/** minor version number. */
extern uint16_t FRVT_STRUCTS_MINOR_VERSION;
#else /* NIST_EXTERN_FRVT_STRUCTS_VERSION */
/** major version number. */
uint16_t FRVT_STRUCTS_MAJOR_VERSION{2};
/** minor version number. */
uint16_t FRVT_STRUCTS_MINOR_VERSION{0};
#endif /* NIST_EXTERN_FRVT_STRUCTS_VERSION */
}

What should the values be?

I am basing my implementation on the nullimplfrvtpad.cpp, but I don't see it defined in the source code.

There's nothing you have to do explicitly. Those version number symbols are defined in ./pad/src/testdriver/CMakeLists.txt

set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++17 -DNIST_EXTERN_FRVT_STRUCTS_VERSION -DNIST_EXTERN_API_VERSION")