Closed logic88 closed 2 hours ago
1>libfastddsd-3.0.lib(Time_t.cpp.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“2”不匹配值“0”(SharedPCH.Core.NonOptimized.RTTI.Cpp17.InclOrderUnreal5_0.h.obj 中) 1>libfastddsd-3.0.lib(Time_t.cpp.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MDd_DynamicDebug”不匹配值“MD_DynamicRelease”(SharedPCH.Core.NonOptimized.RTTI.Cpp17.InclOrderUnreal5_0.h.obj 中) 1>libfastddsd-3.0.lib(Time_t.cpp.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“2”不匹配值“0”(SharedPCH.Core.NonOptimized.RTTI.Cpp17.InclOrderUnreal5_0.h.obj 中) 1>libfastddsd-3.0.lib(Time_t.cpp.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MDd_DynamicDebug”不匹配值“MD_DynamicRelease”(SharedPCH.Core.NonOptimized.RTTI.Cpp17.InclOrderUnreal5_0.h.obj 中) 1>libfastddsd-3.0.lib(DomainParticipantFactory.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“2”不匹配值“0”(SharedPCH.Core.NonOptimized.RTTI.Cpp17.InclOrderUnreal5_0.h.obj 中) 1>libfastddsd-3.0.lib(DomainParticipantFactory.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MDd_DynamicDebug”不匹配值“MD_DynamicRelease”(SharedPCH.Core.NonOptimized.RTTI.Cpp17.InclOrderUnreal5_0.h.obj 中) 1>libfastddsd-3.0.lib(Log.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“2”不匹配值“0”(SharedPCH.Core.NonOptimized.RTTI.Cpp17.InclOrderUnreal5_0.h.obj 中) 1>libfastddsd-3.0.lib(Log.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MDd_DynamicDebug”不匹配值“MD_DynamicRelease”(SharedPCH.Core.NonOptimized.RTTI.Cpp17.InclOrderUnreal5_0.h.obj 中) 1>libfastddsd-3.0.lib(DomainParticipant.cpp.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“2”不匹配值“0”(SharedPCH.Core.NonOptimized.RTTI.Cpp17.InclOrderUnreal5_0.h.obj 中) 1>libfastddsd-3.0.lib(DomainParticipant.cpp.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MDd_DynamicDebug”不匹配值“MD_DynamicRelease”(SharedPCH.Core.NonOptimized.RTTI.Cpp17.InclOrderUnreal5_0.h.obj 中) 1>libfastddsd-3.0.lib(DynamicDataFactory.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“2”不匹配值“0”(SharedPCH.Core.NonOptimized.RTTI.Cpp17.InclOrderUnreal5_0.h.obj 中) 1>libfastddsd-3.0.lib(DynamicDataFactory.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MDd_DynamicDebug”不匹配值“MD_DynamicRelease”(SharedPCH.Core.NonOptimized.RTTI.Cpp17.InclOrderUnreal5_0.h.obj 中) 1>libfastddsd-3.0.lib(DynamicTypeBuilderFactory.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“2”不匹配值“0”(SharedPCH.Core.NonOptimized.RTTI.Cpp17.InclOrderUnreal5_0.h.obj 中) 1>libfastddsd-3.0.lib(DynamicTypeBuilderFactory.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MDd_DynamicDebug”不匹配值“MD_DynamicRelease”(SharedPCH.Core.NonOptimized.RTTI.Cpp17.InclOrderUnreal5_0.h.obj 中)
这是我编好FastDDS静态库后,在UE插件中引入编好的FastDDS静态库时报的错,想请教一下你怎么解决的
用VS的话需要设置这些参数吧
1>libfastddsd-3.0.lib(Time_t.cpp.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“2”不匹配值“0”(SharedPCH.Core.NonOptimized.RTTI.Cpp17.InclOrderUnreal5_0.h.obj 中) 1>libfastddsd-3.0.lib(Time_t.cpp.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MDd_DynamicDebug”不匹配值“MD_DynamicRelease”(SharedPCH.Core.NonOptimized.RTTI.Cpp17.InclOrderUnreal5_0.h.obj 中) 1>libfastddsd-3.0.lib(Time_t.cpp.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“2”不匹配值“0”(SharedPCH.Core.NonOptimized.RTTI.Cpp17.InclOrderUnreal5_0.h.obj 中) 1>libfastddsd-3.0.lib(Time_t.cpp.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MDd_DynamicDebug”不匹配值“MD_DynamicRelease”(SharedPCH.Core.NonOptimized.RTTI.Cpp17.InclOrderUnreal5_0.h.obj 中) 1>libfastddsd-3.0.lib(DomainParticipantFactory.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“2”不匹配值“0”(SharedPCH.Core.NonOptimized.RTTI.Cpp17.InclOrderUnreal5_0.h.obj 中) 1>libfastddsd-3.0.lib(DomainParticipantFactory.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MDd_DynamicDebug”不匹配值“MD_DynamicRelease”(SharedPCH.Core.NonOptimized.RTTI.Cpp17.InclOrderUnreal5_0.h.obj 中) 1>libfastddsd-3.0.lib(Log.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“2”不匹配值“0”(SharedPCH.Core.NonOptimized.RTTI.Cpp17.InclOrderUnreal5_0.h.obj 中) 1>libfastddsd-3.0.lib(Log.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MDd_DynamicDebug”不匹配值“MD_DynamicRelease”(SharedPCH.Core.NonOptimized.RTTI.Cpp17.InclOrderUnreal5_0.h.obj 中) 1>libfastddsd-3.0.lib(DomainParticipant.cpp.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“2”不匹配值“0”(SharedPCH.Core.NonOptimized.RTTI.Cpp17.InclOrderUnreal5_0.h.obj 中) 1>libfastddsd-3.0.lib(DomainParticipant.cpp.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MDd_DynamicDebug”不匹配值“MD_DynamicRelease”(SharedPCH.Core.NonOptimized.RTTI.Cpp17.InclOrderUnreal5_0.h.obj 中) 1>libfastddsd-3.0.lib(DynamicDataFactory.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“2”不匹配值“0”(SharedPCH.Core.NonOptimized.RTTI.Cpp17.InclOrderUnreal5_0.h.obj 中) 1>libfastddsd-3.0.lib(DynamicDataFactory.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MDd_DynamicDebug”不匹配值“MD_DynamicRelease”(SharedPCH.Core.NonOptimized.RTTI.Cpp17.InclOrderUnreal5_0.h.obj 中) 1>libfastddsd-3.0.lib(DynamicTypeBuilderFactory.obj) : error LNK2038: 检测到“_ITERATOR_DEBUG_LEVEL”的不匹配项: 值“2”不匹配值“0”(SharedPCH.Core.NonOptimized.RTTI.Cpp17.InclOrderUnreal5_0.h.obj 中) 1>libfastddsd-3.0.lib(DynamicTypeBuilderFactory.obj) : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MDd_DynamicDebug”不匹配值“MD_DynamicRelease”(SharedPCH.Core.NonOptimized.RTTI.Cpp17.InclOrderUnreal5_0.h.obj 中)