Installing Samples Dialog....
-
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.
-
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?