Trying to upgrade a plugin for use in 4.24 and I’ve gotten to this point where I get
games\ue_4.24\engine\source\thirdparty\physx3\apex_1.4\include\ApexDefs.h(54):
error C4668: ‘USE_RTTI’ is not defined
as a preprocessor macro, replacing
with ‘0’ for ‘#if/#elif’
I’ve gone in and added the bUseRTTI = true to every Build.cs I have but the issue persists.
I’m not sure what is going on to cause USE_RTTI to not be defined.
I’ve also regenerated project files after deleting Intermediate folders and Binaries for both plugin and project.
For anyone visiting this page and not seeing any responses, the solution for me was to check the imports for standard c++ libraries - in my case I was importing the standard string library which was causing problems.
Thank you, that was the reason.
In my case it was thanks to Rider that sometimes feels like adding headers without asking (It’s not the first time that it happens and it’s so frustrating, because you don’t know in which file it’s happening!)