HISE Build Fail (Scriptnode 22nd Oct Standalone) (SOLVED)
-
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...
-
@d-healey Cheers dude. I just tried all of those now but still no luck. Same errors and failed build :(
@Christoph-Hart That's a bit strange. I've downloaded it 3 times now and given it a new folder each time so it shouldn't be reading anything from anywhere else? It always says 146
-
@SteveRiggs Record the whole process outlined by Lindon and post it so we can look for any problems.
-
@d-healey Ok. Just uploading now....
-
-
Do you have this in the extra linker flags?
/opt/intel/ipp/lib/libippi.a /opt/intel/ipp/lib/libipps.a /opt/intel/ipp/lib/libippvm.a /opt/intel/ipp/lib/libippcore.a
-
@SteveRiggs There is 2 strange things in the video
- In Juce you have "OSX Architecture" on Universal Binary (32/64-bit) and that will not work 'cause OSX only accept 64 bit now
- It's strange that in Juce, the ipp settings are enabled because when you open a fresh Hise project you should open it with Projucer that are in the "Tools" folder inside the same Hise project that you are opening, and the default settings for ipp is "disabled".
So make sure to open the fresh Hise source code with with Projucer from inside the same source code.
-
@ulrik I've tried it on both 64 bit and 32/64 bit dude but get the same failed build and errors. I'm on Xcode 8 and Mac OSX High Sierra so 32/64 bit should still work. It has every other time I've built previous versions.
It's definitely the new projucer file I'm opening as well. I've opened it both from double-clicking on the 'HISE Standalone.jucer' file inside the 'projects/standalone/builds' folder itself, and also from opening the 'Projucer' file in tools. Same results each time.
I need the IPP setting enabled. A couple of times it has opened up as blank or disabled and I've had to change it to enabled manually. Very weird.
@d-healey I do have some IPP code in this bit below:
Should that code you just put be added too? I can't see anywhere that says 'extra linker flags' anywhere? Could it be here?..
-
This is what mine looks like, you need to check under the Xcode section, not the Release or Debug part.
The universal binary should work fine on your version of MacOS.
Ulrik is correct about the IPP, this is disabled by default in the hi_core section (I just downloaded the latest from github to check) so it's strange that it's showing as enabled in the video.
-
Also, where did you get that version of Projucer? The one that's in the scriptnode folder is 5.4.3.
-
@d-healey Ah yes, thats already in the Xcode section.
It is weird about the IPP 'enabled' part. I did have to change it to enabled myself manually a couple of times but it opens up with it already enabled every time now.
I've just checked the location in the hi-core section and it says its coming from the correct folder.