XCode Compile Questions



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

    On 12/08/2007 at 21:28, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   10.111 
    Platform:      Mac OSX  ; 
    Language(s) :     C++  ;

    ---------
    I'm getting my feet wet with C++ and the XCode environment, just trying to compile the SDK, and I have a few questions...

    1. Just loading the XCode project, cinema4dsdk.xcodeproj, and selecting build results in a compile error. I was under the impression that this should all compile on a first go without a problem. Am I incorrect here? The compile error is 'BRANCHINFO_ONLYLISTHEADS' was not declared in this scope. Refers to line 258 of activeobject.cpp.

    2. I'm trying to follow along with the Migration to XCode page of the SDK to compile the menutest plugin only. So, I follow all the steps, I clean out the directory, and remove from main.cpp all references to the other plugins, and I get a compile error at this bit of code from main:

    if (!RegisterExampleDataType()) return FALSE;

    Can someone explain to me why this is happening?

    If possible, it would be incredibly helpful to have a quick walk-though of how to compile one of the SDK examples. The examples I've seen, unfortunately, do not deal with XCode.



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

    On 13/08/2007 at 03:11, xxxxxxxx wrote:

    Well you get this error because you probably removed the "datatype.cpp". If you don't need the "datatype.cpp" then delete the "if (!RegisterExampleDataType()) return FALSE;" line.

    cheers,
    Matthias



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

    On 14/08/2007 at 20:59, xxxxxxxx wrote:

    I think something either did not install correctly the first time, or else I must have accidentally deleted some files at some point.

    I did a clean reinstall of C4D and now the compiles work without a problem.


Log in to reply