THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/02/2005 at 16:07, xxxxxxxx wrote:
Cinema 4D Version: 8.100
Language(s) : C++ ;
Hey Everyone --
I am gearing up to write a plugin for C4D but first a question...Is there anything I need to do with the SDK as it is in order to get it to compile? BY opening the project space and building it fails somewhere in the ngonbaslib with the following error (multiple times) :
d:\Applications\MAXON\CINEMA 4D R9\resource\_api\c4d_libs\lib_ngon.h(212) : error C2383: 'NgonBaseLib::FindPolygon' : default-arguments are not allowed on this symbol
Is there something I missed?
On 03/02/2005 at 20:00, xxxxxxxx wrote:
Quoted from my reply to gavinb:
Ah! THAT problem. Unlike VC++ 6.0, VS.Net does not allow default argument values in method definitions. For example (from the docs where I'm currently looking) :
LONG Init(const Filename& name, LONG frame = -1, Bool* ismovie = NULL);
The stuff in red is not allowed. You will have to go through the SDK _api folder and remove ALL of these. Then you will need to specify the default value in your own source (and the SDK example source) if none is given.
On 05/02/2005 at 18:31, xxxxxxxx wrote:
Meant to post sooner. Thanks for the tip Robert. I should have remembered that *minor* changes from VC++ 6 to anything newer. That's what I get for having been doing a lot of C# at work lately