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
    • Register
    • Login

    Building R23 SDK with Visual Studio 16.9

    News & Information
    news sdk
    1
    1
    609
    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.
    • ManuelM
      Manuel
      last edited by m_adam

      Hi,

      There's a know issue about compiling the R23 sdk with Visual Studio 16.9.
      Trying to compile with this version will lead you to the following error:

      Error C2079 'maxon::ResultBase<RESULT_TYPE>::_value' uses undefined class 'maxon::BlendAnimationRef' math.framework <path to the file> 571
      

      This issue will be fixed in the next update.
      To fix the issue, open the file objectbase.h of core.framework and change those lines :

      around line 1088:

      // template <typename I, typename = I*> struct VirtualCreate
      // become 
      template <typename I, typename = I*(*)()> struct VirtualCreate
      
      

      around line 1102:

      // template <typename I> struct VirtualCreate<I, decltype(I::Create())>
      // become 
      template <typename I> struct VirtualCreate<I, decltype(&I::Create)>
      

      Cheers,
      Manuel

      MAXON SDK Specialist

      MAXON Registered Developer

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