@r_gigante I wonder, is it REQUIRED to set USE_API_MAXON
in my project when re-compiling old plugins for R20? It seems that, if not set, certain #includes from cinema.framework do not compile.
S
steve_r
@steve_r
3D and VFX in the past, towards VR and AI now
Latest posts made by steve_r
-
RE: Re-build plugin for R20 - missing file "delegate.h"
-
RE: Re-build plugin for R20 - missing file "delegate.h"
@r_gigante No, the
C4D=true
was not set in the project file. Once I added it I noticed that it also enablesUSE_API_MAXON
, and now I get tons of R19 syntax errors back! Seems there is no way around fixing those (which I was thinking in the first place -
Re-build plugin for R20 - missing file "delegate.h"
Hi,
when trying to recompile a plugin for R20 using the latest "cinema.framework" I get a "missing file" error (on Mac):/frameworks/cinema.framework/source/c4d_customgui/customgui_description.h:15:10: 'c4d_misc/datastructures/delegate.h' file not found
This file is referenced from other R20 SDK's includes. Indeed, such a file does NOT exist at that location. The parent include looks like this:
#ifdef USE_API_MAXON #include "maxon/delegate.h" #else #include "c4d_misc/datastructures/delegate.h" #endif
I have not defined
USE_API_MAXON
in my build because I don't use the new maxon API. Defining it anyways gives me tons of syntax errors due to old R19 code.
Any hints?