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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Compiling for R20

    Cinema 4D SDK
    c++ r20 sdk windows project tool
    2
    3
    938
    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
      rootbender
      last edited by rootbender

      Hello,

      I'm trying to recompile my C4D plugin for R20 (Windows), and I'm having some issues.

      Previously, I would first compile a static library for cinema.framework, and then add it
      to my plugin project solution. But now, I can't even compile cinema.framework.

      I understand things have changed, and I've read this:
      https://developers.maxon.net/docs/cpp/2023_2/page_maxonapi_getting_started_introduction.html

      And downloaded the Project Tool:
      [URL-REMOVED]

      I ran it on this directory:
      \frameworks\cinema.framework\project

      I was assuming the project tool would create a solution file (.sln) for me, which I could
      loade into VS 2015, and then compile a static library, but it only creates a .vcxproj file.

      Trying to load this .vcxproj into VS 2015 only gives me errors, and nothing gets loaded. So, I'm a bit confused and don't know where to go from here. Thanks.

      Using:
      Windows 7, 64-bit
      Visual Studio 2015 Community
      C++


      [URL-REMOVED] @maxon: This section contained a non-resolving link which has been removed.

      R 1 Reply Last reply Reply Quote 0
      • R
        rootbender @rootbender
        last edited by

        I solved my problem here:
        https://developers.maxon.net/forum/topic/10967/compiling-the-cinema-4d-r20-c-sdk-examples

        I didn't realize I had to run the Project Tool on the entire SDK directory.

        Maybe that thread should be a sticky at the top of the forums, because it makes more sense than the docs.

        1 Reply Last reply Reply Quote 0
        • a_blockA
          a_block
          last edited by

          Hi,

          glad you were able to solve your problem. We'll take this as a hint and see if we can improve our documentation in this regard.

          Cheers,
          Andreas

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