Suddenly 2 errors when compiling plugin
-
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...
-
Ooops, sorry about that, should be fixed now.
-
@Christoph-Hart new scriptnode code failed compiling Hise, Xcode stopped trying after 24 errors
-
@ulrik Did you resave the jucer file?
-
Hmm, works here, just checked in macOS. Can you post the error messages?
-
@Christoph-Hart hmm...I'll try again
-
@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
but this time I made an ordinary "Cmd + S" first, is it a difference?
-
@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.
-
@Christoph-Hart @d-healey Yes now I could compile the plugin, thank you! :)