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

    R21 Project Tool?

    General Talk
    r21 c++
    4
    7
    908
    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.
    • B
      bentraje
      last edited by

      Hi,

      I'm trying to get into C++. Haven't touched it before.
      Currently, the project tool is made for R23. You can check it here:
      [URL-REMOVED]

      Is there a R21 version? Currently, it gives me an error when I run the .sln file.

      See error below:
      unavailable.jpg

      Regards,
      Ben


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

      1 Reply Last reply Reply Quote 0
      • CairynC
        Cairyn
        last edited by

        Go to the downloads page and scroll down to R21
        [URL-REMOVED]


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

        1 Reply Last reply Reply Quote 0
        • B
          bentraje
          last edited by

          @Cairyn

          Thanks for the response. But for some reason, I still get the same error as before: ("unavailable") and also this:
          error.JPG

          I guess I'll just have to install the 5GB C++ environment variables for it to work.

          CairynC 1 Reply Last reply Reply Quote 0
          • CairynC
            Cairyn @bentraje
            last edited by

            @bentraje It's not five GB environment variables, just libraries.

            Anyway... Did you put the framework in the right hierarchy? I had to copy the huge thing in several places for the various projects (one for the sample plugins, one for my own, one for the R21 stuff... etc)

            This is how my hierarchy looks like:

            e2477486-c79b-4f18-b559-108bb72d480f-image.png

            I got the samples in the newest version from github. The sdk.zip needs to be installed from the C4D installation. (But that's what the original documentation in the other thread says already...)

            "Unavailable" sounds as if the framework is not yet installed or cannot be found. If the VisualStudio C++ wouldn't be completely installed, I'd expect compilation errors, but not missing frameworks?

            1 Reply Last reply Reply Quote 0
            • ferdinandF
              ferdinand
              last edited by

              Hi,

              you are missing the desktop development environment for C++, see screenshot below.

              Clipboard 2.png

              To modify your installation, go to your start menu and type in Visual Studio Installer, if it does not show up, you can also download via the update function in the help menu in Visual Studio.

              In the installer click on more/modify on your installed Visual Studio distribution:

              Clipboard 3.png

              This should bring you to the screen above. The component itself is only a few hundred MB large.

              Cheers,
              zipit

              MAXON SDK Specialist
              developers.maxon.net

              1 Reply Last reply Reply Quote 0
              • ManuelM
                Manuel
                last edited by

                hi,

                thanks a lot @Cairyn and @zipit for your answers, they are always appreciated.

                Of course you need to download some development environment to be able to build application/dll.
                Once it's done you don't need to redownload it.

                The SDK.zip file must be unzipped in another directory than c4d's main folder. Otherwise, you could face some permissions issue.

                We need to improve our documentation.

                Cheers,
                Manuel

                MAXON SDK Specialist

                MAXON Registered Developer

                1 Reply Last reply Reply Quote 0
                • B
                  bentraje
                  last edited by

                  @Cairyn @zipit @m_magalhaes

                  Thanks for the detailed response. After installing the C++ environments, it works as expected.
                  Sorry new to this. As I only have python to reference for.

                  I also managed to build the plug-ins using this guide:
                  https://developers.maxon.net/forum/topic/10967/compiling-the-cinema-4d-r20-c-sdk-examples

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