Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python 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

    Undefined symbols

    Cinema 4D SDK
    r21 sdk
    5
    12
    1.3k
    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
      rui_mac
      last edited by

      Actually, yes.
      Would it be better to use GePrint?
      Or was it discontinued?
      What is the best way to print to the Console now, in C++?

      C4DSC 1 Reply Last reply Reply Quote 0
      • C4DSC
        C4DS @rui_mac
        last edited by C4DS

        @rui_mac said in Undefined symbols:

        What is the best way to print to the Console now, in C++?

        ApplicationOutput() If you mean the Cinema4D console, that is.

        1 Reply Last reply Reply Quote 0
        • r_giganteR
          r_gigante
          last edited by

          Hi Rui, thanks for reaching out us.

          With regard to the mentioned issued, it's pretty clear looking at the outputted line in the building log that you were trying to feed some function with a data-type missing the ToString() method which is usually supposed to "convert" the data in a convenient maxon::String representation.
          I warmly recommend to have a look at the Conversion section in the maxon::String Manual.

          Last but not least this change was already requested to adapt code from R19 to R20 and not from R20 to R21.

          Best, R

          1 Reply Last reply Reply Quote 0
          • kbarK
            kbar
            last edited by

            You can still use DiagnosticOutput. The comments from the code I pasted above said the following... did you try this?

            “you must #include "maxon/string.h" in that source file to fix it.”

            https://www.gamelogicdesign.com
            https://www.plugins4d.com

            1 Reply Last reply Reply Quote 0
            • R
              rui_mac
              last edited by

              I still get the same error, even after adding the #include "maxon/string.h"
              I also replaced the DiagnosticOutput() with ApplicationOutput(), but the error persists.

              1 Reply Last reply Reply Quote 0
              • kbarK
                kbar
                last edited by

                Thanks for checking, I was interested to know if that was your problem or not.

                I will leave you in the hands of the SDK team.

                https://www.gamelogicdesign.com
                https://www.plugins4d.com

                1 Reply Last reply Reply Quote 0
                • r_giganteR
                  r_gigante
                  last edited by

                  Hi rui_mac, might you kindly consider sharing a snippet to reproduce the issue?

                  Thanks, R

                  1 Reply Last reply Reply Quote 0
                  • R
                    rui_mac
                    last edited by

                    Since it is my serial protection code, I may have to edit things a bit, to protect my secrets 😉
                    I will see if I can adjust to code to provide as much information as possible, without revealing too much, as soon as I get home.

                    1 Reply Last reply Reply Quote 0
                    • M
                      m_adam
                      last edited by m_adam

                      If you prefer in order to not disclose confidential stuff you can contact us by email at [email protected].

                      Cheers,
                      Maxime.

                      MAXON SDK Specialist

                      Development Blog, MAXON Registered Developer

                      1 Reply Last reply Reply Quote 0
                      • R
                        rui_mac
                        last edited by

                        Great, I will do that. 🙂

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