Error compiling network to dll
-
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?
-
@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:
Whereas this gives the same 'reference to non-static member function must be called' error message as you posted.