Build Issues (API Library!!!)



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

    On 07/07/2010 at 15:55, xxxxxxxx wrote:

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

    ---------
    MacOS 10.6
    XCode 3.1 (same as on 10.5.8 for R11 builds)

    Cannot even build the cinema4Dsdk example plugin from with the Applications where Cinema 4D is installed!  All errors start at the _api_lib build.  No idea what to do to fix this.

    Help!!!!!!



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

    On 07/07/2010 at 16:15, xxxxxxxx wrote:

    Must I install XCode 3.2.3 and hope that my R10, R10.5, and R11 projects will build using it?  I'm getting a bit tired of Apple's idea of backward compatability: none!



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

    On 07/07/2010 at 16:16, xxxxxxxx wrote:

    I don't get any errors when building R11 sdk with xCode 3.1 on OSX 10.6.4 (using 10.5 sdk)

    I get a bunch of errors when I try to build in xCode 3.2.2 using the OSX 10.6 sdk.

    Might need more info;)

    -kvb



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

    On 07/07/2010 at 16:49, xxxxxxxx wrote:

    Are you using 3.1.4?  I think my download was 3.1.1 (back in 2008).



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

    On 07/07/2010 at 17:02, xxxxxxxx wrote:

    I have 3.1.2 and 3.2.2 installed (I normally use 3.2.2)



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

    On 07/07/2010 at 20:16, xxxxxxxx wrote:

    How do you even install two of these without interference as both normally go into a Developer folder?

    I've never had problems building when I had 10.5.8 but with the new Mac computer with 10.6, just not working.  Pretty sure that updates were done but the version number just says 3.1.  Anywhere to see the full version number?



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

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

    Howdy,

    Originally posted by xxxxxxxx

    ...How do you even install two of these without interference as both normally go into a Developer folder?...

    You can install other versions of Xcode by installing them in their own folder in the HD's root directory and renaming them accordingly:

    I downloaded and installed Xcode 2.5 so I can compile R9.5 and R10 plugins on my new machine running Mac OSX 10.6, which has Xcode 3.2 installed in the Developer folder.

    Adios,
    Cactus Dan



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

    On 11/07/2010 at 14:38, xxxxxxxx wrote:

    Installed XCode 2.5 and 3.2.2.  Still no luck.

    2.5: float.h and stdarg.h on build of api_library and cinema4dsdk.

    3.2.2: error: can't exec '/Developer/usr/bin/gcc-4.2' (No such file or directory)

    Just wonderful.  Can you give explicit information about your installs?  Are you running 10.6 in 32 or 64 bit mode (yes, there is a difference - SL is set to run 32-bit by default and must be BOOT using 6+4 keys into 64-bit mode).  Did you install previous versions before 3.2.2?  Did you install from the DVD or from the download at developer.apple.com?  Etc., etc., etc.  The second error isn't just me - seems that there a few people experiencing it.  No idea about the 2.5 issue.

    It'd be nice to get some 'official' assistance here (!).  Can't build the api_library or the cinema4dsdk so it has ZIPPO to do with my projects.  The only thing holding me up from release is this frigging Apple crap (again, who cares so much about backward compatibility - wouldn't know it if it shot them in the ass!).

    Thanks...



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

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

    Howdy,

    On my quad core machine, I'm running Mac OSX 10.6.1 in 64 bit mode. all installed from the dvd. Xcode 2.5 was installed from the download and Xcode 3.2 was installed from the dvd. The only compiles I make on this machine are for R9.52 and R10.111 using Xcode 2.5. I tried compiling for R10 in Xcode 3.2 but got way too many errors, which is why I installed Xcode 2.5.

    To compile for R11, I use Xcode 3.0 on my core Duo iMac (32bit only) running Mac OSX 10.5.8 (all installed from the dvd). The reason for this is that I'm still on R10.111, and the R11 compiles are using the demo version. All demo versions are on the iMac so they won't interfere with working in R10.111 on the quad core machine (I hate double clicking on a received client file and have the demo load). I also installed Xcode 2.5 from the download on the iMac to compile for R10.5 demo. Since that machine was already compiling R11 fine with that configuration, I didn't upgrade the OS. To test the 64bit version of the plugins, I launch the R11 demo on the quad core through the network.

    Originally posted by xxxxxxxx

    ...2.5: float.h and stdarg.h on build of api_library and cinema4dsdk....

    This one I'm not sure about. What c4d version are you compiling with it? Compiling for R10 with Xcode 2.5, seems like I had to manually force the directories in the build settings to point to the Xcode2.5 directory, because they wanted to default to the Developer directory.

    Originally posted by xxxxxxxx

    ...3.2.2: error: can't exec '/Developer/usr/bin/gcc-4.2' (No such file or directory)...

    Shouldn't the directory be '/Developer/SDKs/MacOSX10.5.sdk/Developer/usr/llvm-gcc4.2' in Mac OSX 10.6?

    Adios,
    Cactus Dan



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

    On 11/07/2010 at 20:40, xxxxxxxx wrote:

    After much grinding of teeth and fiddling, have finally succeeded in all builds.  For 2.5, it seems to require some fiddling with the SDK/OS settings in the project settings for both the api_library and my project for R10 and R10.5.  For 3.2.2, I've read enough that one MUST install XCode from the Mac OS X Install DVD and then upgrade it from there.  Then you must fiddle with the project settings of both projects again for R11.  Also launched Disk Utility and did Repair Permissions and Repair Disk which were needed before doing anything else.  The damned computer is only a week or so old and came with everything pre-installed (and was completely updated).  How could there be so many permission and disk errors!?

    Thanks, Dan, for some hints on where to look and get the settings just so.  Oye... ;)



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

    On 12/07/2010 at 06:41, xxxxxxxx wrote:

    Howdy,

    Originally posted by xxxxxxxx

    ... Also launched Disk Utility and did Repair Permissions and Repair Disk which were needed before doing anything else.  The damned computer is only a week or so old and came with everything pre-installed (and was completely updated).  How could there be so many permission and disk errors!?...

    Yeah, that's something I don't understand either, but it is suggested that repairing permissions should be done once a week.

    Adios,
    Cactus Dan



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

    On 25/07/2010 at 08:51, xxxxxxxx wrote:

    Just to add something to this thread for people who maybe search for this...

    I use XCode 3.2.2 (using "Base SDK") for R11.5 and XCode 3.1.4 (using "10.4 SDK") for R10 builds. Both installed into different folders on the same machine.

    Works fine, no problems so far.

    Cheers,
    Jack

    P.S.: Since I don't support R9.x, I don't know about R9 builds.


Log in to reply