HISE Logo Forum
    • Categories
    • Register
    • Login

    Error compiling network to dll

    Scheduled Pinned Locked Moved ScriptNode
    2 Posts 2 Posters 371 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.
    • ulrikU
      ulrik
      last edited by

      I get this error messages when trying to compile a network to dll

      The following build commands failed:
      	CompileC /Users/ulrikboden/Music/Hise/HISE\ PROJECTS/EGNA/ScriptNode/Cloned\ test/DspNetworks/Binaries/Builds/MacOSX/build/Cloned\ test.build/Release/Cloned\ test\ -\ Dynamic\ Library.build/Objects-normal/arm64/Main.o /Users/ulrikboden/Music/Hise/HISE\ PROJECTS/EGNA/ScriptNode/Cloned\ test/DspNetworks/Binaries/Source/Main.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'Cloned test - Dynamic Library' from project 'Cloned test')
      (1 failure)
      
      āŒ  /Users/ulrikboden/Music/Hise/HISE-develop/hi_dsp_library/node_api/nodes/duplicate.h:172:15: reference to non-static member function must be called
      
                  p.connect<P>(dst);
      

      Any idea what I made wrong?

      Hise Develop branch
      MacOs 15.3.1, Xcode 16.2
      http://musikboden.se

      modularsamplesM 1 Reply Last reply Reply Quote 0
      • modularsamplesM
        modularsamples @ulrik
        last edited by

        @ulrik Compiling networks with cloned nodes is a tricky business.

        How complex is your network? Maybe try stripping it back and seeing if you can identify a specific thing that's causing the error. In my experience, the min/max node will not compile in a clone.

        So this compiles:

        Screenshot 2024-03-01 at 14.41.47.png

        Whereas this gives the same 'reference to non-static member function must be called' error message as you posted.

        Screenshot 2024-03-01 at 14.39.32.png

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

        28

        Online

        1.8k

        Users

        12.1k

        Topics

        105.4k

        Posts