On 13/07/2013 at 16:42, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R14
Platform: Mac ;
Language(s) : C++ ;
---------
I finally got a Mac and I'm trying to compile the Cinema 4D API. I get the following errors in
c4d_basedocument.cpp:
../../resource/_api/c4d_basedocument.cpp:263:52: error: conversion from 'int' to
'const GeData' is ambiguous
this->SetParameter(DescLevel(DOCUMENT_USERCHANGE),TRUE...
^~~~
../../resource/_api/ge_sys_math.h:21:15: note: expanded from macro 'TRUE'
#define TRUE 1
^
../../resource/_api/c4d_gedata.h:97:3: note: candidate constructor
GeData(double n)
^
../../resource/_api/c4d_gedata.h:110:3: note: candidate constructor
GeData(LONG n)
^
../../resource/_api/c4d_gedata.h:116:3: note: candidate constructor
GeData(SReal n)
^
../../resource/_api/c4d_basedocument.cpp:386:51: error: conversion from 'Bool'
(aka 'int') to 'const GeData' is ambiguous
this->SetParameter(DescLevel(DOCUMENT_RENDERLOD),lod...
^~~
../../resource/_api/c4d_gedata.h:97:3: note: candidate constructor
GeData(double n)
^
../../resource/_api/c4d_gedata.h:110:3: note: candidate constructor
GeData(LONG n)
^
../../resource/_api/c4d_gedata.h:116:3: note: candidate constructor
GeData(SReal n)
I'm compiling by the command line, but I've been looking at the cinema4dsdk.xcodeproj and couldn't
find any compiler option which could fit.
I'm using clang.
Thanks in advance!!
-Niklas