Installing Samples Dialog....
-
Do I have to build Hise from source in order to remove the "Install Samples" button or can it be set before the VST export? And if it can be set before the export - how? I've added the line of code as @Christoph-Hart mentioned but it doesn't seem to do anything...
-
@tomekslesicki Yes you'll need to rebuild from source
-
@d-healey Great, thanks!
-
Ok, I've added the "installSampleButton->setVisible(false);" under line 50 in the hi_components > plugin_components > FrontendBar.cpp and built Hise from source again, but the button is still there. What am I not getting?
-
@tomekslesicki Is your project pointing to the correct HISE source code?
-
@d-healey Yeah, it is. I've just double checked, built Hise again, checked then, tried to export and the button is still there :-(
-
I've added a few compiler flags that decide what dialog to show. Just put these two in the Extra Definitions Windows / OSX properties of your project before compiling:
// If you want to hide the install button HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=0 // If you want to bypass the entire thing and use a default location for the samples HISE_SAMPLE_DIALOG_SHOW_LOCATE_BUTTON=0
-
@Christoph-Hart said in Installing Samples Dialog....:
I've added a few compiler flags that decide what dialog to show. Just put these two in the Extra Definitions Windows / OSX properties of your project before compiling:
// If you want to hide the install button HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=0 // If you want to bypass the entire thing and use a default location for the samples HISE_SAMPLE_DIALOG_SHOW_LOCATE_BUTTON=0
Tried that and still doesn't work :-(
-
@tomekslesicki Did you rebuild HISE using the latest version from GitHub today?
-
And you need to make sure that HISE uses this source code for compilation (in this case rebuilding HISE doesn‘t make a difference)
-
I've re-downloaded the Hise source code, re-compiled, added the code to the project, exported again and the button is still there. He's a tough one, that's for sure!
-
@tomekslesicki said in Installing Samples Dialog....:
added the code to the project
Could you clarify what you mean? Just so I understand the situation better.
-
@tomekslesicki said in Installing Samples Dialog....:
HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=0
Sure! I meant I've added the "HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=0" line to Extra Definitions:
-
@tomekslesicki Have you pointed the project to the correct version of the HISE source code?
-
@d-healey Yup, the one I've built from - downloaded from github, as you've suggested.
-
Well I'm out of ideas... I haven't tested it myself yet.
-
@d-healey Did you get the "installSampleButton->setVisible(false);" thing to work, though? It doesn't work here either, unfortunately, but maybe you've succeeded with that?
-
@tomekslesicki I haven't tried it yet. Next time I compile a plugin I'll test it.
-
Ok, thanks! @dustbro , could you please share how you did it?
-
@tomekslesicki Do you use Windows or Mac?