Errors from 2022 SDK files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone. So I'm using vs 2019 for compiling my plugin. I've created my plugin so that I have multiple versions that work for 3ds max 2019, 2020, 2021. I have downloaded the 2022 SDK and have specified throughout my code for functions that have been updated from 2021 to 2022 and so on. My code compiles and builds for the 2021 version. However, I am receiving errors from the maxtypes.h and matrix3.h header files when building the 2022 version. VS is telling me:
- illegal statement or sub-expression for constexpr in the TimeToTicksSec function of the maxtypes.h file
- 'a' and 'b' cannot be modified because it is being accessed through a const object for the SetPartA and SetPartB functions of the maxtypes.h file
- 'return': cannot convert from 'const Class_ID to 'Class_ID &' for the Class_ID = operator in the maxtypes.h file
- attribute 'decprecated("Matrix3 and DMatrix3 are now initialized to identity by default
I understand the last one means that the Matrix3(BOOL) constructor doesn't need to be used. However, I am unsure of how to silence this warning as described in the header file.
Where these errors coming from in my code? What is making them appear? Please help.
I cannot show my code as the code itself is confidential.