HISE Logo Forum
    • Categories
    • Register
    • Login

    Compiling Just an Empty Clone Container Fails

    Scheduled Pinned Locked Moved Bug Reports
    23 Posts 6 Posters 579 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.
    • d.healeyD
      d.healey @clevername27
      last edited by

      @clevername27 said in Compiling Just an Empty Clone Container Fails:

      Structs don't have methods

      They can in C++ and do in the HISE codebase.

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      clevername27C 1 Reply Last reply Reply Quote 1
      • clevername27C
        clevername27 @d.healey
        last edited by

        @d-healey You're absolutely right.

        1 Reply Last reply Reply Quote 0
        • hujackusH
          hujackus @clevername27
          last edited by hujackus

          @clevername27 said in Compiling Just an Empty Clone Container Fails:

          When you say struct, do you mean class?

          Yeah clone_base is a struct. It has a few methods, but no member named ‘isPolyphonic’. I'm assuming there is a wrapper class somewhere trying to cast a clone_base into a class that has a isPolyphonic() function.

          Setting the default return value of NodeBase::isPolyphonic() from false to true is an interesting lead. Looking for subclasses of NodeBase now to see how it relates to the clone_base struct.

          Check out the music of Conway's Game of Life - https://www.youtube.com/@hujackus
          ConwayMatrix - http://hujackus.altervista.org/conwaymatrix/

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

          9

          Online

          1.7k

          Users

          11.9k

          Topics

          103.2k

          Posts