Installing Samples Dialog....
-
@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?
-
I'm on Windows 10
-
@tomekslesicki Ok, that issue can be about caches. Sometimes Windows stuck on old versions. You might need to clear the cache before compiling new Hise versions.
-
Open "C:\Users\YourUserName\AppData\Roaming" folder and delete Projucer and Hise folders.
-
Re-download the new Hise version, don't rebuild on the old one.
-
Also rename your "Hise-scriptnode" folder with a small modification, for example "Hise-scriptnode_"
-
Then re-build Hise again. Then rebuild your plugin. If the new flag works, it should work.
-
-
I just tested and it works as expected on my system.
-
We solved that via PM and Tomek is about to discover all the new things in scriptnode :)
-
Ok, Christoph pointed out that I shouldn't have downloaded the main Hise files but rather this branch: https://github.com/christophhart/HISE/tree/scriptnode After compiling, it works great :-) Thanks for help, everyone, I'm still getting my feet wet with this and your patience is nothing short of awesome!