HISE Logo Forum
    • Categories
    • Register
    • Login

    Custom dll loading issues.

    Scheduled Pinned Locked Moved Solved C++ Development
    2 Posts 1 Posters 261 Views
    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.
    • tobanteT
      tobante
      last edited by tobante

      I'm trying to compile a custom node via the "Create C++ third-party node template". The base template works as expected and is loadable. As soon as I add a member to the C++ class (unique_ptr in this case)
      the dll fails to load. The error message is rather limited, it says the file is missing, but is definitively there. what debug methods should I use to tackle the problem? Could this be a Linux issue? I can switch to Windows, but that PC is a lot slower.

      Empty template

      1de35414-d0c9-4ed8-929a-5e9288ea3cf4-image.png

      With member

      524b3584-c4e8-4f56-bfcf-5a2863be1a4e-image.png

      tobanteT 1 Reply Last reply Reply Quote 1
      • tobanteT
        tobante @tobante
        last edited by

        @tobante So the issue was a virtual destructor that I had defined. Both gcc & clang did not complain, but on Windows MSVC gave an error message. I guess that caused ABI problems. After removing said dtor it loads on all systems.

        1 Reply Last reply Reply Quote 0
        • tobanteT tobante marked this topic as a question on
        • tobanteT tobante has marked this topic as solved on
        • First post
          Last post

        43

        Online

        1.7k

        Users

        11.7k

        Topics

        101.8k

        Posts