600 errors compiling sdk!



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

    On 06/08/2010 at 10:19, xxxxxxxx wrote:

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

    ---------
    Hi,

    I just wanted to recompile my project due to some bugfixes. But I can't get it compiled. Not my project (formerly compiled succesfully) and not the SDK. Debug version compiles successfully, but Release doesn't. Nearly all skd cpp file have the same errors:

    Bits/c++config.h: No such file or directory
    Expected constructor, destructor, or type conversion before '(' token
    '#pragma' is not allowed here
    Expected declaration before end of line

    I assume, that s.th. basically goes wrong, but I can't figure it out.

    Xcode 3.2.2 running on OSX 10.6.
    Base Target and Deployment target is 10.5
    Project format is Xcode 3.1-compatible

    Any help?



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

    On 06/08/2010 at 12:27, xxxxxxxx wrote:

    Chiming in here to request immediate support, please, now!  Same exact situation with R11.5 SDK - cinema4dsdk release build even!!!  This stuff gets old very fast.

    Xcode 3.2.3 running on OSX 10.6
    Ditto and Ditto.



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

    On 06/08/2010 at 13:54, xxxxxxxx wrote:

    Originally posted by xxxxxxxx

    <ADDRESS>
    User Information:
    Cinema 4D Version:   11.5 
    Platform:     
    Mac OSX  ; 
    Language(s) :    
    C++  ;

    ---------
    </ADDRESS> Hi,

    I just wanted to recompile my project due to some bugfixes. But I can't get it compiled. Not my project (formerly compiled succesfully) and not the SDK. Debug version compiles successfully, but Release doesn't. Nearly all skd cpp file have the same errors:

    Bits/c++config.h: No such file or directory
    Expected constructor, destructor, or type conversion before '(' token
    '#pragma' is not allowed here
    Expected declaration before end of line

    I assume, that s.th. basically goes wrong, but I can't figure it out.

    Xcode 3.2.2 running on OSX 10.6.
    Base Target and Deployment target is 10.5
    Project format is Xcode 3.1-compatible

    Any help?

    The problem was introduced with Xcode 3.2.2 (and the attached iPhone SDK 3.2). What kills your build, is the 64 bit ppc compile run.

    Options:
    1. Use XCode 3.2.1 for these compiles

    2. For each platform (32/64 bit, OS X 10.5 / 10.6) there is a platform-specific directory, e.g.:

    /usr/include/c++/4.2.1/i686-apple-darwin10/
    /usr/include/c++/4.2.1/x86_64-apple-darwin10/

    Inside of each of these you will find bits/c++config.h. So you need to add an include path to /usr/include/c++/4.2.1/<specific platform>

    in your case ppc64 is the platform you're searching. When adding this for XCode 3.2.2/3.2.3 it should fix your compile problem.

    Please note, that some of the new compilers (e.g. GCC-LLVM or LLVM) or Base-SDKs (10.6) don't support ppc64 anymore.

    Best regards,

    Wilfried Behne



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

    On 07/08/2010 at 07:48, xxxxxxxx wrote:

    Thank you Wilfried. Unfortunately I'm not very familiar to Xcode (I'm developing with Visual Studio), so please tell me,

    1. where to add the include path
    2. and which path exactly. I see powerpc-apple-darwin<8,9,10>, powerpc64-apple-darwin<8,9>

    Thank you.
    Klaus



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

    On 07/08/2010 at 08:29, xxxxxxxx wrote:

    Originally posted by xxxxxxxx

    Thank you Wilfried. Unfortunately I'm not very familiar to Xcode (I'm developing with Visual Studio), so please tell me,

    1. where to add the include path
    2. and which path exactly. I see powerpc-apple-darwin<8,9,10>, powerpc64-apple-darwin<8,9>

    Thank you.
    Klaus

    You can add it in the "User Header Search Path" in the build tab of the project (or via the target settings, if you want to limit it to a special target).

    darwin8 is: OS X 10.4
    darwin9 is: OS X 10.5
    darwin10 is: OS X 10.6 - which doesn't support ppc64 anymore

    Best regards

    Wilfried Behne



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

    On 07/08/2010 at 08:59, xxxxxxxx wrote:

    Thanks. But doesn't work.

    I tried /usr/include/c++/4.2.1/powerpc-apple-darwin9 and /usr/include/c++/4.2.1/powerpc64-apple-darwin9, recursivly or not.

    I even tried to compile switching on "Build Active Archirecture Only" with x86_64 as active architecture. No success. Always the same errors.

    I'm really despairing.



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

    On 07/08/2010 at 11:11, xxxxxxxx wrote:

    Originally posted by xxxxxxxx

    Thanks. But doesn't work.

    I tried /usr/include/c++/4.2.1/powerpc-apple-darwin9 and /usr/include/c++/4.2.1/powerpc64-apple-darwin9, recursivly or not.

    I even tried to compile switching on "Build Active Archirecture Only" with x86_64 as active architecture. No success. Always the same errors.

    I'm really despairing.

    In that case something different has gone wrong with your XCode installation/update (the intel stuff has to work with 3.2.3 - we use that every day...).

    Best regards,

    Wilfried Behne



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

    On 07/08/2010 at 12:10, xxxxxxxx wrote:

    I simply downgraded to 3.2.1 and it worked thereafter.  Watch that Apple Update doesn't update to 3.2.3.



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

    On 07/08/2010 at 12:39, xxxxxxxx wrote:

    Originally posted by xxxxxxxx

    I simply downgraded to 3.2.1 and it worked thereafter.  Watch that Apple Update doesn't update to 3.2.3.

    I downloaded the complete dmg from the Apple developer area (about 2.x GB) like I did with the prior version (3.2.1/3.2.2 - about 800 MB) and installed it over the existing XCode installation.

    With 3.2.2 and 3.2.3 the intel compile worked flawless (on our machines).

    Best regards,

    Wilfried Behne



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

    On 08/08/2010 at 06:39, xxxxxxxx wrote:

    Since I'm developing iPhone apps too, downgrading is no option for me. I have to find another machine to run Xcode 3.2.1. So I think I will stop supporting R11.5. with the release of 12.



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

    On 08/08/2010 at 09:30, xxxxxxxx wrote:

    Originally posted by xxxxxxxx

    Since I'm developing iPhone apps too, downgrading is no option for me. I have to find another machine to run Xcode 3.2.1. So I think I will stop supporting R11.5. with the release of 12.

    You can install different XCode versions on one machine; download the complete dmg (for a version) and install them in different folders.

    Best regards,

    Wilfried Behne


Log in to reply