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
    1. Home
    2. rootbender
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 5
    • Best 0
    • Controversial 0
    • Groups 0

    rootbender

    @rootbender

    0
    Reputation
    85
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    rootbender Unfollow Follow

    Latest posts made by rootbender

    • RE: win_macros.h Error

      I fixed the errors by adding this after every <windows.h> include:

      #undef GetMessage
      #undef INTERFACE
      #undef CreateWindow
      #undef GetObject
      #undef AddJob
      #undef GetClassInfo
      #undef PASSTHROUGH
      #undef SetPort

      On to more error fixing.

      posted in Cinema 4D SDK
      R
      rootbender
    • win_macros.h Error

      Hello,
      I'm trying to compile my C4D plugin for R20, and I'm getting dozens of these error messages:

      detect_win_macros.h(8): fatal error C1189: #error: GetMessage macro defined, you have to clean-up after a Windows include.
      detect_win_macros.h(2): fatal error C1189: #error: INTERFACE macro defined, you have to clean-up after a Windows include.

      Yes, I'm including <windows.h> in my source code files, because I'm using some Win32 functions.

      I don't understand what "clean-up" means or what I have to do to fix it. Thanks.

      posted in Cinema 4D SDK c++ windows r20 sdk
      R
      rootbender
    • Source processor bug

      I think the Source processor is buggy. It's checking code that is commented out with #if 0 blocks, which should be ignored.

      1> Source processor:
      1>test.cpp(463,89): error : No matching closing parenthesis found for {
      1>test.cpp(504,25): error : Mismatching closing parenthesis )

      Source code:
      #if 0
      printf"test"); // missing first parenthesis
      #endif

      posted in Cinema 4D SDK
      R
      rootbender
    • RE: Compiling for R20

      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.

      posted in Cinema 4D SDK
      R
      rootbender
    • Compiling for R20

      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.

      posted in Cinema 4D SDK c++ r20 sdk windows project tool
      R
      rootbender