Skip to content

building problem #3

@loafman-kangjun

Description

@loafman-kangjun

windows yaml-cpp 0.8.0 openvino2024

yaml-cpp.lib(exceptions.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(exceptions.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(memory.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(memory.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(node_data.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(node_data.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(parse.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(parse.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(nodebuilder.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(nodebuilder.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(parser.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(parser.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(directives.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(directives.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(scanner.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(scanner.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(singledocparser.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(singledocparser.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(regex_yaml.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(regex_yaml.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(stream.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(stream.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(simplekey.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(simplekey.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(scantoken.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(scantoken.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(tag.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(tag.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(depthguard.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(depthguard.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(null.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(null.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(scanscalar.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(scanscalar.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(scantag.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(scantag.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(exp.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
yaml-cpp.lib(exp.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_camera.obj 中) [D:\src\build\camera.vcxproj]
LINK : warning LNK4098: 默认库“MSVCRT”与其他库的使用冲突;请使用 /NODEFAULTLIB:library [D:\src\build\camera.vcxproj]
main_camera.obj : error LNK2019: 无法解析的外部符号 "void __cdecl cv::imshow(class std::basic_string<char,struct std::char_traits,class std::allocator > const &,class cv::debug_build_guard::_In
putArray const &)" (?imshow@cv@@YAXAEBV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@AEBV_InputArray@debug_build_guard@1@@z),函数 main 中引用了该符号 [D:\src\build\camera.vcxproj]
inference_lib.lib(inference.obj) : error LNK2019: 无法解析的外部符号 "void __cdecl cv::resize(class cv::debug_build_guard::InputArray const &,class cv::debug_build_guard::OutputArray const &,class cv::Si
ze
,double,double,int)" (?resize@cv@@YAXAEBV_InputArray@debug_build_guard@1@AEBV_OutputArray@31@V?$Size
@h@1@NNH@Z),函数 "private: void _cdecl yolo::Inference::Preprocessing(class cv::Mat cons
t &)" (?Preprocessing@Inference@yolo@@AEAAXAEBVMat@cv@@@z) 中引用了该符号 [D:\src\build\camera.vcxproj]
inference_lib.lib(utils.obj) : error LNK2019: 无法解析的外部符号 "void cdecl cv::rectangle(class cv::debug_build_guard::InputOutputArray const &,class cv::Rect,class cv::Scalar const &,in
t,int,int)" (?rectangle@cv@@YAXAEBV_InputOutputArray@debug_build_guard@1@V?$Rect
@h@1@AEBV?$Scalar
@n@1@HHH@Z),函数 "void _cdecl DrawDetectedObject(class cv::Mat &,class std::vector<struct yolo::De
tection,class std::allocator > const &,class std::vector<class std::basic_string<char,struct std::char_traits,class std::allocator >,class std::allocator<class
std::basic_string<char,struct std::char_traits,class std::allocator > > > const &)" (?DrawDetectedObject@@YAXAEAVMat@cv@@aebv?$vector@UDetection@yolo@@v?$allocator@UDetection@yolo@@@st
d@@@std@@aebv?$vector@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@v?$allocator@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@2@@4@@z) 中引用了该符号 [D:\src\build\camer
a.vcxproj]
inference_lib.lib(utils.obj) : error LNK2019: 无法解析的外部符号 "void cdecl cv::putText(class cv::debug_build_guard::InputOutputArray const &,class std::basic_string<char,struct std::char_traits,
class std::allocator > const &,class cv::Point
,int,double,class cv::Scalar
,int,int,bool)" (?putText@cv@@YAXAEBV_InputOutputArray@debug_build_guard@1@AEBV?$basic_string@DU?$cha
r_traits@D@std@@v?$allocator@D@2@@std@@v?$Point
@h@1@HNV?$Scalar@N@1@HH_N@Z),函数 "void __cdecl DrawDetectedObject(class cv::Mat &,class std::vector<struct yolo::Detection,class std::allocator > const &,class std::vector<class std::basic_string<char,struct std::char_traits,class std::allocator >,class std::allocator<class std::basic_string<char,struct std
::char_traits,class std::allocator > > > const &)" (?DrawDetectedObject@@YAXAEAVMat@cv@@aebv?$vector@UDetection@yolo@@v?$allocator@UDetection@yolo@@@std@@@std@@aebv?$vector@V?$basic_st
ring@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@v?$allocator@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@2@@4@@z) 中引用了该符号 [D:\src\build\camera.vcxproj]
D:\src\build\Debug\camera.exe : fatal error LNK1120: 4 个无法解析的外部命令 [D:\src\build\camera.vcxproj]
yaml-cpp.lib(exceptions.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(exceptions.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(memory.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(memory.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(node_data.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(node_data.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(parse.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(parse.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(nodebuilder.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(nodebuilder.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(parser.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(parser.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(directives.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(directives.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(scanner.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(scanner.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(singledocparser.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(singledocparser.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(regex_yaml.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(regex_yaml.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(stream.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(stream.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(simplekey.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(simplekey.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(scantoken.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(scantoken.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(tag.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(tag.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(depthguard.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(depthguard.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(null.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(null.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(scanscalar.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(scanscalar.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(scantag.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(scantag.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(exp.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
yaml-cpp.lib(exp.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_detect.obj 中) [D:\src\build\detect.vcxproj]
LINK : warning LNK4098: 默认库“MSVCRT”与其他库的使用冲突;请使用 /NODEFAULTLIB:library [D:\src\build\detect.vcxproj]
main_detect.obj : error LNK2019: 无法解析的外部符号 "void __cdecl cv::imshow(class std::basic_string<char,struct std::char_traits,class std::allocator > const &,class cv::debug_build_guard::_In
putArray const &)" (?imshow@cv@@YAXAEBV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@AEBV_InputArray@debug_build_guard@1@@z),函数 main 中引用了该符号 [D:\src\build\detect.vcxproj]
inference_lib.lib(inference.obj) : error LNK2019: 无法解析的外部符号 "void __cdecl cv::resize(class cv::debug_build_guard::InputArray const &,class cv::debug_build_guard::OutputArray const &,class cv::Si
ze
,double,double,int)" (?resize@cv@@YAXAEBV_InputArray@debug_build_guard@1@AEBV_OutputArray@31@V?$Size
@h@1@NNH@Z),函数 "private: void _cdecl yolo::Inference::Preprocessing(class cv::Mat cons
t &)" (?Preprocessing@Inference@yolo@@AEAAXAEBVMat@cv@@@z) 中引用了该符号 [D:\src\build\detect.vcxproj]
inference_lib.lib(utils.obj) : error LNK2019: 无法解析的外部符号 "void cdecl cv::rectangle(class cv::debug_build_guard::InputOutputArray const &,class cv::Rect,class cv::Scalar const &,in
t,int,int)" (?rectangle@cv@@YAXAEBV_InputOutputArray@debug_build_guard@1@V?$Rect
@h@1@AEBV?$Scalar
@n@1@HHH@Z),函数 "void _cdecl DrawDetectedObject(class cv::Mat &,class std::vector<struct yolo::De
tection,class std::allocator > const &,class std::vector<class std::basic_string<char,struct std::char_traits,class std::allocator >,class std::allocator<class
std::basic_string<char,struct std::char_traits,class std::allocator > > > const &)" (?DrawDetectedObject@@YAXAEAVMat@cv@@aebv?$vector@UDetection@yolo@@v?$allocator@UDetection@yolo@@@st
d@@@std@@aebv?$vector@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@v?$allocator@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@2@@4@@z) 中引用了该符号 [D:\src\build\detec
t.vcxproj]
inference_lib.lib(utils.obj) : error LNK2019: 无法解析的外部符号 "void cdecl cv::putText(class cv::debug_build_guard::InputOutputArray const &,class std::basic_string<char,struct std::char_traits,
class std::allocator > const &,class cv::Point
,int,double,class cv::Scalar
,int,int,bool)" (?putText@cv@@YAXAEBV_InputOutputArray@debug_build_guard@1@AEBV?$basic_string@DU?$cha
r_traits@D@std@@v?$allocator@D@2@@std@@v?$Point
@h@1@HNV?$Scalar@N@1@HH_N@Z),函数 "void __cdecl DrawDetectedObject(class cv::Mat &,class std::vector<struct yolo::Detection,class std::allocator > const &,class std::vector<class std::basic_string<char,struct std::char_traits,class std::allocator >,class std::allocator<class std::basic_string<char,struct std
::char_traits,class std::allocator > > > const &)" (?DrawDetectedObject@@YAXAEAVMat@cv@@aebv?$vector@UDetection@yolo@@v?$allocator@UDetection@yolo@@@std@@@std@@aebv?$vector@V?$basic_st
ring@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@v?$allocator@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@2@@4@@z) 中引用了该符号 [D:\src\build\detect.vcxproj]
D:\src\build\Debug\detect.exe : fatal error LNK1120: 4 个无法解析的外部命令 [D:\src\build\detect.vcxproj]
yaml-cpp.lib(exceptions.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(exceptions.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(memory.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(memory.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(node_data.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(node_data.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(parse.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(parse.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(nodebuilder.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(nodebuilder.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(parser.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(parser.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(directives.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(directives.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(scanner.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(scanner.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(singledocparser.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(singledocparser.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(regex_yaml.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(regex_yaml.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(stream.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(stream.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(simplekey.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(simplekey.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(scantoken.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(scantoken.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(tag.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(tag.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(depthguard.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(depthguard.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(null.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(null.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(scanscalar.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(scanscalar.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(scantag.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(scantag.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(exp.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“0”不匹配值“2”(main_video.obj 中) [D:\src\build\video.vcxproj]
yaml-cpp.lib(exp.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main_video.obj 中) [D:\src\build\video.vcxproj]
LINK : warning LNK4098: 默认库“MSVCRT”与其他库的使用冲突;请使用 /NODEFAULTLIB:library [D:\src\build\video.vcxproj]
main_video.obj : error LNK2019: 无法解析的外部符号 "void __cdecl cv::imshow(class std::basic_string<char,struct std::char_traits,class std::allocator > const &,class cv::debug_build_guard::_Inp
utArray const &)" (?imshow@cv@@YAXAEBV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@AEBV_InputArray@debug_build_guard@1@@z),函数 main 中引用了该符号 [D:\src\build\video.vcxproj]
inference_lib.lib(inference.obj) : error LNK2019: 无法解析的外部符号 "void __cdecl cv::resize(class cv::debug_build_guard::InputArray const &,class cv::debug_build_guard::OutputArray const &,class cv::Si
ze
,double,double,int)" (?resize@cv@@YAXAEBV_InputArray@debug_build_guard@1@AEBV_OutputArray@31@V?$Size
@h@1@NNH@Z),函数 "private: void _cdecl yolo::Inference::Preprocessing(class cv::Mat cons
t &)" (?Preprocessing@Inference@yolo@@AEAAXAEBVMat@cv@@@z) 中引用了该符号 [D:\src\build\video.vcxproj]
inference_lib.lib(utils.obj) : error LNK2019: 无法解析的外部符号 "void cdecl cv::rectangle(class cv::debug_build_guard::InputOutputArray const &,class cv::Rect,class cv::Scalar const &,in
t,int,int)" (?rectangle@cv@@YAXAEBV_InputOutputArray@debug_build_guard@1@V?$Rect
@h@1@AEBV?$Scalar
@n@1@HHH@Z),函数 "void _cdecl DrawDetectedObject(class cv::Mat &,class std::vector<struct yolo::De
tection,class std::allocator > const &,class std::vector<class std::basic_string<char,struct std::char_traits,class std::allocator >,class std::allocator<class
std::basic_string<char,struct std::char_traits,class std::allocator > > > const &)" (?DrawDetectedObject@@YAXAEAVMat@cv@@aebv?$vector@UDetection@yolo@@v?$allocator@UDetection@yolo@@@st
d@@@std@@aebv?$vector@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@v?$allocator@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@2@@4@@z) 中引用了该符号 [D:\src\build\video
.vcxproj]
inference_lib.lib(utils.obj) : error LNK2019: 无法解析的外部符号 "void cdecl cv::putText(class cv::debug_build_guard::InputOutputArray const &,class std::basic_string<char,struct std::char_traits,
class std::allocator > const &,class cv::Point
,int,double,class cv::Scalar
,int,int,bool)" (?putText@cv@@YAXAEBV_InputOutputArray@debug_build_guard@1@AEBV?$basic_string@DU?$cha
r_traits@D@std@@v?$allocator@D@2@@std@@v?$Point
@h@1@HNV?$Scalar@N@1@HH_N@Z),函数 "void __cdecl DrawDetectedObject(class cv::Mat &,class std::vector<struct yolo::Detection,class std::allocator > const &,class std::vector<class std::basic_string<char,struct std::char_traits,class std::allocator >,class std::allocator<class std::basic_string<char,struct std
::char_traits,class std::allocator > > > const &)" (?DrawDetectedObject@@YAXAEAVMat@cv@@aebv?$vector@UDetection@yolo@@v?$allocator@UDetection@yolo@@@std@@@std@@aebv?$vector@V?$basic_st
ring@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@v?$allocator@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@2@@4@@z) 中引用了该符号 [D:\src\build\video.vcxproj]
D:\src\build\Debug\video.exe : fatal error LNK1120: 4 个无法解析的外部命令 [D:\src\build\video.vcxproj]

Can you help me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions