Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Using OSX Lion

    Scheduled Pinned Locked Moved SDK Help
    7 Posts 0 Posters 624 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

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

      On 12/07/2012 at 06:15, xxxxxxxx wrote:

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

      ---------
      I'm about to install OSX Lion on my Mac. Right now I have Snow Leopard with XCode 3.2.6 running fine. I'd like to keep 3.2.6 so I can continue to support R13 and below for some of my plugins.

      If I understand correctly, I should be able to upgrade the Mac to Lion, which will then still run XCode 3.2.6. However, I also want to install XCode 4.x and run that as well as 3.2.6.

      My questions are firstly, has anybody else done this and can you confirm it works okay? That is, with both versions of XCode able to run under Lion?

      Secondly, if I install 4.x, then I guess I have to do that in a different folder to 3.2.6. At the moment, XCode is in Macintosh HD/Developer, so would I create a different folder - e.g. Macintosh HD/XCode4, and install 4.x into that?

      Sorry for the fairly basic questions, but my Mac knowledge is just that - fairly basic!

      Thanks,

      Steve

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

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

        On 12/07/2012 at 08:01, xxxxxxxx wrote:

        Originally posted by xxxxxxxx

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

        ---------
        </ADDRESS> I'm about to install OSX Lion on my Mac. Right now I have Snow Leopard with XCode 3.2.6 running fine. I'd like to keep 3.2.6 so I can continue to support R13 and below for some of my plugins.

        If I understand correctly, I should be able to upgrade the Mac to Lion, which will then still run XCode 3.2.6. However, I also want to install XCode 4.x and run that as well as 3.2.6.

        My questions are firstly, has anybody else done this and can you confirm it works okay? That is, with both versions of XCode able to run under Lion?

        Secondly, if I install 4.x, then I guess I have to do that in a different folder to 3.2.6. At the moment, XCode is in Macintosh HD/Developer, so would I create a different folder - e.g. Macintosh HD/XCode4, and install 4.x into that?

        Sorry for the fairly basic questions, but my Mac knowledge is just that - fairly basic!

        Thanks,

        Steve

        Yes it works and starting with XCode 4.3 it's much easier than before, as everthing is now inside the app bundle - you just copy the Xcode app into of the app folder (you don't have to choose different folders as with XCode 4.2 and older versions) and can put different versions of them inside of your app folder.

        I'd suggest that you use the latest version - XCode 4.4 has gone GM a few days ago and contains an (further) improved version of the clang C++ compiler...

        Best regards,

        Wilfried

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

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

          On 12/07/2012 at 08:21, xxxxxxxx wrote:

          Thanks Wilfried, that sounds much easier! So I wouldn't need to create a new folder - just drop the app bundle wherever I want it to go in the apps folder? That's a whole lot easier than before.

          Thanks again, now I just need to download Lion and XCode from the Apple dev site and get on with it!

          Cheers,

          Steve

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

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

            On 25/07/2012 at 08:13, xxxxxxxx wrote:

            Okay... well, I finally got round to upgrading to Lion and now I have a problem. XCode 3.x is still there, and runs okay, but won't compile the SDK examples. I get literally thousands of errors all of which seem to relate to missing headers. For example, the first error says '<CoreServices>CoreServices.h: no such file' (or something along those lines).

            Now, this was a working Snow Leopard installation and I just upgraded OSX over the top of it. In the project settings I changed the Base SDK to OSX 10.5 and the target architecture to OSX 10.5 because it was set to current OSX version, but it still won't compile.

            The files are there in the relevant SDK folders, but XCode can't find them. Anyone know what's gone wrong - and especially, how to fix it?

            TIA,

            Steve

            1 Reply Last reply Reply Quote 0
            • H Offline
              Helper
              last edited by

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

              On 25/07/2012 at 09:00, xxxxxxxx wrote:

              Phew, panic over! I've sorted this out and can compile for earlier SDKs using XCode 3.x on Lion. In case anyone else has the same problem, here's what you have to do:

              1. Check the project settings for your plugin. In particular, see what the Base SDK is set to. If it's 'Current Mac OS' then you will have to change it, and you should have at least SDK OSX 10.6 and maybe 10.5 as well on your system. I changed it to 10.5. Also check that the target architecture matches the base SDK.
              2. This might work as it is, but if you rebuild the SDK examples and it fails with thousands of errors, you need to do the same for cinema4dsdk.xcodeproj as you did for your own plugin.
              3. You will then find it still doesn't build, and that's because of the dependence on the _api library build. Unfortunately you can't edit the settings for that dependency from your plugin or from the sdk example project. You need to load the project manually - look for _api.xcodeproj in the folder resource/_api_lib. Load the project and change the base SDK and target architecture as before.

              Once you do all that you should be able to clean and build the SDK example project, which will also rebuild the _api library, then build your plugin.

              So that's okay. Now for XCode 4.x...

              Steve

              1 Reply Last reply Reply Quote 0
              • H Offline
                Helper
                last edited by

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

                On 27/07/2012 at 06:00, xxxxxxxx wrote:

                I am in the same situation (I need to compile for R12 and 13 also).
                I looked on the apple website and I can not find the Lion update, it makes me go directly to Mountain Lion, that's okay or is it better to use Lion?

                1 Reply Last reply Reply Quote 0
                • H Offline
                  Helper
                  last edited by

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

                  On 27/07/2012 at 10:47, xxxxxxxx wrote:

                  I think this is a question for Maxon to answer. Since Lion is fine, my guess - but that's all it is - would be that ML is fine, too. But don't take my word for it - my Mac knowledge is minimal at best.

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post