Installing Samples Dialog....
-
-
@d-healey well done - thanks.. I take it now I can say:
HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=1
HISE_SAMPLE_DIALOG_SHOW_LOCATE_BUTTON=0to get what Im looking for...?
-
@Lindon Yeah.
-
@d-healey great thanks mate you're a life saver....
-
When these are set both to zero and open the plugin, it creates a generic link in the app data folder. Is there anyway not for that linkWindows file to be created?
-
@coreyu21 self-made issue. Disregard
-
@d-healey -- sorry Dave - no go, just tried it :
HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=1
HISE_SAMPLE_DIALOG_SHOW_LOCATE_BUTTON=0--and I get no sample install interface showing up...
and the LinkWindows has this in it:
C:\Users\Lindon\Documents\Channel Robot\Atmosia2\Samples
I put these preprocess statements in the windows and mac areas...
-
Works for me. Did you clear out old intermediate files before building? And any old config files?
-
@d-healey well I only know to remove this folder completely...:
C:\Users\Lindon\AppData\Roaming\Channel Robot\Atmosia2
..which I did...
Is there something in the HISE build I need to remove?
-
@Lindon The "Builds" folder itself
-
Delete everything in the project's Binaries folder.
-
@d-healey Nope that made no differnce...
So I deleted everything from the Binaries folder, removed the
C:/User/Lindon/AppData/Roaming/Channel Robot/Atmosia2 folder
put this in the Extra Definitions Windows section of the preferences
HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=1
HISE_SAMPLE_DIALOG_SHOW_LOCATE_BUTTON=0Compiled the stand alone.
Started the stand alone- It asked me (correctly) for my serial number...
- gave it my serial number
- and it opened into the interface bypassing the sample load process...
Interestingly(or not)
when I say this:
HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=1
-- I get BOTH buttons (which I think is probably correct)
when I say this
HISE_SAMPLE_DIALOG_SHOW_LOCATE_BUTTON=0
-- I get nothing at all (which I think is also wrong..)
-
Did you recompile HISE? It sounds like the issue from the old version, before I added my fix.
-
@d-healey yep I did that this morning... and I'm pretty sure Im using your version:
-
@Lindon said in Installing Samples Dialog....:
I'm pretty sure Im using your version:
We better check that.
Look in
hi_backend/backend/ProjectTemplate.cpp
and see if this line is in thereHI_ENABLE_LEGACY_CPU_SUPPORT=%LEGACY_CPU_SUPPORT%\
-
@d-healey yep its there:
<CONFIGURATION name="Debug" isDebug="1" optimisation="1" linkTimeOptimisation="0"\r\n"
" targetName="%NAME%" defines="USE_IPP=%USE_IPP% HI_ENABLE_LEGACY_CPU_SUPPORT=%LEGACY_CPU_SUPPORT%" headerPath="%IPP_HEADER%" libraryPath="%IPP_LIBRARY%"/>\r\n"
" <CONFIGURATION name="Release" isDebug="0" optimisation="3" linkTimeOptimisation="1"\r\n"
" targetName="%NAME%" defines="USE_IPP=%USE_IPP% HI_ENABLE_LEGACY_CPU_SUPPORT=%LEGACY_CPU_SUPPORT%" headerPath="%IPP_HEADER%" libraryPath="%IPP_LIBRARY%"/>\r\n"
" </CONFIGURATIONS>\r\n" -
@Lindon Well I'm not sure why it's not working. I'm testing on my GNU/Linux machine so it could be an OS difference. I'll test on my Windows machine later today.
-
OK I made a completely new blank project
-
added a single set of samples in a single sample map
-
made the ch1 file
-
made the hr1 file
-
put a keyboard on the UI (so it might play)
-
put this in the extensions
HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=1
HISE_SAMPLE_DIALOG_SHOW_LOCATE_BUTTON=0- compiled it:
- ran it , and got this:
So its failing to run the sample install process here too - so its nothing tho do with my (complicated) project..
-
-
@d-healey OK ..
Anyone else want to test this version on Windows?
In fact anyone tested it on MacOS?
-
I just tested on Windows and it works. So I think something went wrong when you built HISE. You can test by seeing if some of the scripting commands I added work for you, for example
effect.isBypassed();
HiseSnippet 794.3oc0V0saSCCE1tsdhVXSLDBAhah1UsRipTXafzDhR+CUAaqiNl3tIOG2Uq4ZGbbFTgfq48iWDdC.6jrlTnqLpDHVtpm+b+Nmy24X2SIIzf.oB.KdvXeJ.dCT+wB8vlCwLAnaK.bEzN3.MU4DqpwXebP.0C.g4egUArXAPz22dVCLGKHzTU.vgRFg9J1HlNUau5ujw4cvdzCXix38F06Rj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