Installing Samples Dialog....
-
OK so I got around to trying this... and no no no no no NO NO! surely I have this wrong and I'm making some silly mistake in implementing this -----
As far as I can see I can have:
-
both buttons: (dont put anything in the extra definitions..)
-
Just the locate button: (put HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=0 in the extra definitions)
-
Have no buttons and no dialog at all: (put HISE_SAMPLE_DIALOG_SHOW_LOCATE_BUTTON=0 in the extra definitions)
- Anyone see my dilemma?
I have a bunch of users who are getting confused when there are two buttons on show - they keep pressing the LOCATE button when I want them to press the INSTALL button - this generates a bunch of support calls.....
So I want to be able to show them just the INSTALL button...and that's not an option listed above...
I've tried a bunch of things e.g.:
HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=1
HISE_SAMPLE_DIALOG_SHOW_LOCATE_BUTTON=0but I cant get anything to do what I need, someone please please tell me I'm making a silly mistake and its not been implemented this way?
-
-
@Lindon said in Installing Samples Dialog....:
HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=1
HISE_SAMPLE_DIALOG_SHOW_LOCATE_BUTTON=0I thought that would work, I'll test it later.
-
Yep, it doesn't work. I'll take a look in the source and see if it's something I can fix
-
-
@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.