Forum

    • Register
    • Login
    • Search
    • Categories

    Suddenly 2 errors when compiling plugin

    General Questions
    3
    9
    131
    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.
    • ulrik
      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 13, Xcode 14.0.1
      http://musikboden.se

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

        Ooops, sorry about that, should be fixed now.

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

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

          Hise Develop branch
          MacOs 13, Xcode 14.0.1
          http://musikboden.se

          d.healey 1 Reply Last reply Reply Quote 0
          • d.healey
            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 Hart
              Christoph Hart last edited by

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

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

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

                Hise Develop branch
                MacOs 13, Xcode 14.0.1
                http://musikboden.se

                1 Reply Last reply Reply Quote 0
                • ulrik
                  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 13, Xcode 14.0.1
                  http://musikboden.se

                  d.healey 1 Reply Last reply Reply Quote 0
                  • d.healey
                    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
                    • ulrik
                      ulrik last edited by

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

                      Hise Develop branch
                      MacOs 13, Xcode 14.0.1
                      http://musikboden.se

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

                      5
                      Online

                      1.2k
                      Users

                      7.0k
                      Topics

                      64.8k
                      Posts