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

    FileName R10 MacIntel - MacPPC

    Scheduled Pinned Locked Moved SDK Help
    16 Posts 0 Posters 1.1k 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 06/11/2006 at 13:46, xxxxxxxx wrote:

      So.. i must check the C4D release then use "/" or ":" πŸ™‚

      Thanks
      Renato

      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 06/11/2006 at 14:01, xxxxxxxx wrote:

        Well. I'm making a specific version for R10 (as the animation and other things have changed), so a preprocessor directive gets me the new code. If you are compiling with the R10 api lib, users can only run the plugin in R10 so a check shouldn't be needed. πŸ™‚

        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 06/11/2006 at 14:06, xxxxxxxx wrote:

          ok πŸ™‚

          Cheers
          Renato

          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 16/11/2006 at 11:03, xxxxxxxx wrote:

            Hi Robert,

            i don't know why my mini mac (intel) is loading fine all my plugins on the R10.. but the users with PPC don't load it.
            Have you an idea?

            Cheers
            Renato

            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 16/11/2006 at 11:28, xxxxxxxx wrote:

              When you say that it doesn't load - do you mean the plugin is not being registered or that the license is not found (which is what I infer from the CGTalk thread)?

              If the latter, what kind of path are you using to get to the file? By this I mean: is it a relative or full path?Β Β Β Usually, I use full paths:

              Filename prefs = GeGetPluginPath() + Filename("default.prf");

              It may be that if you are using relative paths, they need to be restructured for the new file path system, but I'm not sure what that would involve if so. And not sure why it would work on the Intel Macs but not on the PPC Macs even though the plugin is UB on both in this case.

              One idea is to do some GePrint()s to the Console of where and what you suspect is causing the problem. Compile and send the modified plugin to users having the difficulty. This gives you sort of a distributed form of 'debug'. Whenever one of my users encounters a problem that I can't replicate, best to provide them with the code that you would use to test - but since they can't run a debugger, it has to be a more crude approach.

              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 16/11/2006 at 18:27, xxxxxxxx wrote:

                Hi Robert,

                the problem is on the PPC Mac R10.
                I just make some test with my friend..

                Really i don't know why.. the problem is that i can't compile on PPC directly
                I thought also that Xcode don't make Intel+PPC code... I'm just trying to see where this xcode setting.. πŸ™‚

                Cheers
                Renato

                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 16/11/2006 at 20:16, xxxxxxxx wrote:

                  The Cinema 4D SDK .xcodeproj project makes Intel+PPC Universal Binary - both libs are put together into the resulting .dylib. There is no 'PPC' MacOS classic version R10 - it is MacOSX PPC+Intel UB.

                  You shouldn't need to compile on a PPC or an Intel. Either should suffice - I just switched from a PPC Mac to an Intel Mac and the results are the same.

                  To get to the target configuration settings in Xcode, flip open Targets, right click on one of them, and select "Get Info". This opens the Configuration settings - the interesting stuff is under "Build". Under there in "Architectures" it should say "ppc i386" to denote PPC+Intel mixed UB. Mach-O Type must be "Dynamic Library" (no longer 'static lib').

                  It is important to note that you must be careful with the configuration settings - they don't always stick. I usually double check the settings against the cinema4Dsdk project close the Info window and quit Xcode. Then restart and recheck to verify that they did stick.

                  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 17/11/2006 at 00:56, xxxxxxxx wrote:

                    also make sure to read the migration to XCode in the docs and use latest XCode version (2.4). I had some strange problems with older versions.

                    cheers,
                    Matthias

                    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 17/11/2006 at 01:27, xxxxxxxx wrote:

                      Hi all,

                      Seem that with Xcode 2.3 is working.. just i need to wait for a friend that will test on PPC R10 UB.

                      Thanks all
                      Renato T.

                      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 17/11/2006 at 08:31, xxxxxxxx wrote:

                        That's odd, Matthias. No problems as of yet and I'm still on 2.2.1. πŸ™‚ What kind of strange behavior did you encounter?

                        Best of luck, Renato!

                        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 17/11/2006 at 12:03, xxxxxxxx wrote:

                          Quote: Originally posted by kuroyume0161 on 17 November 2006
                          >
                          > * * *
                          >
                          > That's odd, Matthias. No problems as of yet and I'm still on 2.2.1. πŸ™‚ What kind of strange behavior did you encounter?
                          >
                          >
                          > * * *

                          It might be an error on my side but I had problems to get plugins to run on Intel Macs with XCode 2.2 and I couldn't build release versions, only debug versions. XCode 2.4 seemed to fix this but maybe it was just that my 2.2 installation was screwed up. Anyway afaik 2.4 fixes several bugs of XCode so it's maybe not a bad idea to update to 2.4.

                          cheers,
                          Matthias

                          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 17/11/2006 at 13:07, xxxxxxxx wrote:

                            That's wierd, but I have been considering updating Xcode - before the next release compile. Any caveats to keep in mind - like loss of the Xcode preferences settings mentioned in the migrate PDF.

                            Thanks,

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