[Feature request] Disable export options in HISE precompiled binaries
-
I'm seeing an increase in the number of users coming to HISE through the precompiled binaries and then getting confused by not being able to export. Disabling the export options, or better providing a link to some documentation explaining the situation would I think be very helpful and less confusing for newcomers in this situation.
-
@d-healey Ha yeah I thought about this too. I think it should throw an error if you don't have source code path configured in settings, and it shouldn't let you build a plugin with an IPP flag if HISE isn't built with an IPP flag.
-
Yes, I noticed that too. I was actually thinking about a solution for this problem, because 99% of the people run into the same 4-5 problems and it starts to get very noisy in the forum since that Youtube video came out :)
What if we add a export setup wizard that will check that all things are correctly setup? It's not too much to check:
- is the IDE installed?
- on Windows: is IPP installed (or the UseIPP flag is disabled)?
- on macOS: is xcpretty installed? Is xcodebuild available to the user?
- is the HISE path set? Is the HISE source code the exact version that was used for compiling the HISE version?
- is Faust configured properly?
- Can the projucer be executed?
- are the SDKs extracted properly?
I'm sure there are a few other things that people get stuck with so if I missed something feel free to add this, but I think this will cover the majority of issues people are having with the compilation.
Then we can deactivate the export until the setup wizard has been run at least once and put this as first item in the Export menu.
-
@Christoph-Hart another check from a recent thread:
- check if the visual studio setting matches the installed version.
-
Alright, I've pushed a setup wizard that checks the points above.
Everybody needs to run this at least once before exporting a project. If you're already setup the compiler toolchain you can skip to the end of the dialog and press Finish, then it will write the flag into the settings file and not bother you again.
Any feedback is welcome - I tested it on a vanilly Window machine and on my macOS system.
BTW, this dialog was created completely with the API for the multipage dialog in HiseScript (with the checks being implemented in C++).
-
@Christoph-Hart
Nice!
Wen't through the process quite smoothly, but after completing everything the Settings flag (Export Ready) for unlocking the Export options is not set (+ existing in settings), and export & compilation therefore locked. (even after restart).Additionally:
- IPP link in help popup not working.
- Clicking on the question mark icon again to close popup, would flow better
- Wording: Instead of "Checking.xy.." the wording could be sth like "IPP installed" or "Hise Path Set" to foreground state instead of process.
GDo
-
@Christoph-Hart It doesn't detect that I have HISE source properly set up. The checkmark remains red, even though I have it cloned and pointed to it. It's F:/HISE/HISE Source/, I don't know if path name might have anything to do with it.
It also won't let me skip it for DSP Network compile. If I open it and press skip, then press DSP Compile again, it pops up a warning that the wizard hasn't finished, and if I click cancel, nothing happens.
Latest commit, Win11.
-
@aaronventure Weird, it literally only checks if the HisePath setting in the HISE preferences is not empty.
What happens if you run the dialog as a script? I've added a HISE project that will contain all dialogs here:
https://github.com/christophhart/HISE/tree/develop/extras/hise_dialogs
Just load that project, then load XmlPresetBackups/ExportWizard.xml and navigate to the third page. The console should dump the entire state including the HisePath.
-
@Christoph-Hart I'm also having problems with the HISE Path checkbox. It's correct in my project settings but not checked in the wizard. The hise_dialogs project gives me an empty string for HisePath. It doesn't work when I try to skip it either... this is also on DSP Network compilation, haven't tried the plugin yet.
-
@Christoph-Hart I also have problems with the Hise path checkbox, I can't select it and can not come further with compiling plugins, I have not checked with standalone yet, but I guess that would make no difference.
-
@Christoph-Hart I dowloaded the latest Hise develop and it solved the problem, I can export now