"HISE path not set" error in Win batch compile script
-
@d-healey Removing the code to generate the vst3, managed to compile the standalone app.
Unfortunately, this process is worse than manual
@Christoph-Hart Am I correct to conclude that compiling using CI mode does not handle any spaces in the path folder names and perhaps in the project name?
I'll have to rename my folders to exclude spaces to see if that does the trick.
-
@gorangrooves said in "HISE path not set" error in Win batch compile script:
Am I correct to conclude that compiling using CI mode does not handle any spaces in the path folder names and perhaps in the project name?
The commandline won't work with spaces unless they are quoted or escaped.
-
Yeah I‘m also always messing up the paths with whitespaces in my scripts. The good news is that once you‘ve got the script working it‘s a breeze until you come back to it a few months later and something broke :)
-
@Christoph-Hart I hope that I can get away with just making the folder paths without white space.
Changing project XML will require me to change the main container in the project, which will require me to change all references to it. Compiled plugins would also be affected, as will all my installer projects.@d-healey As I demonstrated above, quotes won't work, as part of the script works with them, then the other part works without them. It is impossible to run the script completely with or without the quotes if there are white spaces in the folder path. (I hope it is only the folder path white spaces....)
-
@gorangrooves said in "HISE path not set" error in Win batch compile script:
hope that I can get away with just making the folder paths without white space.
Did you try escaping the spaces?
-
@d-healey let me try
-
@d-healey No, that doesn't work either. The CMD uses ^ to escape, but is not being read by anything else, so that didn't work.
What can of worms did I open?... -
@gorangrooves Can you send me the project?
-
@d-healey Yes. I'll pack it up and dm you.
-
@gorangrooves Ok, I'll take a look tomorrow
-
@d-healey Alright. Removing white spaces from the folder paths fixed the issues. I left the project name unchanged. The app compiled with only the app compiling directive in the script. I will re-introduce the VST3 portion of the script and see if it all works as it should.
-
@d-healey YES! That worked. Now to add regular vst and AAX.
-
@gorangrooves Excellent, no need for me to do anything then :)
-
@d-healey Success. Managed to compile AAX and VST2 just as well. Thank you, Dave, and thank you, Christoph!