Hello.
I have a problem with compiling the plugin for a R24. The same code which compiles and is performed perfectly for R23 and R25, in R24 when I try to build the project throws an error.
The error is: "error C2220: the following warning is treated as an error".
The source of an error is almost random. The codeline which throw an error for R24, does not do it for R23 and R25.
For example the line like so:
C4DGadget* const textA = AddEditText(3000, BFH_SCALEFIT, 0, 10, 0);
If I delete it at all and hit the "build project", the same error appears in entirely another place:
for (Int32 i = 0; i < linkBoxesIDs.size(); ++i) {}
if I delete it too, the error starts to appear another place:
BaseContainer* data = op->GetDataInstance();
etc.
I've check the version of the project tool, sdk(the same as a version of c4d) and my Visual Studio (it is 2019).
The plugin file which was compiled for a R23, shows up in R24. And I would use it in a R24 version of Cinema 4D, but my plugin uses some python code from a C++ and due to some differences in include files for the python in r23 and r24, this python code does not work in R24. So I need to recompile the plugin for the correct version.
Is this a known issue?