Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    Recompiling a plugin for R20

    Cinema 4D SDK
    3
    5
    1.3k
    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.
    • R
      rui_mac
      last edited by s_bach

      I have a set up plugins that was compiled in XCode and Visual Studio and it was working fine until R19.
      Now I have to recompile it to R20.
      I have been trying to follow the instructions in Maxon site but I can't seem to be able to do it. Is there any simple set of instructions to teach how to get old source code to recompile?
      Also, must I still do it in XCode and Visual Studio or can I compile everything on XCode and produce object code that runs on Mac and Windows?

      1 Reply Last reply Reply Quote 0
      • S
        s_bach
        last edited by s_bach

        Hello,

        what "instructions in Maxon site" do you mean?

        you find information on how to create R20 projects and how to adapt older code in the C++ documentation:

        • Getting Started: Introduction
        • Plugin Migration
        • API Transition

        There is also this thread discussing how to build R20 plugins: Compiling the Cinema 4D R20 C++ SDK Examples

        You can only build plugins on a specific platform for that specific platform. You to support both Windows and macOS, you must compile on both platforms. See also

        • Development for Microsoft Windows
        • Development for macOS

        Also, please use tags to add information to your post. See Read Before Posting.

        best wishes,
        Sebastian

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

        1 Reply Last reply Reply Quote 1
        • S
          s_bach
          last edited by

          Hello @rui_mac

          I'm wondering if your question has been answered. If so, please mark this thread as solved.

          best wishes,
          Sebastian

          MAXON SDK Specialist

          Development Blog, MAXON Registered Developer

          1 Reply Last reply Reply Quote 1
          • rsodreR
            rsodre
            last edited by

            Using these api bridge headers helps a lot:
            https://github.com/craftr-build/net.maxon.c4d/tree/master/include

            1 Reply Last reply Reply Quote 0
            • R
              rui_mac
              last edited by

              Sorry for the lateness in replying to this.
              I was busy creating lots of python versions of my COFFEE scripts, for R20.
              I will now try to start porting my C++ plugins to R20.
              Thank you for all the links.

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