When I static link (boost) to UE 5, I get LNK2038 error. How can I resolve it?

Hello.

I static linked boost library in Build.cs file like this

PublicAdditionalLibraries.Add(“C:/libraries/boost_1_67_0_b1_rc2/lib64-msvc-14.1/libboost_system-vc141-mt-x64-1_67.lib”);

but I got the message :
Error LNK2038 mismatch detected for ‘boost__type_index__abi’: value ‘RTTI is used’ doesn’t match value ‘RTTI is off - typeid() is used only for templates’ in ChildMessager.cpp.obj