Hi.
I'm new to this field, so don't judge me too harshly.
I am trying to create a simple CommandData plugin for Cinema 4D 2025.1.3 following the SDK documentation.
However, I am encountering multiple compilation errors, despite the fact that all example projects from the SDK compile and work correctly.
Errors:
Here are some of the main errors I'm facing:
C2504: 'CommandData': base class undefined
C2086: 'int Bool': redefinition
C3646: 'Execute': unknown override specifier
C2065: 'GeDialog': undeclared identifier
C2065: 'BaseDocument': undeclared identifier
C2096: 'Bool': A data member cannot be initialized with a parenthesized initializer
What I Have Checked:
All SDK example projects compile successfully.
My project is in the same solution as the example projects.
I'm using Visual Studio 2019 with /std:c++17, as recommended in the SDK.
The SDK headers and libraries are correctly linked.
CommandData should be defined in c4d_commanddata.h, but the compiler doesn't recognize it.
Question:
Has something changed in how CommandData plugins should be structured in Cinema 4D 2025?
Do I need to include additional headers or modify my implementation?
Any guidance or better tutorial would be greatly appreciated.
TIA
Windows 11/64, VS 2019, SDK 2025_1_0, Cinema 4D 20251.3