Another HISE Scriptnode Compile Error?
-
Hey!
I was trying to compile multiple script node networks on Mac, but there was a
reference to non-static member function must be called
error, here's the full log:Compiling compiletest ... ▸ Compiling include_juce_gui_basics.mm ▸ Compiling include_juce_graphics.mm ▸ Compiling include_juce_events.mm ▸ Compiling include_juce_dsp.mm ▸ Compiling include_juce_data_structures.mm ▸ Compiling include_juce_core.mm ▸ Compiling include_juce_audio_formats.mm ▸ Compiling include_juce_audio_basics.mm ▸ Compiling include_hi_tools.mm ⚠️ /Users/dhanwanth/Downloads/HISE-develop/hi_tools/hi_standalone_components/RingBuffer.cpp:94:8: unused variable 'pos' [-Wunused-variable] int pos = roundToInt(interpolatedReadIndex); ^ ⚠️ /Users/dhanwanth/Downloads/HISE-develop/hi_tools/hi_standalone_components/RingBuffer.cpp:225:10: unused variable 'pos' [-Wunused-variable] auto pos = roundToInt(interpolatedWriteIndex); ^ ⚠️ /Users/dhanwanth/Downloads/HISE-develop/hi_tools/hi_standalone_components/SliderPack.cpp:1311:8: unused variable 'y' [-Wunused-variable] auto y = 1.0 - (float)mouseEvent.getPosition().getY() / (float)getHeight(); ^ ▸ Compiling include_hi_dsp_library_02.cpp ▸ Compiling include_hi_dsp_library_01.cpp ⚠️ /Users/dhanwanth/Downloads/HISE-develop/hi_dsp_library/dsp_nodes/AnalyserNodes.cpp:261:8: unused variable 'y' [-Wunused-variable] auto y = dataPoints[i].getY(); ^ ⚠️ /Users/dhanwanth/Downloads/HISE-develop/hi_dsp_library/dsp_nodes/AnalyserNodes.cpp:208:7: unused variable 'getBinRange' [-Wunused-variable] auto getBinRange = [targetBounds, sampleRate, size](double xPos) ^ ⚠️ /Users/dhanwanth/Downloads/HISE-develop/hi_dsp_library/dsp_nodes/AnalyserNodes.cpp:233:8: unused variable 'xPos' [-Wunused-variable] float xPos = targetBounds.getX(); ^ ▸ Compiling RNBO.cpp ▸ Compiling Main.cpp ❌ /Users/dhanwanth/Downloads/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); ~~^~~~~~~ ⚠️ /Users/dhanwanth/Downloads/HISE-develop/hi_dsp_library/snex_basics/snex_Types.h:997:11: destination for this 'memset' call is a pointer to class containing a dynamic class 'SmoothedValue<double>'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] memset(data, 0, sizeof(T) * NumVoices); ^ ⚠️ /Users/dhanwanth/Downloads/HISE-develop/hi_dsp_library/snex_basics/snex_Types.h:997:11: destination for this 'memset' call is a pointer to class containing a dynamic class 'SmoothedValue<double>'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] memset(data, 0, sizeof(T) * NumVoices); ^ ⚠️ /Users/dhanwanth/Downloads/HISE-develop/hi_dsp_library/snex_basics/snex_Types.h:997:11: destination for this 'memset' call is a pointer to class containing a dynamic class 'SmoothedValue<float>'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] memset(data, 0, sizeof(T) * NumVoices); ^ ** BUILD FAILED ** The following build commands failed: CompileC /Users/dhanwanth/Downloads/compiletest/DspNetworks/Binaries/Builds/MacOSX/build/compiletest.build/Release/compiletest\ -\ Dynamic\ Library.build/Objects-normal/x86_64/Main.o /Users/dhanwanth/Downloads/compiletest/DspNetworks/Binaries/Source/Main.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'compiletest - Dynamic Library' from project 'compiletest') (1 failure)
Any ideas?
Thanks!
-
@Casmat slowly remove each scriptnode from the compile process until you find the culprit.
-
This post is deleted!