Forum
    • Categories
    • Register
    • Login

    Unknown Error poped up when try to compile dsp networks as dll

    Scheduled Pinned Locked Moved General Questions
    4 Posts 1 Posters 67 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.
    • N
      NISHI_MUSIC
      last edited by

      Create files
      Sorting include dependencies
      Creating C++ file for Network azrimuth
      Compiling dll plugin
      Re-saving file: D:\Hise\AzrimuthTest\DspNetworks\Binaries\AutogeneratedProject.jucer
      Finished saving: Visual Studio 2022
      Finished saving: Xcode (macOS)
      Finished saving: Linux Makefile
      Compiling 64bit Roots ...
      MSBuild version 17.14.23+b0019275e for .NET Framework

      Main.cpp
      RNBO.cpp
      include_hi_dsp_library_01.cpp
      include_hi_dsp_library_02.cpp
      include_hi_tools_01.cpp
      include_hi_tools_02.cpp
      include_hi_tools_03.cpp
      include_juce_audio_basics.cpp
      include_juce_audio_formats.cpp
      include_juce_core.cpp
      include_juce_data_structures.cpp
      include_juce_dsp.cpp
      include_juce_events.cpp
      include_juce_graphics.cpp
      D:\HiseCompile\HISE\hi_dsp_library\node_api\helpers\ParameterData.h(476,41): warning C4309: 'initializing': truncation of constant value [D:\Hise\AzrimuthTest\DspNetworks\Binaries\Builds\VisualStudio2022\Roots_DynamicLibrary.vcxproj]
      (compiling source file '../../JuceLibraryCode/include_hi_dsp_library_01.cpp')

      D:\HiseCompile\HISE\hi_dsp_library\node_api\helpers\ParameterData.h(476,41): warning C4309: 'initializing': truncation of constant value [D:\Hise\AzrimuthTest\DspNetworks\Binaries\Builds\VisualStudio2022\Roots_DynamicLibrary.vcxproj]
      

      (compiling source file '../../Source/Main.cpp')

      D:\HiseCompile\HISE\hi_dsp_library\node_api\helpers\ParameterData.h(476,41): warning C4309: 'initializing': truncation of constant value [D:\Hise\AzrimuthTest\DspNetworks\Binaries\Builds\VisualStudio2022\Roots_DynamicLibrary.vcxproj]
      

      (compiling source file '../../JuceLibraryCode/include_hi_tools_01.cpp')

      D:\HiseCompile\HISE\hi_dsp_library\node_api\helpers\UIUpdater.h(117,15): warning C4996: 'juce::Array<juce::WeakReference<hise::DllUpdaterBase,juce::ReferenceCountedObject>,juce::DummyCriticalSection,0>::swapWithArray': This method has been replaced by a more flexible templated version and renamed to swapWith to be more consistent with the names used in other classes. [D:\Hise\AzrimuthTest\DspNetworks\Binaries\Builds\VisualStudio2022\Roots_DynamicLibrary.vcxproj]
      

      (compiling source file '../../JuceLibraryCode/include_hi_dsp_library_01.cpp')

      D:\HiseCompile\HISE\hi_dsp_library\node_api\helpers\UIUpdater.h(117,15): warning C4996: 'juce::Array<juce::WeakReference<hise::DllUpdaterBase,juce::ReferenceCountedObject>,juce::DummyCriticalSection,0>::swapWithArray': This method has been replaced by a more flexible templated version and renamed to swapWith to be more consistent with the names used in other classes. [D:\Hise\AzrimuthTest\DspNetworks\Binaries\Builds\VisualStudio2022\Roots_DynamicLibrary.vcxproj]
      

      (compiling source file '../../Source/Main.cpp')

      D:\HiseCompile\HISE\hi_dsp_library\node_api\helpers\UIUpdater.h(117,15): warning C4996: 'juce::Array<juce::WeakReference<hise::DllUpdaterBase,juce::ReferenceCountedObject>,juce::DummyCriticalSection,0>::swapWithArray': This method has been replaced by a more flexible templated version and renamed to swapWith to be more consistent with the names used in other classes. [D:\Hise\AzrimuthTest\DspNetworks\Binaries\Builds\VisualStudio2022\Roots_DynamicLibrary.vcxproj]
      

      (compiling source file '../../JuceLibraryCode/include_hi_tools_01.cpp')

      D:\HiseCompile\HISE\hi_dsp_library\dsp_nodes\AnalyserNodes.cpp(171,33): warning C4305: 'argument': truncation from 'double' to 'float' [D:\Hise\AzrimuthTest\DspNetworks\Binaries\Builds\VisualStudio2022\Roots_DynamicLibrary.vcxproj]
      

      (compiling source file '../../JuceLibraryCode/include_hi_dsp_library_01.cpp')

      D:\HiseCompile\HISE\hi_dsp_library\dsp_nodes\AnalyserNodes.cpp(292,7): warning C4189: 'lastRealIndex': local variable is initialized but not referenced [D:\Hise\AzrimuthTest\DspNetworks\Binaries\Builds\VisualStudio2022\Roots_DynamicLibrary.vcxproj]
      

      (compiling source file '../../JuceLibraryCode/include_hi_dsp_library_01.cpp')

      D:\HiseCompile\HISE\hi_dsp_library\dsp_nodes\AnalyserNodes.cpp(371,9): warning C4189: 'deltaY': local variable is initialized but not referenced [D:\Hise\AzrimuthTest\DspNetworks\Binaries\Builds\VisualStudio2022\Roots_DynamicLibrary.vcxproj]
      

      (compiling source file '../../JuceLibraryCode/include_hi_dsp_library_01.cpp')

      D:\HiseCompile\HISE\hi_dsp_library\node_api\helpers\ParameterData.h(476,41): warning C4309: 'initializing': truncation of constant value [D:\Hise\AzrimuthTest\DspNetworks\Binaries\Builds\VisualStudio2022\Roots_DynamicLibrary.vcxproj]
      

      (compiling source file '../../JuceLibraryCode/include_hi_tools_03.cpp')

      D:\HiseCompile\HISE\hi_dsp_library\node_api\helpers\UIUpdater.h(117,15): warning C4996: 'juce::Array<juce::WeakReference<hise::DllUpdaterBase,juce::ReferenceCountedObject>,juce::DummyCriticalSection,0>::swapWithArray': This method has been replaced by a more flexible templated version and renamed to swapWith to be more consistent with the names used in other classes. [D:\Hise\AzrimuthTest\DspNetworks\Binaries\Builds\VisualStudio2022\Roots_DynamicLibrary.vcxproj]
      

      (compiling source file '../../JuceLibraryCode/include_hi_tools_03.cpp')

      !D:\Hise\AzrimuthTest\DspNetworks\Binaries\Source\azrimuth.h(315,9): error C2374: 'chain1_BackandFront_p': redefinition; multiple initialization [D:\Hise\AzrimuthTest\DspNetworks\Binaries\Builds\VisualStudio2022\Roots_DynamicLibrary.vcxproj]
      (compiling source file '../../Source/Main.cpp')
      D:\Hise\AzrimuthTest\DspNetworks\Binaries\Source\azrimuth.h(307,9):
      see declaration of 'chain1_BackandFront_p'
      D:\Hise\AzrimuthTest\DspNetworks\Binaries\Source\azrimuth.h(315,9):
      the template instantiation context (the oldest one first) is
      D:\Hise\AzrimuthTest\DspNetworks\Binaries\Source\Main.cpp(30,3):
      see reference to function template instantiation 'void scriptnode::dll::StaticLibraryHostFactory::registerPolyNode<scriptnode::wrap::node<azrimuth_impl::instance<1>>,scriptnode::wrap::illegal_poly<scriptnode::wrap::node<azrimuth_impl::instance<1>>>>(void)' being compiled
      D:\HiseCompile\HISE\hi_dsp_library\node_api\nodes\OpaqueNode.h(422,4):
      see reference to function template instantiation 'void scriptnode::dll::StaticLibraryHostFactory::registerNode(void)' being compiled
      with
      [
      T=scriptnode::wrap::node<azrimuth_impl::instance<1>>
      ]
      D:\HiseCompile\HISE\hi_dsp_library\node_api\nodes\OpaqueNode.h(441,14):
      see reference to class template instantiation 'scriptnode::wrap::node<azrimuth_impl::instance<1>>' being compiled
      D:\HiseCompile\HISE\hi_dsp_library\node_api\nodes\processors.h(1678,36):
      see reference to class template instantiation 'azrimuth_impl::instance<1>' being compiled
      D:\Hise\AzrimuthTest\DspNetworks\Binaries\Source\azrimuth.h(266,2):
      while compiling class template member function 'azrimuth_impl::instance<1>::instance(void)'
      D:\HiseCompile\HISE\hi_dsp_library\node_api\nodes\processors.h(1714,6):
      see the first reference to 'azrimuth_impl::instance<1>::instance' in 'scriptnode::wrap::node<azrimuth_impl::instance<1>>::node'
      D:\HiseCompile\HISE\hi_dsp_library\node_api\nodes\prototypes.h(232,33):
      see the first reference to 'scriptnode::wrap::node<azrimuth_impl::instance<1>>::node' in 'scriptnode::prototypes::static_wrappers::create'
      with
      [
      T=scriptnode::wrap::node<azrimuth_impl::instance<1>>
      ]
      D:\HiseCompile\HISE\hi_dsp_library\node_api\nodes\OpaqueNode.h(142,10):
      see the first reference to 'scriptnode::prototypes::static_wrappers::create' in 'scriptnode::OpaqueNode::create'
      with
      [
      T=scriptnode::wrap::node<azrimuth_impl::instance<1>>
      ]
      D:\HiseCompile\HISE\hi_dsp_library\node_api\nodes\OpaqueNode.h(443,45):
      see the first reference to 'scriptnode::OpaqueNode::create' in 'scriptnode::dll::StaticLibraryHostFactory::registerNode'
      D:\HiseCompile\HISE\hi_dsp_library\node_api\nodes\OpaqueNode.h(422,4):
      see the first reference to 'scriptnode::dll::StaticLibraryHostFactory::registerNode' in 'scriptnode::dll::StaticLibraryHostFactory::registerPolyNode'

      !D:\Hise\AzrimuthTest\DspNetworks\Binaries\Source\azrimuth.h(315,9): error C2086: 'scriptnode::parameter::chain<scriptnode::ranges::Identity,scriptnode::parameter::from0To1<scriptnode::core::gain<1>,0,azrimuth_impl::chain1_t_parameters::BackandFront_0Range>,scriptnode::parameter::from0To1_inv<scriptnode::filters::FilterNodeBase<hise::MultiChannelFilterhise::StaticBiquadSubType,1>,2,azrimuth_impl::chain1_t_parameters::BackandFront_1Range>,scriptnode::parameter::from0To1<scriptnode::filters::FilterNodeBase<hise::MultiChannelFilterhise::StaticBiquadSubType,1>,2,azrimuth_impl::chain1_t_parameters::BackandFront_2Range>,azrimuth_impl::chain1_t_parameters::BackandFront_3,scriptnode::parameter::from0To1_inv<scriptnode::core::gain<1>,0,azrimuth_impl::chain1_t_parameters::BackandFront_4Range>> &chain1_BackandFront_p': redefinition [D:\Hise\AzrimuthTest\DspNetworks\Binaries\Builds\VisualStudio2022\Roots_DynamicLibrary.vcxproj]
      (compiling source file '../../Source/Main.cpp')
      D:\Hise\AzrimuthTest\DspNetworks\Binaries\Source\azrimuth.h(307,9):
      see declaration of 'chain1_BackandFront_p'

      !D:\Hise\AzrimuthTest\DspNetworks\Binaries\Source\azrimuth.h(315,9): error C2371: 'chain1_BackandFront_p': redefinition; different basic types [D:\Hise\AzrimuthTest\DspNetworks\Binaries\Builds\VisualStudio2022\Roots_DynamicLibrary.vcxproj]
      (compiling source file '../../Source/Main.cpp')

      This error popped up during compile dsp as dll
      Please help

      1 Reply Last reply Reply Quote 0
      • N
        NISHI_MUSIC
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • N
          NISHI_MUSIC
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • N
            NISHI_MUSIC
            last edited by

            It worked guys i figured it out. i changed the routing method(used smoothed_parameter node instead of using direct routing from the random value gen)
            so Happy 😊👍

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

            10

            Online

            2.1k

            Users

            13.2k

            Topics

            114.3k

            Posts