Forum
    • Categories
    • Register
    • Login

    Compilation errors, Unable to export VST3, simple css, Renderer.h

    Scheduled Pinned Locked Moved Solved Bug Reports
    2 Posts 1 Posters 34 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.
    • griffinboyG
      griffinboy
      last edited by griffinboy

      Latest Hise Build, Juce 6.
      I am unable to export to VST3 on Windows.

      f75b2784-43cc-4838-93a4-ef35dcb33649-image.png

      Full Console:

      Re-saving file: D:\Projects\Hise Projects\Griffin_Test\Binaries\AutogeneratedProject.jucer
      Finished saving: Visual Studio 2026
      Finished saving: Xcode (macOS)
      Finished saving: Xcode (iOS)
      Finished saving: Linux Makefile
      Compiling 64bit FX plugin Griffin_Test ...
      MSBuild version 18.3.0-release-26070-10+3972042b7 for .NET Framework
      
        Plugin.cpp
        PresetData.cpp
        factory.cpp
      D:\Projects\HISE-develop\hi_tools\simple_css\Renderer.h(333,4): error C2872: 'Rectangle': ambiguous symbol [D:\Projects
      \Hise Projects\Griffin_Test\Binaries\Builds\VisualStudio2026\Griffin_Test_SharedCode.vcxproj]
        (compiling source file '../../../AdditionalSourceCode/nodes/factory.cpp')
            C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\wingdi.h(4639,24):
            could be 'BOOL Rectangle(HDC,int,int,int,int)'
            D:\Projects\HISE-develop\JUCE\modules\juce_graphics\geometry\juce_Rectangle.h(66,7):
            or       'juce::Rectangle'
            D:\Projects\HISE-develop\hi_tools\simple_css\Renderer.h(333,4):
            the template instantiation context (the oldest one first) is
                D:\Projects\HISE-develop\hi_tools\simple_css\Renderer.h(365,95):
                see reference to function template instantiation 'juce::Rectangle<float> hise::simple_css::Positioner::slice<
        hise::simple_css::Positioner::Direction::Top>(const juce::Array<hise::simple_css::Selector,juce::DummyCriticalSection
        ,0> &,float)' being compiled
      
      D:\Projects\HISE-develop\hi_tools\simple_css\Renderer.h(333,14): error C2062: type 'float' unexpected [D:\Projects\Hise
       Projects\Griffin_SpringReverb\Binaries\Builds\VisualStudio2026\Griffin_Test_SharedCode.vcxproj]
        (compiling source file '../../../AdditionalSourceCode/nodes/factory.cpp')
      
      D:\Projects\HISE-develop\hi_tools\simple_css\Renderer.h(336,33): error C2065: 'copy': undeclared identifier [D:\Project
      s\Hise Projects\Griffin_Test\Binaries\Builds\VisualStudio2026\Griffin_Test_SharedCode.vcxproj]
        (compiling source file '../../../AdditionalSourceCode/nodes/factory.cpp')
      
      D:\Projects\HISE-develop\hi_tools\simple_css\Renderer.h(336,16): error C2530: 'toUse': references must be initialized [
      D:\Projects\Hise Projects\Griffin_Test\Binaries\Builds\VisualStudio2026\Griffin_Test_SharedCode.vcxproj
      ]
        (compiling source file '../../../AdditionalSourceCode/nodes/factory.cpp')
      
      D:\Projects\HISE-develop\hi_tools\simple_css\Renderer.h(337,37): error C3536: 'toUse': cannot be used before it is init
      ialized [D:\Projects\Hise Projects\Griffin_Test\Binaries\Builds\VisualStudio2026\Griffin_Test_SharedCod
      e.vcxproj]
        (compiling source file '../../../AdditionalSourceCode/nodes/factory.cpp')
      
      D:\Projects\HISE-develop\hi_tools\simple_css\Renderer.h(346,25): error C2672: 'hise::simple_css::Positioner::RemoveHelp
      ers::slice': no matching overloaded function found [D:\Projects\Hise Projects\Griffin_Test\Binaries\Builds\Visu
      alStudio2026\Griffin_Test_SharedCode.vcxproj]
        (compiling source file '../../../AdditionalSourceCode/nodes/factory.cpp')
            D:\Projects\HISE-develop\hi_tools\simple_css\Renderer.h(306,50):
            could be 'juce::Rectangle<float> hise::simple_css::Positioner::RemoveHelpers::slice(juce::Rectangle<float> &,floa
        t)'
                D:\Projects\HISE-develop\hi_tools\simple_css\Renderer.h(346,25):
                Failed to specialize function template 'juce::Rectangle<float> hise::simple_css::Positioner::RemoveHelpers::s
        lice(juce::Rectangle<float> &,float)'
                    D:\Projects\HISE-develop\hi_tools\simple_css\Renderer.h(346,25):
                    With the following template arguments:
                        D:\Projects\HISE-develop\hi_tools\simple_css\Renderer.h(346,25):
                        'D=hise::simple_css::Positioner::Direction::Top'
                    D:\Projects\HISE-develop\hi_tools\simple_css\Renderer.h(306,33):
                    'Rectangle': ambiguous symbol
                                 D:\Projects\HISE-develop\hi_tools\simple_css\Renderer.h(306,42):
                                  syntax error: missing ';' before '<'
      
                    Press any key to continue . . .
      

      Is this a bug, or something I've not set up correctly on my end?

      griffinboyG 1 Reply Last reply Reply Quote 0
      • griffinboyG griffinboy deleted this topic
      • griffinboyG griffinboy restored this topic
      • griffinboyG griffinboy marked this topic as a question
      • griffinboyG griffinboy has marked this topic as solved
      • griffinboyG
        griffinboy @griffinboy
        last edited by griffinboy

        @griffinboy

        Solved, it was me being silly. I checked and it was only certain projects that had the issue.
        After investigation I found what I had done wrong:

        #include <Windows.h>
        

        ^ I had used this line in my c++ nodes,
        And it happens that Windows.h has methods with the same naming as some of the Hise files, creating a conflict.

        The include was actually in a dsp file that I wasn't even using, which is how I missed it.
        But when Hise goes to compile as VST it runs every c++ dsp file, and so the error flagged.

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

        32

        Online

        2.2k

        Users

        13.4k

        Topics

        116.9k

        Posts