HISE Logo Forum
    • Categories
    • Register
    • Login

    Suddenly 2 errors when compiling plugin

    Scheduled Pinned Locked Moved General Questions
    9 Posts 3 Posters 299 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.
    • ulrikU
      ulrik
      last edited by ulrik

      I've been working on a project a couple of hours today, and it compiles nicely in Hise but when I export it as plugin (vst3 & au) I get 2 critical errors and I can't figure out what's causing them, anybody?

      ❌  /Users/ulrikboden/Music/Hise/HISE-scriptnode/hi_scripting/scripting/api/ScriptingApi.cpp:2531:4: use of undeclared identifier 'SampleImporter'; did you mean 'SampleDataImporter'?
      
                              SampleImporter::loadAudioFilesUsingDropPoint(nullptr, s, list, rootNotes);
                              ^~~~~~~~~~~~~~
      
      
      
      ❌  /Users/ulrikboden/Music/Hise/HISE-scriptnode/hi_scripting/scripting/api/ScriptingApi.cpp:2531:20: no member named 'loadAudioFilesUsingDropPoint' in 'hise::SampleDataImporter'
      
        
      

      and terminal ends with this message:

      The following build commands failed:
      	CompileC build/Guerrini\ Accordion.build/Release/Guerrini\ Accordion\ -\ Shared\ Code.build/Objects-normal/x86_64/include_hi_scripting_01.o /Users/ulrikboden/Music/Hise/Guerrini\ Accordion/Binaries/JuceLibraryCode/include_hi_scripting_01.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
      (1 failure)
      Compiling finished. Cleaning up...
      

      Hise Develop branch
      MacOs 15.3.1, Xcode 16.2
      http://musikboden.se

      1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart
        last edited by

        Ooops, sorry about that, should be fixed now.

        ulrikU 1 Reply Last reply Reply Quote 1
        • ulrikU
          ulrik @Christoph Hart
          last edited by

          @Christoph-Hart new scriptnode code failed compiling Hise, Xcode stopped trying after 24 errors

          Hise Develop branch
          MacOs 15.3.1, Xcode 16.2
          http://musikboden.se

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

            @ulrik Did you resave the jucer file?

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

            1 Reply Last reply Reply Quote 1
            • Christoph HartC
              Christoph Hart
              last edited by

              Hmm, works here, just checked in macOS. Can you post the error messages?

              ulrikU 1 Reply Last reply Reply Quote 1
              • ulrikU
                ulrik @Christoph Hart
                last edited by

                @Christoph-Hart hmm...I'll try again

                Hise Develop branch
                MacOs 15.3.1, Xcode 16.2
                http://musikboden.se

                1 Reply Last reply Reply Quote 0
                • ulrikU
                  ulrik
                  last edited by ulrik

                  @Christoph-Hart it compiled fine now. :)
                  @d-healey No you're right, I didn't resave the juce file, I usually just hit the "Save and open in IDE"- button
                  Skärmavbild 2019-09-07 kl. 23.45.52.png

                  but this time I made an ordinary "Cmd + S" first, is it a difference?

                  Hise Develop branch
                  MacOs 15.3.1, Xcode 16.2
                  http://musikboden.se

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

                    @ulrik No that's the same as far as the saving goes. Although if you didn't reopen the project in xcode it might not work correct, I'm not sure.

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

                    1 Reply Last reply Reply Quote 0
                    • ulrikU
                      ulrik
                      last edited by

                      @Christoph-Hart @d-healey Yes now I could compile the plugin, thank you! :)

                      Hise Develop branch
                      MacOs 15.3.1, Xcode 16.2
                      http://musikboden.se

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

                      57

                      Online

                      1.7k

                      Users

                      11.7k

                      Topics

                      101.8k

                      Posts