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

    cdl64 not loaded

    SDK Help
    0
    8
    634
    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.
    • H
      Helper
      last edited by

      On 14/09/2015 at 14:53, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R16 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      Hello!

      I have created a plugin that runs in my system as it supposed to (using Visual Studio 2013).
      It creates a folder MyPlugin along with the corresponding menu item.
      Everything works fine.

      Sometimes though, when i transfer the plugin folder to other PCs, it is not loaded in Cinema4D.
      Even when i try to run Cinema4D using visual studio (via cinema4dSDK) i get the messages:

      'CINEMA 4D.exe' (Win32) : Loaded '<path>/my_plugin.cdl64'. Cannot find or open the PDB file.
      'CINEMA 4D.exe' (Win32) : Unloaded '<path>/my_plugin.cdl64'

      Why does it unload the plugin?

      Thank you.

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        On 15/09/2015 at 03:43, xxxxxxxx wrote:

        you need to recompile it, I guess you are doing it in debug mode, in release mode you won't encounter this problem.

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          On 15/09/2015 at 04:34, xxxxxxxx wrote:

          Hello.

          I build it in release mode and then i install it in different PCs.

          Thnx.

          1 Reply Last reply Reply Quote 0
          • H
            Helper
            last edited by

            On 15/09/2015 at 05:53, xxxxxxxx wrote:

            Hi,

            my first bet would be the version of Cinema 4D (actually the API_VERSION). If the plugin id build on a higher version than the version trying to load the plugin, it will fail.
            Usually you can expect your plugins to be upward compatible. For example, I still have plugins running in R17, that have been built against R13. The other way around won't work.
            So, this would be the first thing to check.

            1 Reply Last reply Reply Quote 0
            • H
              Helper
              last edited by

              On 15/09/2015 at 06:24, xxxxxxxx wrote:

              Hello !

              The plugin is built using the R16 Api.
              It also runs in R15 and R17 but it doesnt in R16.

              1 Reply Last reply Reply Quote 0
              • H
                Helper
                last edited by

                On 15/09/2015 at 06:34, xxxxxxxx wrote:

                Please check also the minor version. For example there was a problem[URL-REMOVED] within R16, which made it necessary to bump the API_VERSION during R16.


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

                1 Reply Last reply Reply Quote 0
                • H
                  Helper
                  last edited by

                  On 16/09/2015 at 23:54, xxxxxxxx wrote:

                  I have the same issue.

                  I compiled on 16.59 and it runs.
                  It also runs on 16.050 (Build RB131856).
                  I will check with the customer which version he runs.

                  For what versions will it fail?

                  1 Reply Last reply Reply Quote 0
                  • H
                    Helper
                    last edited by

                    On 17/09/2015 at 00:33, xxxxxxxx wrote:

                    Hello.

                    Thank you very much for your answer.
                    Updating Cinema4D version solves the problem.

                    thnx.

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