On 25/05/2015 at 06:33, xxxxxxxx wrote:
User Information:
Cinema 4D Version:
Platform:
Language(s) :
---------
Hi
I'm just starting out with c++ (coming from Python) so bare with me :)
I'm trying to get the CommandLineRendering part of the SDK to work. In "main.ccp" theres a section under "PluginMessage" with code for command line rendering:
case C4DPL_COMMANDLINEARGS:
//sample implementation of command line rendering:
//void CommandLineRendering(C4DPL_CommandLineArgs* args);
//CommandLineRendering((C4DPL_CommandLineArgs* )data);
..........
If i uncomment this like this, add "Bool RegisterCommandLineRendering();" to "main.h" and Build it:
case C4DPL_COMMANDLINEARGS:
//sample implementation of command line rendering:
void CommandLineRendering(C4DPL_CommandLineArgs* args);
CommandLineRendering((C4DPL_CommandLineArgs* )data);
..........
I get theese errors:
Undefined symbols for architecture x86_64:
"CommandLineRendering(C4DPL_CommandLineArgs* )", referenced from:
PluginMessage(int, void* ) in main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
What am i doing wrong?
Cheers
Bonsak