A strange error
-
Hello, i have this unexpeced errors while trying to build a ObjectData plugin
'NewObjClear': identifier not found
in
class SubdivObject : public ObjectData { public: virtual Bool Init(GeListNode* node); virtual BaseObject* GetVirtualObjects(BaseObject* op, HierarchyHelp* hh); virtual Bool Message(GeListNode* node, Int32 type, void* t_data); static NodeData* Alloc() { return NewObjClear(SubdivObject); } };
any clues as to why this is happening?
-
Hello,
please use tags and the Q&A system when posting questions.
What version of Cinema 4D and the SDK are you using?
You can enable utility functions like
NewObjClear()
by enabling this setting in yourprojectdefinition.txt
fileC4D=true
and re-creating the project files. See Project Tool.
best wishes,
Sebastian -
Ah, ok. Somehow missed that line. I thought defining the legacy framework in the api list was sufficient. Cheers!