Develop branch build status
-
@d-healey Would you be able to give some build advice for Linux?
Here's where I'm at so far:- Starting from the ground up with a new system.
- Installed recommended dependencies.
- working with the latest Master branch (also tried develop)
- ran make CONFIG=Release
- got ipp error
../../../../../HISE/hi_backend/../hi_modules/../hi_scripting/../hi_sampler/../hi_components/../hi_dsp/../hi_core/../hi_tools/../hi_streaming/hi_streaming.h:69:10: fatal error: ipp.h: No such file or directory 69 | #include "ipp.h" | ^~~~~~~ compilation terminated.
- installed latest IPP (oneaip)
- re-targeted Extra Linker Flags in Projucer
That fixes the IPP issue.
Now when I run make CONFIG=Release, I get stuck at the next error:
make: *** No rule to make target '../../../../hi_scripting/scripting/scriptnode/ScriptNodeTestSuite.cpp', needed by 'build/intermediate/Release/ScriptNodeTestSuite_6b3f695a.o'. Stop.
A quick google search says the message means the file is missing. When I check the HISE folder, it's definitely not there.
Does any of this seem familiar to you? -
@dustbro said in Develop branch build status:
working with the latest Master branch (also tried develop)
I haven't built with IPP for years so I'm not familiar with any issues you might encounter with that.
I'm using the develop branch.
You need to add
-fpermissive
to the compile flags. -
@d-healey said in Develop branch build status:
I'm using the develop branch.
You need to add -fpermissive to the compile flags.Thanks for this! I added the flag and ditched IPP. Got way closer with Develop branch.
I'm getting an error with the -Wno-inconsistent-missing-override flag
At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-inconsistent-missing-override’ may have been intended to silence earlier diagnostics make: *** [Makefile:248: build/intermediate/Release/include_hi_dsp_library_01_6050d6b.o] Error 1
Is this flag needed?
-
That's not an error, that's a warning/note. The error will be further up in the terminal and will probably have the word error in red text (depending on the terminal you're using). I don't know if the flag is needed but I always leave it in.
-
@d-healey said in Develop branch build status:
That's not an error, that's a warning/note.
You are correct.
In file included from ../../../../../HISE/hi_dsp_library/hi_dsp_library_01.cpp:54, from ../../JuceLibraryCode/include_hi_dsp_library_01.cpp:9: ../../../../../HISE/hi_dsp_library/snex_basics/snex_DynamicType.cpp: In constructor ‘snex::VariableStorage::VariableStorage(snex::Types::ID, const juce::var&)’: ../../../../../HISE/hi_dsp_library/snex_basics/snex_DynamicType.cpp:21:50: error: conversion from ‘const juce::var’ to ‘int64_t’ {aka ‘long int’} is ambiguous 21 | data.p.data = reinterpret_cast<void*>((int64_t)value); | ^~~~~
-
@dustbro Oh it's that error again! I thought I'd fixed all those.
Use my development branch for now - https://github.com/davidhealey/HISE/tree/development - it's up to date with Christoph's develop branch plus a few extras from the new_layout branch.
-
@d-healey Thanks so much!
I don't see a jucer file in the standalone folder. Do I use the Makefile in the TravisCI folder? -
@dustbro Oh yeah I screwed up a commit and lost my jucer file :p just use the one from the develop branch and set it up as you had before with the
-fpermissve
flag etc. -
@d-healey You rock!
Success on this end. Thanks again for the help.I also took a chance and installed with the latest IPP. that worked as well. You just have to change the file paths like the pics above.
Now I have some novice Linux desktop questions for ya. Once HISE is compiled, where is the recommended folder to drop it in? I notice other apps use /opt
-
@dustbro The opt folder is for apps for all users, I only have one user on my system but I still prefer to keep my apps in the home folder, it also means I only have one location to backup. Some apps though seem to prefer the opt folder so I let those install where they want.
I added a hidden folder in my home folder called
apps
which is where I put executables. But in the case of HISE I leave it where it compiles it in the source code folder and add a shortcut to my menu, so when I recompile I don't have to go moving binaries or updating shortcuts again. -
@d-healey Excellent idea. Also, how do you change the app icon? The default "gear" icon is unnerving
-
@dustbro
Which desktop environment are you using?I just realised you meant the binary icon. No idea, I just leave it as is. I change the icon in my menu shortcut though. -
@dustbro This might help - https://www.maketecheasier.com/change-application-icon-from-terminal-linux/
-
@d-healey Beers on me the next time I'm in town.
-
Trying to get this going on my M1 Mac Mini.
BigSur 11.6
Xcode 12.4Hit some errors when compiling:
/Users/dan/Documents/GitHub/HISE/projects/standalone/JuceLibraryCode/include_hi_dsp_library_02.cpp:95:22: Aligned allocation function of type 'void *(std::size_t, std::align_val_t)' is only available on macOS 10.14 or newer
/Users/dan/Documents/GitHub/HISE/projects/standalone/JuceLibraryCode/include_hi_dsp_library_02.cpp:95:22: Aligned deallocation function of type 'void (void *, std::align_val_t) noexcept' is only available on macOS 10.14 or newer
/Users/dan/Documents/GitHub/HISE/projects/standalone/JuceLibraryCode/include_hi_dsp_library_02.cpp:201:13: Aligned deallocation function of type 'void (void *, std::align_val_t) noexcept' is only available on macOS 10.14 or newer
Added this complier flag recommended on JUCE forums:
-fno-aligned-allocation
And changed Deployment Target to 10.14
now I get a much more:
/Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:70:32: No member named 'ui' in namespace 'snex'; did you mean 'scriptnode::analyse::ui'? /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:70:42: No member named 'WorkbenchData' in namespace 'scriptnode::analyse::ui' /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:105:15: No member named 'ui' in namespace 'snex'; did you mean 'scriptnode::analyse::ui'? /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:105:25: No member named 'WorkbenchData' in namespace 'scriptnode::analyse::ui' /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:106:15: No member named 'ui' in namespace 'snex'; did you mean 'scriptnode::analyse::ui'? /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:106:25: No member named 'WorkbenchManager' in namespace 'scriptnode::analyse::ui' /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:108:14: No member named 'ui' in namespace 'snex'; did you mean 'scriptnode::analyse::ui'? /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:108:24: No member named 'WorkbenchData' in namespace 'scriptnode::analyse::ui' /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:125:24: No member named 'ui' in namespace 'snex'; did you mean 'scriptnode::analyse::ui'? /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:125:34: No member named 'WorkbenchData' in namespace 'scriptnode::analyse::ui' /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:133:18: Unknown type name 'Ptr' /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:149:20: Unknown type name 'Ptr' /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:113:25: No member named 'ui' in namespace 'snex'; did you mean 'scriptnode::analyse::ui'? /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:113:35: No type named 'WorkbenchManager' in namespace 'scriptnode::analyse::ui' /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:114:33: No member named 'ui' in namespace 'snex'; did you mean 'scriptnode::analyse::ui'? /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:114:43: No member named 'WorkbenchComponent' in namespace 'scriptnode::analyse::ui' /Users/dan/Documents/GitHub/HISE/hi_core/hi_core.h:121:25: No member named 'ui' in namespace 'snex'; did you mean 'scriptnode::analyse::ui'?
then says "Too many errors emitted, stopping now"
-
@dustbro said in Develop branch build status:
And changed Deployment Target to 10.11
Check the first error you posted
-
@d-healey oops... typo. It's set to 10.14
-
@dustbro Did you clean the build folder after changing the deployment target?
-
@d-healey I did
-
@dustbro Sorry, I'm out of ideas.