HISE Logo Forum
    • Categories
    • Register
    • Login

    Error compiling HISE plugin

    Scheduled Pinned Locked Moved General Questions
    4 Posts 2 Posters 105 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.
    • toxonicT
      toxonic
      last edited by

      Hello forum,
      i managed to build the HISE standalone app of the latest dev-branch but get en error message when trying to compile the HISE plugin (AMD 64 / Linux Mint 20.3).
      it says:

      ../../../../../HISE-develop/hi_backend/../hi_modules/../hi_scripting/scripting/api/ScriptingApiContent.h:2221:8: error: declaration of ‘using ScreenshotListener = struct hise::ScreenshotListener’ changes meaning of ‘ScreenshotListener’ [-fpermissive]
       2221 |  using ScreenshotListener = ScreenshotListener;
            |        ^~~~~~~~~~~~~~~~~~
      In file included from ../../../../../HISE-develop/hi_backend/../hi_modules/../hi_scripting/hi_scripting.h:122,
                       from ../../../../../HISE-develop/hi_backend/../hi_modules/hi_modules.h:57,
                       from ../../../../../HISE-develop/hi_backend/hi_backend.h:55,
                       from ../../Source/../JuceLibraryCode/JuceHeader.h:17,
                       from ../../Source/PluginProcessor.h:14,
                       from ../../Source/PluginProcessor.cpp:13:
      ../../../../../HISE-develop/hi_backend/../hi_modules/../hi_scripting/scripting/api/ScriptingGraphics.h:37:8: note: ‘ScreenshotListener’ declared here as ‘struct hise::ScreenshotListener’
         37 | struct ScreenshotListener
            |        ^~~~~~~~~~~~~~~~~~
      make: *** [Makefile:248: build/intermediate/Release/PluginProcessor_a059e380.o] Fehler 1
      

      Any ideas on how to avoid that?

      1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey
        last edited by

        Add the -fpermissive flag or use my fork (development branch) which definitely compiles on Linux Mint. https://github.com/davidhealey/HISE/tree/development

        Also use gcc/c++ 8, 9, 10, or 11 because HISE won't compile with 12.

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        toxonicT 1 Reply Last reply Reply Quote 1
        • toxonicT
          toxonic @d.healey
          last edited by

          @d-healey said in Error compiling HISE plugin:

          Add the -fpermissive flag

          Great, that worked fine! :) Thank you so much!

          d.healeyD 1 Reply Last reply Reply Quote 1
          • d.healeyD
            d.healey @toxonic
            last edited by

            @toxonic It was in the error message you posted ;)

            45ffbe1b-d9b3-4926-981e-9739f5c36e30-image.png

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

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

            56

            Online

            1.7k

            Users

            11.7k

            Topics

            101.7k

            Posts