first steps with c++ sdk



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 21/12/2004 at 13:09, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   9.012 
    Platform:   Windows  ;   
    Language(s) :     C++  ;

    ---------
    Hi People !

    My Teamleader and I (coders :)) try to start write an Export for Cinema 4D.
    We got now some problems.

    1. The SDK wouldn't compile because there missing some LIBs or something

    errors: (German ;))

    f:\Programme\MAXON\CINEMA 4D R9\resource\_api\c4d_resource.cpp(59) : warning C4291: 'void *Filename::operator new(size_t,int,const CHAR * )' : no matching operator delete found; memory will not be freed if initialization throws an exception

    f:\Programme\MAXON\CINEMA 4D R9\resource\_api\c4d_libs\lib_ngon.h(212) : error C2383: 'NgonBaseLib::FindPolygon' : default-arguments are not allowed on this symbol

    f:\Programme\MAXON\CINEMA 4D R9\resource\_api\c4d_libs\lib_ngon.h(212) : error C2383: 'NgonBaseLib::FindPolygon' : default-arguments are not allowed on this symbol

    cinema4dsdk fatal error LNK1181: cannot open input file '\Programme\Maxon\Cinema 4d r9\resource\_api_lib\_api_v8_deb.lib'

    1. We dont know how to start, we want to write a simple Plugin only export the vertices for tests.
      But we dont check the SDK :(
      In Milkshape are some example ASCII Exporter but in C4D not ... thats nice :/

    Maybe you could help us, thanks.

    Project: http://www.gamers-fusion.de



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 21/12/2004 at 14:20, xxxxxxxx wrote:

    Open the SDK projects in the C4D/resource/api_lib folder and build them for all targets. That should fix alot of your problems if not all.

    darf



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 21/12/2004 at 14:52, xxxxxxxx wrote:

    Dont work, we cant compile the api_lib. -_-



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 21/12/2004 at 15:24, xxxxxxxx wrote:

    No clue. Good luck.

    darf



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 21/12/2004 at 15:36, xxxxxxxx wrote:

    Now we got it, Maxon used a optional Parameter on a Function Pointer thats not good ^^ We fixed but now we have the Problem that we want make an Plugin that we can call in the MenuBar and not as an TAG for Objects or so.

    We want the can make a entry in the MenuBar and then a Dialog comes and asks for the safe path. (easy but we dont now c4d and my leader dont speaks english well ...)



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 21/12/2004 at 16:01, xxxxxxxx wrote:

    To be in the MenuBar (Plugins menu), it should be a CommandPlugin, derived from a CommandData class. You can connect a Tag plugin to a Command plugin either compiling together as one 'cdl' or having them communicate with each other (using a valid Plugin_ID).

    Robert



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 22/12/2004 at 04:32, xxxxxxxx wrote:

    Thanks


Log in to reply