THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/08/2011 at 01:28, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 12
Platform: Mac OSX ;
Language(s) : C++ ;
---------
Hi,
I am trying to compile the SDK example plugin using xcode 4 on Mac OS X. In the documentation it says "CINEMA 4D's application folder can't be modified anymore (with the exception of the plugins folder)." which means the _api_lib and sdk examples can't be compiled from within the applications folder.
I've copied them to a local directory and got the _api_lib to compile and build ok. However when I try and build the sdk I get the following error:
Line 1121 of c4d_symbols.h: Expected identifier before numeric constant
The code around the error:
enum
{
IDC_OK = 1,
IDC_CANCEL = 2,
ICON_WINDOW = 9000,
I see that in c4d_gui.h that IDC_OK and IDC_CANCEL are #defined to 1 and 2. This is what I assume is causing the error (after running the preprocessor this reads 1 = 1, etc.
Am I doing something wrong?
Thanks for any assistance.
Jon