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

    Building Cinema 4D SDK on Windows

    Cinema 4D SDK
    r21 c++ sdk windows
    2
    3
    532
    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.
    • W
      wuzelwazel
      last edited by wuzelwazel

      Hello! I'm just starting to explore building a C++ plugin for R21. I'm taking this one step at a time. I've installed the R21 SDK, the project tool for R21, and Visual Studio 2017 Community. I've run the project tool for the frameworks and plugins within the sdk. When I open and attempt to build (Release/x64) the cinema4dsdk I get 100 errors all in the form:

      C1083 Cannot open include file: 'system1.hxx': No such file or directory (compiling source file ..\generated\hxx\register.cpp) cinema4dsdk F:\c4d_plugin_dev\sdk\frameworks\core.framework\source\maxon\system.h

      All of these errors refer to a missing file 'system1.hxx' that is indeed not present in any of the directories within the sdk.

      What have I done wrong?

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

        Hello,

        those file are generated at compile time by the Source Processor

        That said, be sure :

        • to have the last version of Visual Studio installed (we had some issue with previous versons)
        • open the solution file that is on plugins/project (plugins.sln) not the project file that is on the cinema4Dsdk folder.
        • unzip the sdk archive in a folder where you have the right to write.
        • be sure to execute the project_tools on your "main" directory (in your case F:\c4d_plugin_dev\sdk) as said on the project tool page

        Cheers,
        Manuel

        MAXON SDK Specialist

        MAXON Registered Developer

        1 Reply Last reply Reply Quote 0
        • W
          wuzelwazel
          last edited by

          Thank you @m_magalhaes! I needed to open the plugins.sln solution instead of the project file. I feel like I've learned something, but I'm not sure what 👍 🤕

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