Skip to content

Instantly share code, notes, and snippets.

@sletz
Created March 13, 2024 10:46
Show Gist options
  • Save sletz/f9cbecf2dc49bbec1bc27f3e5e5eb7dd to your computer and use it in GitHub Desktop.
Save sletz/f9cbecf2dc49bbec1bc27f3e5e5eb7dd to your computer and use it in GitHub Desktop.
nih-faust-jit error
Compiling nih_plug_egui v0.0.0 (https://github.com/robbert-vdh/nih-plug.git#e9dff5b0)
The following warnings were emitted during compilation:
warning: nih_faust_jit@0.1.0: objc[13379]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib (0x1fe307bc8) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x10e8442c8). One of the two will be used. Which one is undefined.
warning: nih_faust_jit@0.1.0: objc[13379]: Class AMSupportURLSession is implemented in both /usr/lib/libauthinstall.dylib (0x1fe307c18) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x10e844318). One of the two will be used. Which one is undefined.
warning: nih_faust_jit@0.1.0: In file included from src/wrapper.cpp:4:
warning: nih_faust_jit@0.1.0: /usr/local/include/faust/dsp/dsp.h:274:52: error: expected ';' at end of declaration list
warning: nih_faust_jit@0.1.0: void setFpStatusRegister(intptr_t fpsr_aux) noexcept
warning: nih_faust_jit@0.1.0: ^
warning: nih_faust_jit@0.1.0: In file included from src/wrapper.cpp:7:
warning: nih_faust_jit@0.1.0: In file included from /usr/local/include/faust/dsp/poly-dsp.h:42:
warning: nih_faust_jit@0.1.0: /usr/local/include/faust/dsp/dsp-adapter.h:190:12: error: unknown type name 'constexpr'
warning: nih_faust_jit@0.1.0: static constexpr double value() { return double(NUM)/double(DENOM); }
warning: nih_faust_jit@0.1.0: ^
warning: nih_faust_jit@0.1.0: /usr/local/include/faust/dsp/dsp-adapter.h:651:72: error: invalid operands to binary expression ('int' and 'dsp *')
warning: nih_faust_jit@0.1.0: return new dsp_down_sampler<Identity<Double<1,1>, 2>>(DSP);
warning: nih_faust_jit@0.1.0: ~^ ~~~~~
warning: nih_faust_jit@0.1.0: /usr/local/include/faust/dsp/dsp-adapter.h:651:79: error: expected '>'
warning: nih_faust_jit@0.1.0: return new dsp_down_sampler<Identity<Double<1,1>, 2>>(DSP);
warning: nih_faust_jit@0.1.0: ^
warning: nih_faust_jit@0.1.0: /usr/local/include/faust/dsp/dsp-adapter.h:651:57: note: to match this '<'
warning: nih_faust_jit@0.1.0: return new dsp_down_sampler<Identity<Double<1,1>, 2>>(DSP);
warning: nih_faust_jit@0.1.0: ^
warning: nih_faust_jit@0.1.0: /usr/local/include/faust/dsp/dsp-adapter.h:651:79: error: expected a type
warning: nih_faust_jit@0.1.0: return new dsp_down_sampler<Identity<Double<1,1>, 2>>(DSP);
warning: nih_faust_jit@0.1.0: ^
warning: nih_faust_jit@0.1.0: /usr/local/include/faust/dsp/dsp-adapter.h:651:79: error: expected '>'
warning: nih_faust_jit@0.1.0: /usr/local/include/faust/dsp/dsp-adapter.h:651:48: note: to match this '<'
warning: nih_faust_jit@0.1.0: return new dsp_down_sampler<Identity<Double<1,1>, 2>>(DSP);
warning: nih_faust_jit@0.1.0: ^
warning: nih_faust_jit@0.1.0: /usr/local/include/faust/dsp/dsp-adapter.h:653:72: error: invalid operands to binary expression ('int' and 'dsp *')
warning: nih_faust_jit@0.1.0: return new dsp_down_sampler<Identity<Double<1,1>, 3>>(DSP);
warning: nih_faust_jit@0.1.0: ~^ ~~~~~
warning: nih_faust_jit@0.1.0: /usr/local/include/faust/dsp/dsp-adapter.h:653:79: error: expected '>'
warning: nih_faust_jit@0.1.0: return new dsp_down_sampler<Identity<Double<1,1>, 3>>(DSP);
warning: nih_faust_jit@0.1.0: ^
warning: nih_faust_jit@0.1.0: /usr/local/include/faust/dsp/dsp-adapter.h:653:57: note: to match this '<'
warning: nih_faust_jit@0.1.0: return new dsp_down_sampler<Identity<Double<1,1>, 3>>(DSP);
warning: nih_faust_jit@0.1.0: ^
warning: nih_faust_jit@0.1.0: /usr/local/include/faust/dsp/dsp-adapter.h:653:79: error: expected a type
warning: nih_faust_jit@0.1.0: return new dsp_down_sampler<Identity<Double<1,1>, 3>>(DSP);
warning: nih_faust_jit@0.1.0: ^
warning: nih_faust_jit@0.1.0: /usr/local/include/faust/dsp/dsp-adapter.h:653:79: error: expected '>'
warning: nih_faust_jit@0.1.0: /usr/local/include/faust/dsp/dsp-adapter.h:653:48: note: to match this '<'
warning: nih_faust_jit@0.1.0: return new dsp_down_sampler<Identity<Double<1,1>, 3>>(DSP);
warning: nih_faust_jit@0.1.0: ^
warning: nih_faust_jit@0.1.0: /usr/local/include/faust/dsp/dsp-adapter.h:655:72: error: invalid operands to binary expression ('int' and 'dsp *')
warning: nih_faust_jit@0.1.0: return new dsp_down_sampler<Identity<Double<1,1>, 4>>(DSP);
warning: nih_faust_jit@0.1.0: ~^ ~~~~~
warning: nih_faust_jit@0.1.0: /usr/local/include/faust/dsp/dsp-adapter.h:655:79: error: expected '>'
warning: nih_faust_jit@0.1.0: return new dsp_down_sampler<Identity<Double<1,1>, 4>>(DSP);
warning: nih_faust_jit@0.1.0: ^
warning: nih_faust_jit@0.1.0: /usr/local/include/faust/dsp/dsp-adapter.h:655:57: note: to match this '<'
warning: nih_faust_jit@0.1.0: return new dsp_down_sampler<Identity<Double<1,1>, 4>>(DSP);
warning: nih_faust_jit@0.1.0: ^
warning: nih_faust_jit@0.1.0: /usr/local/include/faust/dsp/dsp-adapter.h:655:79: error: expected a type
warning: nih_faust_jit@0.1.0: return new dsp_down_sampler<Identity<Double<1,1>, 4>>(DSP);
warning: nih_faust_jit@0.1.0: ^
warning: nih_faust_jit@0.1.0: /usr/local/include/faust/dsp/dsp-adapter.h:655:79: error: expected '>'
warning: nih_faust_jit@0.1.0: /usr/local/include/faust/dsp/dsp-adapter.h:655:48: note: to match this '<'
warning: nih_faust_jit@0.1.0: return new dsp_down_sampler<Identity<Double<1,1>, 4>>(DSP);
warning: nih_faust_jit@0.1.0: ^
warning: nih_faust_jit@0.1.0: /usr/local/include/faust/dsp/dsp-adapter.h:657:72: error: invalid operands to binary expression ('int' and 'dsp *')
warning: nih_faust_jit@0.1.0: return new dsp_down_sampler<Identity<Double<1,1>, 8>>(DSP);
warning: nih_faust_jit@0.1.0: ~^ ~~~~~
warning: nih_faust_jit@0.1.0: /usr/local/include/faust/dsp/dsp-adapter.h:657:79: error: expected '>'
warning: nih_faust_jit@0.1.0: return new dsp_down_sampler<Identity<Double<1,1>, 8>>(DSP);
warning: nih_faust_jit@0.1.0: ^
warning: nih_faust_jit@0.1.0: /usr/local/include/faust/dsp/dsp-adapter.h:657:57: note: to match this '<'
warning: nih_faust_jit@0.1.0: return new dsp_down_sampler<Identity<Double<1,1>, 8>>(DSP);
warning: nih_faust_jit@0.1.0: ^
warning: nih_faust_jit@0.1.0: /usr/local/include/faust/dsp/dsp-adapter.h:657:79: error: expected a type
warning: nih_faust_jit@0.1.0: return new dsp_down_sampler<Identity<Double<1,1>, 8>>(DSP);
warning: nih_faust_jit@0.1.0: ^
warning: nih_faust_jit@0.1.0: /usr/local/include/faust/dsp/dsp-adapter.h:657:79: error: expected '>'
warning: nih_faust_jit@0.1.0: /usr/local/include/faust/dsp/dsp-adapter.h:657:48: note: to match this '<'
warning: nih_faust_jit@0.1.0: return new dsp_down_sampler<Identity<Double<1,1>, 8>>(DSP);
warning: nih_faust_jit@0.1.0: ^
warning: nih_faust_jit@0.1.0: /usr/local/include/faust/dsp/dsp-adapter.h:659:73: error: invalid operands to binary expression ('int' and 'dsp *')
warning: nih_faust_jit@0.1.0: return new dsp_down_sampler<Identity<Double<1,1>, 16>>(DSP);
warning: nih_faust_jit@0.1.0: ~~^ ~~~~~
warning: nih_faust_jit@0.1.0: fatal error: too many errors emitted, stopping now [-ferror-limit=]
warning: nih_faust_jit@0.1.0: 20 errors generated.
error: failed to run custom build command for `nih_faust_jit v0.1.0 (/Users/letz/Developpements/nih-faust-jit)`
Caused by:
process didn't exit successfully: `/Users/letz/Developpements/nih-faust-jit/target/release/build/nih_faust_jit-126368f7ce7e6e08/build-script-build` (exit status: 1)
--- stdout
cargo:rustc-link-search=C:/Program Files/Faust/lib
cargo:rustc-link-lib=static=libfaustwithllvm
cargo:rerun-if-changed=src/wrapper.hpp
cargo:rerun-if-env-changed=TARGET
cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_aarch64-apple-darwin
cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_aarch64_apple_darwin
cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS
cargo:rerun-if-changed=src/wrapper.hpp
TARGET = Some("aarch64-apple-darwin")
OPT_LEVEL = Some("3")
HOST = Some("aarch64-apple-darwin")
cargo:rerun-if-env-changed=CXX_aarch64-apple-darwin
CXX_aarch64-apple-darwin = None
cargo:rerun-if-env-changed=CXX_aarch64_apple_darwin
CXX_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=HOST_CXX
HOST_CXX = None
cargo:rerun-if-env-changed=CXX
CXX = None
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("false")
cargo:warning=objc[13379]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib (0x1fe307bc8) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x10e8442c8). One of the two will be used. Which one is undefined.
cargo:warning=objc[13379]: Class AMSupportURLSession is implemented in both /usr/lib/libauthinstall.dylib (0x1fe307c18) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x10e844318). One of the two will be used. Which one is undefined.
cargo:rerun-if-env-changed=CXXFLAGS_aarch64-apple-darwin
CXXFLAGS_aarch64-apple-darwin = None
cargo:rerun-if-env-changed=CXXFLAGS_aarch64_apple_darwin
CXXFLAGS_aarch64_apple_darwin = None
cargo:rerun-if-env-changed=HOST_CXXFLAGS
HOST_CXXFLAGS = None
cargo:rerun-if-env-changed=CXXFLAGS
CXXFLAGS = None
cargo:warning=In file included from src/wrapper.cpp:4:
cargo:warning=/usr/local/include/faust/dsp/dsp.h:274:52: error: expected ';' at end of declaration list
cargo:warning= void setFpStatusRegister(intptr_t fpsr_aux) noexcept
cargo:warning= ^
cargo:warning=In file included from src/wrapper.cpp:7:
cargo:warning=In file included from /usr/local/include/faust/dsp/poly-dsp.h:42:
cargo:warning=/usr/local/include/faust/dsp/dsp-adapter.h:190:12: error: unknown type name 'constexpr'
cargo:warning= static constexpr double value() { return double(NUM)/double(DENOM); }
cargo:warning= ^
cargo:warning=/usr/local/include/faust/dsp/dsp-adapter.h:651:72: error: invalid operands to binary expression ('int' and 'dsp *')
cargo:warning= return new dsp_down_sampler<Identity<Double<1,1>, 2>>(DSP);
cargo:warning= ~^ ~~~~~
cargo:warning=/usr/local/include/faust/dsp/dsp-adapter.h:651:79: error: expected '>'
cargo:warning= return new dsp_down_sampler<Identity<Double<1,1>, 2>>(DSP);
cargo:warning= ^
cargo:warning=/usr/local/include/faust/dsp/dsp-adapter.h:651:57: note: to match this '<'
cargo:warning= return new dsp_down_sampler<Identity<Double<1,1>, 2>>(DSP);
cargo:warning= ^
cargo:warning=/usr/local/include/faust/dsp/dsp-adapter.h:651:79: error: expected a type
cargo:warning= return new dsp_down_sampler<Identity<Double<1,1>, 2>>(DSP);
cargo:warning= ^
cargo:warning=/usr/local/include/faust/dsp/dsp-adapter.h:651:79: error: expected '>'
cargo:warning=/usr/local/include/faust/dsp/dsp-adapter.h:651:48: note: to match this '<'
cargo:warning= return new dsp_down_sampler<Identity<Double<1,1>, 2>>(DSP);
cargo:warning= ^
cargo:warning=/usr/local/include/faust/dsp/dsp-adapter.h:653:72: error: invalid operands to binary expression ('int' and 'dsp *')
cargo:warning= return new dsp_down_sampler<Identity<Double<1,1>, 3>>(DSP);
cargo:warning= ~^ ~~~~~
cargo:warning=/usr/local/include/faust/dsp/dsp-adapter.h:653:79: error: expected '>'
cargo:warning= return new dsp_down_sampler<Identity<Double<1,1>, 3>>(DSP);
cargo:warning= ^
cargo:warning=/usr/local/include/faust/dsp/dsp-adapter.h:653:57: note: to match this '<'
cargo:warning= return new dsp_down_sampler<Identity<Double<1,1>, 3>>(DSP);
cargo:warning= ^
cargo:warning=/usr/local/include/faust/dsp/dsp-adapter.h:653:79: error: expected a type
cargo:warning= return new dsp_down_sampler<Identity<Double<1,1>, 3>>(DSP);
cargo:warning= ^
cargo:warning=/usr/local/include/faust/dsp/dsp-adapter.h:653:79: error: expected '>'
cargo:warning=/usr/local/include/faust/dsp/dsp-adapter.h:653:48: note: to match this '<'
cargo:warning= return new dsp_down_sampler<Identity<Double<1,1>, 3>>(DSP);
cargo:warning= ^
cargo:warning=/usr/local/include/faust/dsp/dsp-adapter.h:655:72: error: invalid operands to binary expression ('int' and 'dsp *')
cargo:warning= return new dsp_down_sampler<Identity<Double<1,1>, 4>>(DSP);
cargo:warning= ~^ ~~~~~
cargo:warning=/usr/local/include/faust/dsp/dsp-adapter.h:655:79: error: expected '>'
cargo:warning= return new dsp_down_sampler<Identity<Double<1,1>, 4>>(DSP);
cargo:warning= ^
cargo:warning=/usr/local/include/faust/dsp/dsp-adapter.h:655:57: note: to match this '<'
cargo:warning= return new dsp_down_sampler<Identity<Double<1,1>, 4>>(DSP);
cargo:warning= ^
cargo:warning=/usr/local/include/faust/dsp/dsp-adapter.h:655:79: error: expected a type
cargo:warning= return new dsp_down_sampler<Identity<Double<1,1>, 4>>(DSP);
cargo:warning= ^
cargo:warning=/usr/local/include/faust/dsp/dsp-adapter.h:655:79: error: expected '>'
cargo:warning=/usr/local/include/faust/dsp/dsp-adapter.h:655:48: note: to match this '<'
cargo:warning= return new dsp_down_sampler<Identity<Double<1,1>, 4>>(DSP);
cargo:warning= ^
cargo:warning=/usr/local/include/faust/dsp/dsp-adapter.h:657:72: error: invalid operands to binary expression ('int' and 'dsp *')
cargo:warning= return new dsp_down_sampler<Identity<Double<1,1>, 8>>(DSP);
cargo:warning= ~^ ~~~~~
cargo:warning=/usr/local/include/faust/dsp/dsp-adapter.h:657:79: error: expected '>'
cargo:warning= return new dsp_down_sampler<Identity<Double<1,1>, 8>>(DSP);
cargo:warning= ^
cargo:warning=/usr/local/include/faust/dsp/dsp-adapter.h:657:57: note: to match this '<'
cargo:warning= return new dsp_down_sampler<Identity<Double<1,1>, 8>>(DSP);
cargo:warning= ^
cargo:warning=/usr/local/include/faust/dsp/dsp-adapter.h:657:79: error: expected a type
cargo:warning= return new dsp_down_sampler<Identity<Double<1,1>, 8>>(DSP);
cargo:warning= ^
cargo:warning=/usr/local/include/faust/dsp/dsp-adapter.h:657:79: error: expected '>'
cargo:warning=/usr/local/include/faust/dsp/dsp-adapter.h:657:48: note: to match this '<'
cargo:warning= return new dsp_down_sampler<Identity<Double<1,1>, 8>>(DSP);
cargo:warning= ^
cargo:warning=/usr/local/include/faust/dsp/dsp-adapter.h:659:73: error: invalid operands to binary expression ('int' and 'dsp *')
cargo:warning= return new dsp_down_sampler<Identity<Double<1,1>, 16>>(DSP);
cargo:warning= ~~^ ~~~~~
cargo:warning=fatal error: too many errors emitted, stopping now [-ferror-limit=]
cargo:warning=20 errors generated.
--- stderr
error occurred: Command env -u IPHONEOS_DEPLOYMENT_TARGET "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=arm64-apple-darwin" "-mmacosx-version-min=12.1" "-I" "C:/Program Files/Faust/include" "-Wall" "-Wextra" "-o" "/Users/letz/Developpements/nih-faust-jit/target/release/build/nih_faust_jit-85c3daf76ff0d289/out/2e40c9e35e9506f4-wrapper.o" "-c" "src/wrapper.cpp" with args "c++" did not execute successfully (status code exit status: 1).
warning: build failed, waiting for other jobs to finish...
Error: Could not build nih_faust_jit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment