Closed ammysh closed 6 months ago
Error LNK2038 is related to the Debug release not being supported in master at this time. Please build your code as Release, or check out the branch from #364 and see if that fixes it for you. It looks like we never ran our compliance check on that PR so it was never merged unfortunately. I hope to get on that soon.
Describe the issue I have written a wrapper class in order to use NFIQ2.lib which will be further used in c# application to get quality score of finger image. I am having issue related to configuration while going to build wrapper project although I have defined inclulde and lib paths in the configuration of Wrapper class.
To reproduce Steps to reproduce the issue:
Error LNK2005 "public: __cdecl std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QEAA@H@Z) already defined in msvcprt.lib(MSVCP140.dll) NFIQ2Wrapper
Error LNK2005 "void __cdecl std::_Facet_Register(class std::_Facet_base *)" (?_Facet_Register@std@@YAXPEAV_Facet_base@1@@Z) already defined in msvcprt.lib(locale0_implib.obj) NFIQ2Wrapper D:\F drive\Work\NFIQ2\build\NFIQ2Wrapper\libcpmt.lib(locale0.obj) 1**
Expected behavior It should build without any issue related to configuration.
OS information
Library information
NFIQ 2 version information Hint: run
nfiq2
and copy the entire block of text underVersion Info
Code sample Is there a reliable code sample you can include?