I did included the c4d_resource.h and the error disappeared.
I was migrating by simply fixing the errors that appeared inside Xcode, until everything was clear.
But now, I started by duplicating a similar plugin from the sdk and pasting just the parts of the code that belong to my plugin.
The Maxon SDK Team is currently short staffed due to the winter holidays. No forum support is being provided between 15/12/2025 and 5/1/2026. For details see Maxon SDK 2025 Winter Holidays.
R
Offline
Posts
-
RE: Use of undeclared identifier 'g_resource'
-
RE: Get a simple polygonal version of any object
The "solution" I came up with was this:
doc=op.GetDocument() doc2=c4d.documents.IsolateObjects(doc,[op]) doc3=doc2.Polygonize(False)and then go through all the objects of doc2, recursively.
Is this a correct way of doing things? -
RE: Shader crashes when quitting with unfinished IRR
It seems not to crash now. I made sure I freed all the bitmaps and flushed all containers.