I'm trying to build OgreNextMain on Windows with Address Sanitizer turned on, in Visual Studio Community 2022, but I get a slew of link errors like this:
Code: Select all
1>FreeImage_d.lib(Plugin.obj) : error LNK2038: mismatch detected for 'annotate_string': value '0' doesn't match value '1' in OgreAbiUtils.obj
1>FreeImage_d.lib(Plugin.obj) : error LNK2038: mismatch detected for 'annotate_vector': value '0' doesn't match value '1' in OgreAbiUtils.obj
1>FreeImage_d.lib(FreeImage.obj) : error LNK2038: mismatch detected for 'annotate_string': value '0' doesn't match value '1' in OgreAbiUtils.obj
1>FreeImage_d.lib(FreeImage.obj) : error LNK2038: mismatch detected for 'annotate_vector': value '0' doesn't match value '1' in OgreAbiUtils.obj
I pulled the latest changes from the ogre-next-deps repository and rebuilt, but that didn't help. What do these errors mean?