HISE Build Fail (Scriptnode 22nd Oct Standalone) (SOLVED)
-
@ustk Haven't you guys watched my git video yet :p
If you redownload from github manually then extract the zip over your existing HISE folder and choose to replace existing files things might get messed up. It is better to delete/rename your existing HISE folder first and start fresh.
-
@d-healey <- he's right. What I do is;
- rename my HISE folder to HISE_old_VXXX
- Download the latest from github
- extract the zip
- Compile
and so far no problems wiht that appraoach...(apart from my typing...)
-
@Dlukas7 I do exactly as Lindon says, and I successfully built Hise with code from today.
MacOS Mojave Xcode 10.1 -
@d-healey Weird. I've tried a repair install on IPP but still, the same errors and the build failed.
It usually works the same way as I've done it this time.
I just downloaded the new HISE Scriptnode branch folder from github, made a new folder on my hard drive so that it's separate from the old build, copied the stk files into tools, and then build from the new projucer file.
I'm always wary about totally uninstalling the old version from my system before putting the new one on in case something goes wrong like this and I can't get it to reinstall for any reason, as I'm still on MacOS High Sierra and Xcode 8.
Is that what I need to do then? Totally remove all traces of the old HISE build from the folder, and from the applications and application support folders before installing this one?
-
@SteveRiggs Is that what I need to do then? Totally remove all traces of the old HISE build from the folder, and from the applications and application support folders before installing this one?
Well there isn't really an install process for HISE. You download a folder from github and you build HISE in there. If you then copy it to Applications that's a separate copy not a shortcut (if I understand Mac OS correctly). So when you get the newer version you just need to rename/delete the previous source code file you downloaded from github, you can also remove the file you copied to Applications if you want but it's not necessary for building the latest.
-
@d-healey Sorry my bad, I meant compile not install :p
It looks like its just an old version 1.6 that's in the applications folder. I must have put that there when I first built it months ago. I usually just build in the actual folder and make a shortcut/alias in the dock on the macs desktop and run from that.
I'm slightly confused where the source code is/needs copying to or renaming though. In the HISE downloads section on the website where it says "Download HISE Source Code" it takes me to a github page that hasn't been updated since 23rd May 2019 which is the master branch. Surely thats not it as it's the new scriptnode branch I need?
I have 3 folders now in my HISE folder with the new one from yesterday that I downloaded. I was just trying to build that one from fresh inside the highlighted folder on the screenshot. Where would the source code be located? Is it outside of this folder somewhere? Sorry about this.
I spotted a HISE folder in the application support folder but not sure if anything in there needs changing?
-
@SteveRiggs
https://www.youtube.com/watch?v=zeLeCSNh0XMHow do you make a shorcut to HISE in MacOS?
-
@d-healey Very strange. That's the exact video I follow every time I do a new build. Same process this time.
I understand now that the folder is actually the source code.
That should work then but I'm still getting the same errors and a failed build. I've tried with both Universal Binary (32/64-bit) and also 64bit intel but get the same errors with both.
I also just tried renaming the old build folder before attempting the new build. Still no good :(
-
@d-healey To make an alias/shortcut I just right click on the HISE icon in the MacOSX/build/Release folder and go to 'make alias' and then drag and drop that onto the dock and rename it
-
Are you sure that you are opening the new .jucer file and not the old one? By default projucer opens that last opened .jucer file.
-
Yeah, I went to 'new project' in projucer, then 'open existing project', and chose the 'HISE Standalone.jucer' file from the newly downloaded source code folder.
Then I go to 'Save Project and Open in IDE' and it opens Xcode.
I notice when Xcode opens though, the last failed build is still there with all of the errors.
It does say it's indexing the files and the progress bar goes along like it's reading the new file but then once it's done it still has the failed build and errors there in the top bar and side panel. Should that be happening? Surely it should refresh? When I try and build it still fails every time.
-
@SteveRiggs I'm not sure, I don't know enough about xcode. If you've deleted/renamed the old source code folder though then I don't think xcode could still be loading it, unless it has some weird cache thingy.
Does the newly downloaded jucer file have all the correct paths and flags setup for IPP? I use git pull so I rarely have to check this myself.
-
It looks as if the IPP paths are right, and the path in Xcode looks like it's coming from the new source code folder.
I've also renamed the old source code folder temporarily but it's still failing
-
I also just tried deleting the new source code folder and redownloading a fresh one. Still the same errors though and failed to build.
-
I'm out of ideas for now, could be to do with the version of xcode...
-
hmm, I remember @ulrik had the same compile errors a few weeks back but he was able to resolve it somehow. It had definitely have something to do with cached files and XCode project settings.
It definitely builds on Xcode 8.3.2 (my build server uses this old version).
-
@d-healey No probs mate. Cheers for all the help anyway.
@Christoph-Hart It is weird. The last scriptnode version from 7th Oct built perfectly first time using Xcode 8.
I wonder how I clear the cached files in Xcode then or get the settings correct. I'll have another look now...
-
@Christoph-Hart It always seems to fail when it gets to 'compiling 12 of 146 source files'... if that means anything at all?
-
-
Huh? Why is it compiling 146 source files? It's only 73 source files here :)
Definitely some weird glitch...