mikeperri / flutter_sequencer Goto Github PK
View Code? Open in Web Editor NEWA Flutter plugin for music sequencing.
License: Other
A Flutter plugin for music sequencing.
License: Other
Hi,
I was trying to build a minimal example and followed the installation instructions of the lib on pub.dev.
I have attached an iPad via USB cable and ran flutter run
. After a while I get this:
Running pod install...
Running Xcode build...
Xcode build done. 21,2s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
ld: in /Users/\<user>/Documents/piano_practice/build/ios/Debug-iphoneos/AudioKit.framework/AudioKit(EZAudio.o), building for iOS, but linking in object file built for iOS Simulator, file '/Users/\<user>/Documents/piano_practice/build/ios/Debug-iphoneos/AudioKit.framework/AudioKit' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
Did I just miss to set some property?
EDIT:
I am using flutter 1.22.4 and XCode 12.2
Whenever I add the sequencer, my app crashes on startup. I don't get clear logging, since it never finishes the "[ ] Waiting for VM Service port to be available..." step.
The error I found at some point was:
Error (Xcode): Building for 'iOS-simulator', but linking in object file
(/Users/rutgercappendijk/.pub-cache/hosted/pub.dev/flutter_sequencer-0.4.4/i
os/third_party/sfizz/build/libsfizz_fat.a[arm64]2) built for
'iOS'
Error (Xcode): Linker command failed with exit code 1 (use -v to see
invocation)
After searching around this seems to be an issue with the switch to Apple sillicon. The simulator runs on x86, while iOS and MacOS run on arm64. Some dependencies from sfizz are now built for arm64 and some for x86, and then it is impossible to link them up.
I spent a lot of hours on trying to fix this. If anyone has any input, it is very welcome!
Flutter doctor:
[✓] Flutter (Channel stable, 3.19.1, on macOS 14.3 23D56 darwin-arm64, locale
en-NL)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.86.2)
[✓] Connected device (3 available)
! Error: Browsing on the local area network for iPhone (84). Ensure the device
is unlocked and attached with a cable or associated with the same local area
network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code
-27)
[✓] Network resources
• No issues found!
Hi,
I am using Sf2Instrument to play notes from sf2 files in my piano application.
On Android, when I plugin a new USB audio device to my phone, the sound output of the library does not switch to the new device and I can not hear the notes I play after that moment.
What is the proper way of switching to the new audio device with this plugin?
Any plans to turn this into a FFI based plugin for cross platform support?
I also create the flutter_midi plugin which loads a SF2 file and wanting to convert it to rust or FFI.
If we could collaborate on it, I will happily deprecate my plugin and point people to this or just have a preset sound font with a higher level of abstraction around this library.
I'm also happy to chat too, my DMs are open.
Getting a very vague "throwing -10878" with the custom soundfont I'm using.
Is there a way to find out what is wrong with this soundfont?
Hi, first of all, thanks to you for this amazing lib, you did a great job!
After submitting app to test flight, I'm stuck at the text widget Loading..., it looks like files (sf2) are correctly included in the build, but somehow it won't load. Everything working great in the simulator and physical device, but only when installed directly.
Does anyone have experience with this?
I cannot debug it properly because it's only bugged in test flight and it's not crashing
EDIT:
After some time I come up to that engine is not ready... Again, only when the app is downloaded from TestFlight, in the simulator or direct install on a physical device it's working
First of all, thank you very much for the author's contribution to such an excellent library
But now there is a problem,No sound after plugging in headphones and I don't know how to fix it
flutter_sequencer : 0.4.3
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel unknown, 2.5.3, on macOS 11.0.1 20B29 darwin-x64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS
[!] Android Studio
✗ Unable to find bundled Java version.
[✓] Android Studio (version 4.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2019.3.5)
[✓] VS Code (version 1.62.3)
[✓] Connected device (2 available)
My Situation
When I build with release mode, the app able to play the sound with sf2 files properly. But on the app exported for distribution, even though it is the exact same code, it seems to stop at createTracks
and not play the sound. The app doesn't crash, so I don't think it's a problem with the file path or loading.
I don't know if this is related, but when I build from Mac, I get the following messages on console when createTracks
is called.
[i-aa] IPCAUClient.cpp:129:ConnectToRegistrationServer: IPCAUClient: bundle display name is nil
DLSBankManager.cpp:99:LoadInstrument: BankEntry::LoadInstrument: Unable to find patch 0 bank 0x78/0
DLSBankManager.cpp:100:LoadInstrument: about to throw -10851: LoadInstrument: Failed to load patch from bank
GlobalState.cpp:486:LoadInstrumentFromDLSCollection: DLS/SF2 bank load failed
If you have any suggestions on how to handle this, please let me know.
Thank you for developing such a cool package :)
I'm getting this error reported in the Play Console. I can't say anything more so far, I'll update when I get any details from the tester who's experiencing this.
Build: samsung/m0xx/m0:4.3/JSS15J/I9300XXUGMK6:user/release-keys
Hardware: smdk4x12
Revision: 12
Bootloader: I9300ZCUBML1
Radio: unknown
Kernel: Linux version 3.0.31-2191747 (dpi@DELL136) (gcc version 4.4.3 (GCC) ) #1 SMP PREEMPT Tue Nov 26 16:57:12 KST 2013
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/m0xx/m0:4.3/JSS15J/I9300XXUGMK6:user/release-keys'
Revision: '12'
pid: 13879, tid: 13947, name: 1.ui >>> my-app-id <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0000000c
r0 59af4ba8 r1 00000000 r2 00000001 r3 dead10cc
r4 59af2d5c r5 59af2d58 r6 59af4bac r7 62364468
r8 00018b0a r9 e9387723 sl 401831f4 fp 623644b4
ip 00000001 sp 623643f8 lr 40145ac1 pc 633f1e6e cpsr 60000030
d0 fff8000000014b28 d1 fff8000041000000
d2 fff8000041300000 d3 0000000000000000
d4 0000000000000000 d5 406b600000000000
d6 4042800000000000 d7 4010000000000000
d8 0000000000000000 d9 0000000000000000
d10 0000000000000000 d11 0000000000000000
d12 0000000000000000 d13 0000000000000000
d14 0000000000000000 d15 0000000000000000
d16 0000000000000000 d17 0000000000000000
d18 c052000000000000 d19 401ae1c040906798
d20 0000000000000000 d21 0000000000000000
d22 404c000000000000 d23 0000430000000000
d24 c023000000000000 d25 0000000000000000
d26 3ff0000000000000 d27 0000000000010000
d28 3ff0000000000000 d29 0000000000010000
d30 0000000000000000 d31 0000000000000000
scr 20000011
backtrace:
#00 pc 00071e6e /data/app-lib/my-app-id-1/libflutter_sequencer.so (AndroidEngine::AndroidEngine(long long)+101)
#01 pc 0000dabf /system/lib/libc.so (free+10)
stack:
623643b8 e9387723
623643bc 401831f4
623643c0 623644b4
623643c4 59af4bac
623643c8 623643fc
623643cc 00000000
623643d0 623643f0
623643d4 633faea1 /data/app-lib/my-app-is-1/libflutter_sequencer.so (oboe::AudioStreamBuilder::openManagedStream(std::__ndk1::unique_ptr<oboe::AudioStream, oboe::StreamDeleterFunctor>&)+60)
623643d8 00000000
623643dc ab3f4169
623643e0 00018b0a
623643e4 59af2d5c
623643e8 59af2d58
623643ec 59af4bac
623643f0 df0027ad
623643f4 00000000
#00 623643f8 61c8eb80 /data/app-lib/my-app-id-1/libflutter.so
623643fc 6352f170 /data/app-lib/my-app-id-1/libflutter_sequencer.so
62364400 59af2d58
62364404 00000000
62364408 00000002
6236440c 0000ac44
62364410 00000000
62364414 00000000
62364418 00000000
6236441c 00000000
62364420 00000001
62364424 00000002
62364428 00000000
6236442c 0000000c
62364430 00000001
62364434 00000002
memory near r0:
59af4b88 b9723163 995cca9c ea7189e9 00000000
59af4b98 00000000 00000000 00000000 3f800000
59af4ba8 00000001 00000000 c9c91ad1 000001d3
59af4bb8 61c79fc0 00000001 59af6640 59af6310
59af4bc8 0000013c 40000000 00000000 44232100
59af4bd8 00000000 40000000 438e0000 00000000
59af4be8 00000000 3f800000 00000013 dd000000
59af4bf8 00000044 ff000000 00000000 00000000
59af4c08 00000000 00000000 00000000 00000000
59af4c18 00000000 00000000 00000003 ff7fffff
59af4c28 7f7fffff 7fb44800 00000000 00000000
59af4c38 59af4c4d 59af4c4d 59af4d84 00002780
59af4c48 618a9d95 c6e37100 56cf67b3 3f1e5656
59af4c58 bababc7e add6eb7a 04cecece f7f7f441
59af4c68 fe7f3f9f f80783c1 454547e3 408472e9
59af4c78 000028d2 228b4e3c 989898e0 cee773b8
memory near r4:
59af2d3c ffffffff ffffffff 00000000 726f7373
59af2d4c 0000000a 00000040 00001e63 6352f0bc
59af2d5c 6352f0ec 6352f110 00000000 00000000
59af2d6c 00000000 00000000 3f800000 000000
processName:my-app-id
broadcastEvent : my-app-id SYSTEM_TOMBSTONE
The plugin `flutter_midi` uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.
Launching lib/main.dart on iPhone 11 in debug mode...
Running Xcode build...
Xcode build done. 6.4s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
In file included from /usr/local/Caskroom/flutter/2.5.0/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sequencer-0.4.1/ios/Classes/AudioUnit/Sfizz/SfizzDSPKernelAdapter.mm:11:
In file included from /usr/local/Caskroom/flutter/2.5.0/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sequencer-0.4.1/ios/Classes/AudioUnit/Sfizz/SfizzDSPKernel.hpp:12:
//usr/local/Caskroom/flutter/2.5.0/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sequencer-0.4.1/ios/Classes/IInstrument/SharedInstruments/SfizzSamplerInstrument.h:6:10: fatal error: 'sfizz.hpp' file not found
#include "sfizz.hpp"
^~~~~~~~~~~
1 error generated.
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Analyzing workspace
note: Constructing build description
note: Build preparation complete
Could not build the application for the simulator.
Error launching application on iPhone 11.
My environment is below
% ./build/sequencer_test
[==========] Running 5 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 5 tests from BufferTest
[ RUN ] BufferTest.AddOverBufferSize
[ OK ] BufferTest.AddOverBufferSize (1 ms)
[ RUN ] BufferTest.RemoveAll
[ OK ] BufferTest.RemoveAll (0 ms)
[ RUN ] BufferTest.AddAndRemoveAndAdd
[ OK ] BufferTest.AddAndRemoveAndAdd (0 ms)
[ RUN ] BufferTest.Count
[ OK ] BufferTest.Count (0 ms)
[ RUN ] BufferTest.ClearAfter
[ OK ] BufferTest.ClearAfter (0 ms)
[----------] 5 tests from BufferTest (1 ms total)
[----------] Global test environment tear-down
[==========] 5 tests from 1 test suite ran. (1 ms total)
[ PASSED ] 5 tests.
% flutter --version
Flutter 2.5.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 4cc385b4b8 (24 hours ago) • 2021-09-07 23:01:49 -0700
Engine • revision f0826da7ef
Tools • Dart 2.14.0
I want to fix this problem. Plz Tell me how can I fix my application. HELP ME PLZ.
I checked android studio and cmake sdk is installed. Do I need to add anything to some other file to build properly?
Also this might be related, but the IDE cannot find the Track class anywhere (I imported everything from the examples).
Launching lib/main.dart on iPhone 12 Pro Max in debug mode...
Warning: Missing build name (CFBundleShortVersionString).
Warning: Missing build number (CFBundleVersion).
Action Required: You must set a build name and number in the pubspec.yaml file version field before submitting to the App Store.
CocoaPods' output:
↳
Preparing
Analyzing dependencies
Inspecting targets to integrate
Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)
Finding Podfile changes
- Flutter
- flutter_sequencer
Fetching external sources
-> Fetching podspec for `Flutter` from `Flutter`
-> Fetching podspec for `flutter_sequencer` from `.symlinks/plugins/flutter_sequencer/ios`
Resolving dependencies of `Podfile`
CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only perfomed in repo update
Comparing resolved specification to the sandbox manifest
A Flutter
A flutter_sequencer
Downloading dependencies
-> Installing Flutter (1.0.0)
-> Installing flutter_sequencer (0.0.1)
> Running prepare command
$ /bin/bash -c set -e ./prepare.sh
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project sfizz.xcodeproj -scheme ALL_BUILD -xcconfig ../../../overrides.xcconfig -configuration Release -destination generic/platform=iOS -destination "generic/platform=iOS Simulator"
User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
Build settings from configuration file '../../../overrides.xcconfig':
CLANG_X86_VECTOR_INSTRUCTIONS = avx
[!] /bin/bash -c
set -e
./prepare.sh
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project sfizz.xcodeproj -scheme ALL_BUILD -xcconfig ../../../overrides.xcconfig -configuration Release -destination generic/platform=iOS -destination "generic/platform=iOS Simulator"
User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
Build settings from configuration file '../../../overrides.xcconfig':
CLANG_X86_VECTOR_INSTRUCTIONS = avx
./prepare.sh:32: command not found: cmake
xcodebuild: error: 'sfizz.xcodeproj' does not exist.
./prepare.sh:53: no matches found: **/Release-iphoneos/*.a
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/executable.rb:73:in `execute_command'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/executable.rb:27:in `block in executable'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/pod_source_preparer.rb:66:in `block (2 levels) in run_prepare_command'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/pod_source_preparer.rb:60:in `chdir'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/pod_source_preparer.rb:60:in `block in run_prepare_command'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/pod_source_preparer.rb:59:in `run_prepare_command'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/pod_source_preparer.rb:37:in `prepare!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/pod_source_installer.rb:70:in `install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:561:in `install_source_of_pod'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:512:in `block (2 levels) in install_pod_sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:86:in `titled_section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:511:in `block in install_pod_sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:494:in `each'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:494:in `install_pod_sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:253:in `block in download_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:252:in `download_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:161:in `install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/command/install.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'
Error output from CocoaPods:
↳
./prepare.sh:32: command not found: cmake
xcodebuild: error: 'sfizz.xcodeproj' does not exist.
./prepare.sh:53: no matches found: **/Release-iphoneos/*.a
Error running pod install
Error launching application on iPhone 12 Pro Max.
Exited (sigterm)
Thank you!this is really wonderful package, I have tested this on my android device and sometimes midi track doesn't play. I am getting logs from Audiotrack, but there is no sound.can you help me?
when i change FLUTTER_ROOT value to my path, it runs well
AudioKitCore cross-platform code removed from AudioKit master branch. So branch v4 of AudioKit submodule is required.
Git logic incorporated into build.gradle does not trigger actual pull action at least in android studio canary 2021.1.1.1 + gradle 4.1.2
Instead AudioKit v4 branch presence in .gitmodules and git recursive submodules clone performs well.
Hi!
I noticed that in Sequence's destroy() method you're iterating through a collection with forEach at the same time as you're modifying it. Not sure how this has worked before. Maybe some behavior of how iterating through the values of a map has changed recently.
void destroy() {
_tracks.values.forEach((track) => deleteTrack(track));
globalState.unregisterSequence(this);
}
deleteTrack now seems to be modifying the collection we are iterating through it.
A simple solution is to copy the list of track to a list before iterating through it, or just using _tracks.values.toList().forEach
instead.
I am working on adding flutter sequencer to an existing project. I have a single dart file in which I set up three instruments: a .sfz piano, a .sf2 piano, and a runtime generated synth. Other than not passing a tuning path for the .sfz file these were essentially copied from the readme example. I then use this pattern to add the tracks.
sequence.createTracks([piano, synth]).then((tracks) {
_tracks = tracks;
});
With isAsset==True, I get this error log:
E/flutter (16132): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method normalizeAssetDir on channel flutter_sequencer)
E/flutter (16132): #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:308:7)
E/flutter (16132):
E/flutter (16132): #1 NativeBridge.normalizeAssetDir (package:flutter_sequencer/native_bridge.dart:102:20)
E/flutter (16132):
E/flutter (16132): #2 Track.build (package:flutter_sequencer/track.dart:56:13)
E/flutter (16132):
E/flutter (16132): #3 Sequence._createTrack (package:flutter_sequencer/sequence.dart:341:19)
E/flutter (16132):
E/flutter (16132): #4 Future.wait. (dart:async/future.dart:525:21)
E/flutter (16132):
E/flutter (16132): #5 Sequence._createTracks (package:flutter_sequencer/sequence.dart:351:20)
E/flutter (16132):
E/flutter (16132): #6 Sequence.createTracks. (package:flutter_sequencer/sequence.dart:62:24)
E/flutter (16132):
With isAsset==False: both sfz and sf2 'addtrack' functions return a -1 id, which I believe happens in the BaseScheduler but I haven't figured out why that function fails.
The track for the synth (a RuntimeSfzInstrument) works properly, which leads me to believe that I have the package setup properly,
Please let me know if you have further questions or are able to help.
Hello,
I am experiencing an error on iOS, which occurs after playing for a while and adding new notes.
It leads to C++ code, I don't know what exactly causes the problem, but it leads to this class: SamplerBaseElement::IncrementActiveLayerVoiceCount
https://mm-mgx.sentry.io/share/issue/87f41e23f30641bdbfdef77c113a5fce/
Can someone help me please?
Hi @mikeperri. Thank you for creating and sharing this package. The reason I want to use this package is that I need an audio library that provides very low latency playback and thankfully it does. I am also a music producer for more than 10 years. I can't stress the importance of low latency enough.
In short, I can't make it work in release mode neither on iOS simulator nor 2 different iPhones. (Soundfonts - SF2. I tried other instrument types too).
Also I successfully uploaded the app to TestFlight and started testing on devices but no sound.
In debug mode, it runs smoothly and as expected on both iOS simulator and iPhones. I even expected and I would accept that there could be some more latency in debug mode but it is fairly good.
I am at almost end of a project and the last part is sound designing and it's like I bet all the odds on this package. So if you have time, could you please try to understand what could be the reason?
Maybe there is some basic config change could solve this. I have carefully checked all the other issues and forks/PRs of other people.
Hi @mikeperri,
first of all, thanks for this awesome package! This was exactly for what I was looking for and it seems, many other developers are also excited for this package.
How much do you think is the effort, to make a port to MacOS as you wrote in the roadmap it will share most of the code of iOS?
Thanks again
Best
Hi Team,
I added latest version flutter_sequencer: ^0.4.3
in dependency and run the app in vscode, but I got these errors
Launching lib\main.dart on sdk gphone x86 in debug mode...
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\xxxx\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\flutter_sequencer-0.4.3\android\build.gradle' line: 26
* What went wrong:
A problem occurred evaluating project ':flutter_sequencer'.
> Failed to apply plugin 'com.android.internal.library'.
> The option 'android.enablePrefab' is deprecated.
It was removed in version 4.1 of the Android Gradle plugin.
This property has been replaced by android.buildFeatures.prefab (DSL)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1m 5s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
The error occurs in this line apply plugin: 'com.android.library'
. I am not sure how to configure the enablePrefab
I am on the Android studio version 2020.3.1. Any ideas to solve this? Thanks a lot!
SF2 files such as FluidR3_GM come with patches (preset indices) that are currently set to 0 on both Android and iOS.
Exposing a variable to set it when the instrument is created would allow developers that use sf2 to change their preset.
As title, when I tried to build my flutter project, it showed the message and error:
Xcode's output:
↳
Command CompileSwift failed with a nonzero exit code
.
.
.
Command CompileSwift failed with a nonzero exit code
/usr/local/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sequencer-0.3.2/ios/Clas
ses/CocoaEngine.swift:52:95: error: cannot find type 'AKSampleDescriptor' in scope
func addSampleToSampler(trackIndex: track_index_t, samplePath: String, isAsset:
Bool, sd: AKSampleDescriptor, completion: @escaping (Bool) -> Void) {
^~~~~~~~~~
~~~~~~~~
/usr/local/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sequencer-0.3.2/ios/Clas
ses/CocoaEngine.swift:21:9: error: cannot find 'AKSampler' in scope
AKSampler.register()
^~~~~~~~~
/usr/local/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sequencer-0.3.2/ios/Clas
ses/CocoaEngine.swift:22:9: error: cannot find 'AKSettings' in scope
AKSettings.enableLogging = true
^~~~~~~~~~
/usr/local/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sequencer-0.3.2/ios/Clas
ses/CocoaEngine.swift:40:39: error: cannot find 'AKSampler' in scope
AVAudioUnit.instantiate(with: AKSampler.ComponentDescription, options: []) {
avAudioUnit, err in
^~~~~~~~~
/usr/local/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sequencer-0.3.2/ios/Clas
ses/CocoaEngine.swift:55:66: error: cannot find type 'AKSamplerAudioUnit' in scope
if let akSamplerAU = avAudioUnit.auAudioUnit as? AKSamplerAudioUnit {
^~~~~~~~~~~~~~~~~~
/usr/local/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sequencer-0.3.2/ios/Clas
ses/CocoaEngine.swift:59:39: error: cannot find 'AKSampleFileDescriptor' in scope
from: AKSampleFileDescriptor(sampleDescriptor: sd,
path: buffer.baseAddress))
^~~~~~~~~~~~~~~~~~~~~~
/usr/local/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sequencer-0.3.2/ios/Clas
ses/CocoaEngine.swift:64:44: error: cannot find 'AKAudioFile' in scope
let file = try AKAudioFile(forReading: url)
^~~~~~~~~~~
/usr/local/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sequencer-0.3.2/ios/Clas
ses/CocoaEngine.swift:68:74: error: missing argument label 'arrayLiteral:' in call
var flattened = Array(file.floatChannelData!.joined())
^
arrayLiteral:
/usr/local/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sequencer-0.3.2/ios/Clas
ses/CocoaEngine.swift:70:66: error: cannot find 'AKSampleDataDescriptor' in scope
akSamplerAU.loadSampleData(from:
AKSampleDataDescriptor(sampleDescriptor: sd,
^~~~~~~~~~~~~~~~~~~~~
~
/usr/local/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sequencer-0.3.2/ios/Clas
ses/CocoaEngine.swift:95:62: error: cannot find type 'AKSamplerAudioUnit' in scope
if let akSamplerAU = avAudioUnit.auAudioUnit as? AKSamplerAudioUnit {
^~~~~~~~~~~~~~~~~~
/usr/local/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sequencer-0.3.2/ios/Clas
ses/SwiftFlutterSequencerPlugin.swift:109:18: error: cannot find 'AKSampleDescriptor'
in scope
let sd = AKSampleDescriptor(
^~~~~~~~~~~~~~~~~~
/usr/local/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sequencer-0.3.2/ios/Clas
ses/CocoaEngine.swift:52:95: error: cannot find type 'AKSampleDescriptor' in scope
func addSampleToSampler(trackIndex: track_index_t, samplePath: String, isAsset:
Bool, sd: AKSampleDescriptor, completion: @escaping (Bool) -> Void) {
^~~~~~~~~~
~~~~~~~~
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Analyzing workspace
note: Constructing build description
note: Build preparation complete
Could not build the precompiled application for the device.
Error launching application on device.
I have tried so many ways to solve the problem but had no idea.
Should I have to install some extensions or change some settings?
It looks like on hard refresh android has a fatal error.
Restarted application in 2,259ms. I/FLUTTER_SEQUENCER(20261): Successfully set asset manager in native module I/OboeAudio(20261): openStream() OUTPUT -------- OboeVersion1.4.3 -------- I/AAudio (20261): AAudioStreamBuilder_openStream() called ---------------------------------------- I/AudioStreamBuilder(20261): rate = 44100, channels = 2, format = 5, sharing = SH, dir = OUTPUT I/AudioStreamBuilder(20261): device = 0, sessionId = -1, perfMode = 12, callback: ON with frames = 0 I/AudioStreamBuilder(20261): usage = 1, contentType = 2, inputPreset = 6, allowedCapturePolicy = 0 D/ (20261): PlayerBase::PlayerBase() D/AudioStreamTrack(20261): open(), request notificationFrames = -8, frameCount = 0 I/AudioTrack(20261): createTrack_l(0): AUDIO_OUTPUT_FLAG_FAST successful; frameCount 0 -> 5288 W/AudioStreamTrack(20261): open() flags changed from 0x00000104 to 0x00000004 I/AAudio (20261): AAudioStreamBuilder_openStream() returns 0 = AAUDIO_OK for s#2 ---------------- D/OboeAudio(20261): AudioStreamAAudio.open() format=2, sampleRate=44100, capacity = 5288 D/OboeAudio(20261): AudioStreamAAudio.open: AAudioStream_Open() returned AAUDIO_OK D/AAudio (20261): AAudioStream_close(s#1) called --------------- D/AudioTrack(20261): stop(49): called with 141431526 frames delivered D/AAudio (20261): AAudioStream_close(s#1) returned 0 --------- D/AAudio (20261): AAudioStream_requestStart(s#2) called -------------- D/ (20261): PlayerBase::start() from IPlayer D/AudioStreamLegacy(20261): onAudioDeviceUpdate() devId 2 => 2 D/AAudio (20261): AAudioStream_requestStart(s#2) returned 0 --------- I/FLUTTER_SEQUENCER(20261): Loading sample assets/wav/D3.wav I/FLUTTER_SEQUENCER(20261): Loading sample assets/wav/F3.wav I/FLUTTER_SEQUENCER(20261): Loading sample assets/wav/G#3.wav I/FLUTTER_SEQUENCER(20261): Loading sample assets/sfz/samples/Mp-F3.wv I/FLUTTER_SEQUENCER(20261): Loading sample assets/sfz/samples/MF-F3.wv I/FLUTTER_SEQUENCER(20261): Loading sample assets/sfz/samples/Mp-C4.wv I/FLUTTER_SEQUENCER(20261): Successfully loaded sample assets/wav/F3.wav I/FLUTTER_SEQUENCER(20261): Loading sample assets/sfz/samples/MF-C4.wv I/FLUTTER_SEQUENCER(20261): Loading sample assets/sfz/samples/FF-F3.wv I/FLUTTER_SEQUENCER(20261): Loading sample assets/sfz/samples/Mp-C3.wv I/FLUTTER_SEQUENCER(20261): Successfully loaded sample assets/wav/D3.wav I/FLUTTER_SEQUENCER(20261): Loading sample assets/sfz/samples/MF-C3.wv I/FLUTTER_SEQUENCER(20261): Loading sample assets/sfz/samples/FF-C3.wv I/FLUTTER_SEQUENCER(20261): Loading sample assets/sfz/samples/FF-C4.wv I/FLUTTER_SEQUENCER(20261): Successfully loaded sample assets/sfz/samples/FF-C3.wv I/FLUTTER_SEQUENCER(20261): Successfully loaded sample assets/sfz/samples/MF-C4.wv I/FLUTTER_SEQUENCER(20261): Successfully loaded sample assets/sfz/samples/Mp-C4.wv I/FLUTTER_SEQUENCER(20261): Successfully loaded sample assets/sfz/samples/FF-C4.wv I/FLUTTER_SEQUENCER(20261): Successfully loaded sample assets/sfz/samples/FF-F3.wv I/FLUTTER_SEQUENCER(20261): Successfully loaded sample assets/sfz/samples/Mp-F3.wv I/FLUTTER_SEQUENCER(20261): Successfully loaded sample assets/sfz/samples/MF-C3.wv I/FLUTTER_SEQUENCER(20261): Successfully loaded sample assets/sfz/samples/MF-F3.wv I/FLUTTER_SEQUENCER(20261): Successfully loaded sample assets/sfz/samples/Mp-C3.wv W/libc (20261): malloc(296392224) failed: returning null pointer F/libc (20261): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 20691 (1.ui), pid 20261 (quencer_example) *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Build fingerprint: 'google/sdk_gphone_x86/generic_x86:10/QSR1.190920.001/5891938:user/release-keys' Revision: '0' ABI: 'x86' Timestamp: 2020-11-11 23:36:05+0000 pid: 20261, tid: 20691, name: 1.ui >>> com.michaeljperri.flutter_sequencer_example <<< uid: 10137 signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 Cause: null pointer dereference eax be9cf568 ebx be9cf568 ecx 00000000 edx 00000004 edi b73faf24 esi 00000800 ebp b73fae88 esp b73fa630 eip be727ab6 backtrace: #00 pc 00099ab6 /data/app/com.michaeljperri.flutter_sequencer_example-ymh3CGzNCxMpMyM5_uuxBQ==/lib/x86/libflutter_sequencer.so (BuildId: dbe44abcb0c48571f6c4b7bb9b41ef5d6bb4d012) #01 pc 00098a3d /data/app/com.michaeljperri.flutter_sequencer_example-ymh3CGzNCxMpMyM5_uuxBQ==/lib/x86/libflutter_sequencer.so (tsf_load+3261) (BuildId: dbe44abcb0c48571f6c4b7bb9b41ef5d6bb4d012) #02 pc 00098dc3 /data/app/com.michaeljperri.flutter_sequencer_example-ymh3CGzNCxMpMyM5_uuxBQ==/lib/x86/libflutter_sequencer.so (tsf_load_memory+163) (BuildId: dbe44abcb0c48571f6c4b7bb9b41ef5d6bb4d012) #03 pc 000abddd /data/app/com.michaeljperri.flutter_sequencer_example-ymh3CGzNCxMpMyM5_uuxBQ==/lib/x86/libflutter_sequencer.so (SoundFontInstrument::SoundFontInstrument(int, bool, char const*, bool, int)+253) (BuildId: dbe44abcb0c48571f6c4b7bb9b41ef5d6bb4d012) #04 pc 000abc42 /data/app/com.michaeljperri.flutter_sequencer_example-ymh3CGzNCxMpMyM5_uuxBQ==/lib/x86/libflutter_sequencer.so (BuildId: dbe44abcb0c48571f6c4b7bb9b41ef5d6bb4d012) #05 pc 000abae9 /data/app/com.michaeljperri.flutter_sequencer_example-ymh3CGzNCxMpMyM5_uuxBQ==/lib/x86/libflutter_sequencer.so (BuildId: dbe44abcb0c48571f6c4b7bb9b41ef5d6bb4d012) #06 pc 000aba55 /data/app/com.michaeljperri.flutter_sequencer_example-ymh3CGzNCxMpMyM5_uuxBQ==/lib/x86/libflutter_sequencer.so (BuildId: dbe44abcb0c48571f6c4b7bb9b41ef5d6bb4d012) #07 pc 000ab670 /data/app/com.michaeljperri.flutter_sequencer_example-ymh3CGzNCxMpMyM5_uuxBQ==/lib/x86/libflutter_sequencer.so (BuildId: dbe44abcb0c48571f6c4b7bb9b41ef5d6bb4d012) #08 pc 0011a8e5 /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+53) (BuildId: 76290498408016ad14f4b98c3ab6c65c) #09 pc 000af6a7 /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+71) (BuildId: 76290498408016ad14f4b98c3ab6c65c) Lost connection to device. Exited (sigterm)
After some discussion we determined that the important part of this error is:
malloc(296392224) failed: returning null pointer
and it's just happening when the Android emulator runs out of memory. It looks like there are two problems. One, hot reloading leaks memory, and two, the app crashes if you load too many samplers and run out of memory. It would also be great if there was a synthesizer that supports streaming samples from disk instead of loading them all into RAM. We can come back to these later.
Originally posted by @mikeperri in #2 (comment)
Hi!
For some reason the sequence not loads if I try a validated archived IPA version on my phone. But it works fine in release mode. Do you guys have any idea how this can happen? I set the Build Architecture to arm64 only.
I am considering using this Flutter library for a project, so I did some testing on it to confirm it has what I need. I got the example app building to a Google Pixel 6 Pro running Android 12 (API 31). But then I encountered issues.
When the app is opened with no audio device connected, it behaves normally and without bugs. Audio is generated and the demos are nicely functional.
When the app is opened while my MDR-XB950N1 headphones are connected via bluetooth, the app crashes with this error:
Launching lib\main.dart on Pixel 6 Pro in debug mode...
√ Built build\app\outputs\flutter-apk\app-debug.apk.
W/FlutterActivityAndFragmentDelegate(18640): A splash screen was provided to Flutter, but this is deprecated. See flutter.dev/go/android-splash-migration for migration steps.
Connecting to VM Service at ws://127.0.0.1:56669/l-Du46d7jZ4=/ws
I/FLUTTER_SEQUENCER(18640): Successfully set asset manager in native module
I/OboeAudio(18640): openStream() OUTPUT -------- OboeVersion1.6.1 --------
D/OboeAudio(18640): AAudioLoader(): dlopen(libaaudio.so) returned 0x5498c18b819fa7b9
I/AAudio (18640): AAudioStreamBuilder_openStream() called ----------------------------------------
I/AudioStreamBuilder(18640): rate = 44100, channels = 2, format = 5, sharing = SH, dir = OUTPUT
I/AudioStreamBuilder(18640): device = 0, sessionId = -1, perfMode = 12, callback: ON with frames = 0
I/AudioStreamBuilder(18640): usage = 1, contentType = 2, inputPreset = 6, allowedCapturePolicy = 0
I/AudioStreamBuilder(18640): privacy sensitive = false
I/AudioStreamBuilder(18640): opPackageName = (null)
I/AudioStreamBuilder(18640): attributionTag = (null)
D/quencer_exampl(18640): PlayerBase::PlayerBase()
D/quencer_exampl(18640): PlayerBase::PlayerBase()
D/AudioStreamInternal_Client(18640): ~AudioStreamInternal() 0x73cf18e870 called
D/AAudioStream(18640): ~AudioStream(s#1) mPlayerBase strongCount = 1
D/quencer_exampl(18640): PlayerBase::~PlayerBase()
D/AudioStreamTrack(18640): open(), request notificationFrames = -8, frameCount = 0
D/AudioTrack(18640): createTrack_l(0): AUDIO_OUTPUT_FLAG_FAST denied by server; frameCount 0 -> 10632
D/AAudioStream(18640): setState(s#2) from 0 to 2
D/AudioStreamTrack(18640): open() flags changed from 0x00000104 to 0x00000000
D/AudioStreamTrack(18640): open() perfMode changed from 12 to 10
I/AAudio (18640): AAudioStreamBuilder_openStream() returns 0 = AAUDIO_OK for s#2 ----------------
D/OboeAudio(18640): AudioStreamAAudio.open() format=2, sampleRate=44100, capacity = 10632
D/OboeAudio(18640): AudioStreamAAudio.open: AAudioStream_Open() returned AAUDIO_OK
D/AAudio (18640): AAudioStream_requestStart(s#2) called --------------
D/AAudioStream(18640): setState(s#2) from 2 to 3
D/AAudio (18640): AAudioStream_requestStart(s#2) returned 0 ---------
D/AudioStreamLegacy(18640): onAudioDeviceUpdate(deviceId = 685)
F/libc (18640): Fatal signal 5 (SIGTRAP), code 1 (TRAP_BRKPT), fault addr 0x7204a96ea0 in tid 18707 (1.ui), pid 18640 (quencer_example)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'google/raven/raven:12/SD1A.210817.036.A8/7847443:user/release-keys'
Revision: 'MP1.0'
ABI: 'arm64'
Timestamp: 2021-11-09 10:55:03.879398783-0800
Process uptime: 0s
Cmdline: com.michaeljperri.flutter_sequencer_example
pid: 18640, tid: 18707, name: 1.ui >>> com.michaeljperri.flutter_sequencer_example <<<
uid: 10297
tagged_addr_ctrl: 0000000000000001
signal 5 (SIGTRAP), code 1 (TRAP_BRKPT), fault addr 0x7204a96ea0
x0 0000007204f915a0 x1 0000000000000000 x2 0000000000000000 x3 0000007545091288
x4 0000007294c7b938 x5 0000000000000020 x6 0000007294c7b968 x7 0000000000000032
x8 0000007294c7c000 x9 0000000000000000 x10 34fc7ec1cdb0d70c x11 0000000000004913
x12 0000007294c7b940 x13 00000000b35fc7fa x14 0000000000000010 x15 0000000000000010
x16 000000754508ef70 x17 0000007545082894 x18 00000071f2c8c000 x19 0000007294c7bcb0
x20 0000007545092000 x21 0000007294c7bcb0 x22 00000000000048f1 x23 00000000000048d0
x24 0000007294c7bcb0 x25 0000007294c7bcb0 x26 0000007294c7bff8 x27 00000000000fc000
x28 00000000000fe000 x29 0000007294c7bb10
lr 0000007204a96e9c sp 0000007294c7ba60 pc 0000007204a96ea0 pst 0000000060001000
backtrace:
#00 pc 00000000001f4ea0 /data/app/~~O_J2zAoVOddDgZu0DHSAjw==/com.michaeljperri.flutter_sequencer_example-3d2igE8yirPhGDVfreKdLQ==/lib/arm64/libflutter_sequencer.so (BuildId: c1410f1d3d70d91511332f25278e8c49e56294d6)
#01 pc 00000000001cbaac /data/app/~~O_J2zAoVOddDgZu0DHSAjw==/com.michaeljperri.flutter_sequencer_example-3d2igE8yirPhGDVfreKdLQ==/lib/arm64/libflutter_sequencer.so (BuildId: c1410f1d3d70d91511332f25278e8c49e56294d6)
#02 pc 00000000001b62e0 /data/app/~~O_J2zAoVOddDgZu0DHSAjw==/com.michaeljperri.flutter_sequencer_example-3d2igE8yirPhGDVfreKdLQ==/lib/arm64/libflutter_sequencer.so (SfizzSamplerInstrument::setSamplesPerBlock(int)+36) (BuildId: c1410f1d3d70d91511332f25278e8c49e56294d6)
#03 pc 00000000001b7320 /data/app/~~O_J2zAoVOddDgZu0DHSAjw==/com.michaeljperri.flutter_sequencer_example-3d2igE8yirPhGDVfreKdLQ==/lib/arm64/libflutter_sequencer.so (BuildId: c1410f1d3d70d91511332f25278e8c49e56294d6)
#04 pc 00000000001b7248 /data/app/~~O_J2zAoVOddDgZu0DHSAjw==/com.michaeljperri.flutter_sequencer_example-3d2igE8yirPhGDVfreKdLQ==/lib/arm64/libflutter_sequencer.so (BuildId: c1410f1d3d70d91511332f25278e8c49e56294d6)
#05 pc 00000000001b71e8 /data/app/~~O_J2zAoVOddDgZu0DHSAjw==/com.michaeljperri.flutter_sequencer_example-3d2igE8yirPhGDVfreKdLQ==/lib/arm64/libflutter_sequencer.so (BuildId: c1410f1d3d70d91511332f25278e8c49e56294d6)
#06 pc 00000000001b6f00 /data/app/~~O_J2zAoVOddDgZu0DHSAjw==/com.michaeljperri.flutter_sequencer_example-3d2igE8yirPhGDVfreKdLQ==/lib/arm64/libflutter_sequencer.so (BuildId: c1410f1d3d70d91511332f25278e8c49e56294d6)
#07 pc 00000000000b1690 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204) (BuildId: 28943f8bb3b7b23557619af9a38223c5)
#08 pc 00000000000510ac /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 28943f8bb3b7b23557619af9a38223c5)
Lost connection to device.
Exited (sigterm)
My flutter doctor:
PS C:\Users\alden\OneDrive\Desktop\flutter_sequencer\example> flutter doctor -v
[√] Flutter (Channel stable, 2.5.3, on Microsoft Windows [Version 10.0.22000.282], locale en-US)
• Flutter version 2.5.3 at C:\flutter
• Upstream repository https://github.com/flutter/flutter
• Framework revision 18116933e7 (4 weeks ago), 2021-10-15 10:46:35 -0700
• Engine revision d3ea636dc5
• Dart version 2.14.4
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at c:/Users/alden/AppData/Local/Android/Sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: c:/Program Files/Android/Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 2020.3)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
[√] Android Studio
• Android Studio at c:/Program Files/Android/Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• android-studio-dir = c:/Program Files/Android/Android Studio
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
[√] IntelliJ IDEA Ultimate Edition (version 2021.1)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2021.1.1
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
[√] VS Code (version 1.62.0)
• VS Code at C:\Users\alden\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.28.0
[√] Connected device (3 available)
• Pixel 6 Pro (mobile) • 19181FDEE001G3 • android-arm64 • Android 12 (API 31)
• Chrome (web) • chrome • web-javascript • Google Chrome 95.0.4638.69
• Edge (web) • edge • web-javascript • Microsoft Edge 95.0.1020.40
• No issues found!
Hi Mike,
we had contact a few months ago, thank you again for this great Flutter plugin.
I tried to run my App on my Windows environment but sady it throws an error. It looks like the cpp 'Abseil' lib is having issues:
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':flutter_sequencer:buildCMakeDebug[arm64-v8a]'.
> Build command failed.
Error while executing process C:\Users\User\AppData\Local\Android\Sdk\cmake\3.18.1\bin\ninja.exe with arguments {-C C:\Users\User\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\flutter_sequencer-0.4.4\android\.cxx\Debug\q4z721e5\arm64-v8a flutter_sequencer st_info}
ninja: Entering directory `C:\Users\User\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\flutter_sequencer-0.4.4\android\.cxx\Debug\q4z721e5\arm64-v8a'
[1/300] Building CXX object build/oboe/CMakeFiles/oboe.dir/src/common/Trace.cpp.o
[2/300] Building CXX object build/oboe/CMakeFiles/oboe.dir/src/common/Version.cpp.o
[3/300] Building CXX object CMakeFiles/flutter_sequencer.dir/2852f6eb9954769251f343469ca232d0/ios/Classes/CallbackManager/CallbackManager.cpp.o
[4/300] Building CXX object build/oboe/CMakeFiles/oboe.dir/src/opensles/EngineOpenSLES.cpp.o
[5/300] Building CXX object CMakeFiles/flutter_sequencer.dir/2852f6eb9954769251f343469ca232d0/ios/Classes/Scheduler/BaseScheduler.cpp.o
[6/300] Building CXX object build/oboe/CMakeFiles/oboe.dir/src/common/StabilizedCallback.cpp.o
[7/300] Building CXX object build/oboe/CMakeFiles/oboe.dir/src/opensles/OpenSLESUtilities.cpp.o
[8/300] Building CXX object build/oboe/CMakeFiles/oboe.dir/src/opensles/AudioStreamBuffered.cpp.o
[9/300] Building C object third_party/sfizz/CMakeFiles/sfizz_cephes.dir/external/cephes/src/chbevl.c.o
[10/300] Building C object third_party/sfizz/CMakeFiles/sfizz_kissfft.dir/src/external/kiss_fft/tools/kiss_fftr.c.o
[11/300] Building CXX object build/oboe/CMakeFiles/oboe.dir/src/opensles/AudioStreamOpenSLES.cpp.o
[12/300] Building CXX object build/oboe/CMakeFiles/oboe.dir/src/opensles/OutputMixerOpenSLES.cpp.o
[13/300] Building C object third_party/sfizz/CMakeFiles/sfizz_cephes.dir/external/cephes/src/i0.c.o
[14/300] Building C object third_party/sfizz/CMakeFiles/sfizz_kissfft.dir/src/external/kiss_fft/kiss_fft.c.o
[15/300] Building CXX object third_party/sfizz/CMakeFiles/sfizz_spline.dir/src/external/spline/spline/spline.cpp.o
[16/300] Building CXX object third_party/sfizz/CMakeFiles/sfizz_cpuid.dir/src/external/cpuid/src/cpuid/cpuinfo.cpp.o
[17/300] Building CXX object third_party/sfizz/CMakeFiles/sfizz_cpuid.dir/src/external/cpuid/src/cpuid/version.cpp.o
[18/300] Linking C static library third_party\sfizz\libsfizz_cephes.a
[19/300] Building CXX object third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_spinlock_wait.dir/internal/spinlock_wait.cc.o
FAILED: third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_spinlock_wait.dir/internal/spinlock_wait.cc.o
C:\Users\User\AppData\Local\Android\Sdk\ndk\22.1.7171670\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=C:/Users/User/AppData/Local/Android/Sdk/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=C:/Users/User/AppData/Local/Android/Sdk/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64/sysroot -I../../../.././third_party/oboe/include -I../../../.././third_party/TinySoundFont -I../../../../third_party/sfizz/external/abseil-cpp -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++14 -frelaxed-template-template-args -O0 -fno-limit-debug-info -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wno-multichar -Werror=return-type -Wcast-qual -Wconversion -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wfor-loop-analysis -Wformat-security -Wgnu-redeclared-enum -Winfinite-recursion -Winvalid-constexpr -Wliteral-conversion -Wmissing-declarations -Woverlength-strings -Wpointer-arith -Wself-assign -Wshadow-all -Wshorten-64-to-32 -Wsign-conversion -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-zero-compare -Wundef -Wuninitialized -Wunreachable-code -Wunused-comparison -Wunused-local-typedefs -Wunused-result -Wvla -Wwrite-strings -Wno-float-conversion -Wno-implicit-float-conversion -Wno-implicit-int-float-conversion -Wno-unknown-warning-option -DNOMINMAX -std=gnu++11 -MD -MT third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_spinlock_wait.dir/internal/spinlock_wait.cc.o -MF third_party\sfizz\external\abseil-cpp\absl\base\CMakeFiles\absl_spinlock_wait.dir\internal\spinlock_wait.cc.o.d -o third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_spinlock_wait.dir/internal/spinlock_wait.cc.o -c ../../../../third_party/sfizz/external/abseil-cpp/absl/base/internal/spinlock_wait.cc
In file included from ../../../../third_party/sfizz/external/abseil-cpp/absl/base/internal/spinlock_wait.cc:22:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/internal/spinlock_wait.h:24:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/internal/scheduling_mode.h:21:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/config.h:86:
../../../../third_party/sfizz/external/abseil-cpp\absl/base/policy_checks.h:79:2: error: "C++ versions less than C++14 are not supported."
#error "C++ versions less than C++14 are not supported."
^
1 error generated.
could I somehow help you, updating this plugin? Do you need more information?
I found these hints on my research:
protocolbuffers/protobuf#12393
https://stackoverflow.com/questions/75850778/error-c-versions-less-than-c14-are-not-supported-in-bazel-how-to-resolve
Whenever I play an mp3 file the whole flutter_sequencer
just stops. Currently using the just_audio package to play audio files.
Reproduced this issue on the example project of the flutter_sequencer
by adding a simple button widget to play the mp3 file and adding the just_audio
package to the pubspec.yaml
file.
I crossed referenced the offending mp3 file with other working mp3 files and found out that if an mp3 has these properties the flutter_sequencer
package breaks:
Mp3 files: Archive.zip
...
ElevatedButton(
onPressed: () async {
final player = AudioPlayer();
var duration = await player.setAsset('assets/mp3/sfx-pop_mono_44k.mp3');
player.play();
},
child: Text('Mono - 44k'),
),
ElevatedButton(
onPressed: () async {
final player = AudioPlayer();
var duration = await player.setAsset('assets/mp3/sfx-pop_mono_48k.mp3');
player.play();
},
child: Text('Mono - 48k'),
),
ElevatedButton(
onPressed: () async {
final player = AudioPlayer();
var duration = await player.setAsset('assets/mp3/sfx-pop_stereo_44k.mp3');
player.play();
},
child: Text('Stereo - 44k'),
),
ElevatedButton(
onPressed: () async {
final player = AudioPlayer();
var duration = await player.setAsset('assets/mp3/sfx-pop_stereo_48k.mp3');
player.play();
},
child: Text('Stereo - 48k'),
),
...
No erros or logs are produced.
ADDITIONAL INFO:
Hi
Easy question: i know you have replaced AudioKit Sampler with Sfizz but how were you using audiokit on android as on their project page, they say that they are only supporting apple ecosystem?
Thanks for the good work!
Cheers
Building for Android on Windows I had some problems, so I thought it may be helpful to add to the readme.
At first build failed because of missing NDK. I tried adding the NDK to the flutter project, but it added the latest one which was incompatible causing errors with oboe: error: use of undeclared identifier 'assert'
I eventually learned that opening the Android project would prompt me to install the correct NDK.
So my suggestion would be to include something like:
Are there any settings to get the audio to work with the iPhone silent mode on?
I build it on windows, i build failed with an exception: "C++ versions less than C++14 are not supported."
Some info:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':flutter_sequencer:buildCMakeDebug[arm64-v8a]'.
> com.android.ide.common.process.ProcessException: ninja: Entering directory `C:\Users\dashu\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_sequencer-0.4.4\android\.cxx\Debug\4q4h2k53\arm64-v8a'
[1/252] Linking CXX static library third_party\sfizz\libsfizz_tunings.a
[2/252] Linking CXX static library third_party\sfizz\libsfizz_pugixml.a
[3/252] Linking CXX static library third_party\sfizz\libsfizz_spline.a
[4/252] Linking CXX static library third_party\sfizz\libsfizz_filesystem_impl.a
[5/252] Linking CXX static library third_party\sfizz\libsfizz_cpuid.a
[6/252] Building CXX object third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_base.dir/internal/unscaledcycleclock.cc.o
FAILED: third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_base.dir/internal/unscaledcycleclock.cc.o
F:\sdk\android\ndk\22.1.7171670\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64/sysroot -I../../../.././third_party/oboe/include -I../../../.././third_party/TinySoundFont -I../../../../third_party/sfizz/external/abseil-cpp -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -frelaxed-template-template-args -O0 -fno-limit-debug-info -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wno-multichar -Werror=return-type -Wcast-qual -Wconversion -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wfor-loop-analysis -Wformat-security -Wgnu-redeclared-enum -Winfinite-recursion -Winvalid-constexpr -Wliteral-conversion -Wmissing-declarations -Woverlength-strings -Wpointer-arith -Wself-assign -Wshadow-all -Wshorten-64-to-32 -Wsign-conversion -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-zero-compare -Wundef -Wuninitialized -Wunreachable-code -Wunused-comparison -Wunused-local-typedefs -Wunused-result -Wvla -Wwrite-strings -Wno-float-conversion -Wno-implicit-float-conversion -Wno-implicit-int-float-conversion -Wno-unknown-warning-option -DNOMINMAX -pthread -std=gnu++11 -MD -MT third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_base.dir/internal/unscaledcycleclock.cc.o -MF third_party\sfizz\external\abseil-cpp\absl\base\CMakeFiles\absl_base.dir\internal\unscaledcycleclock.cc.o.d -o third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_base.dir/internal/unscaledcycleclock.cc.o -c ../../../../third_party/sfizz/external/abseil-cpp/absl/base/internal/unscaledcycleclock.cc
In file included from ../../../../third_party/sfizz/external/abseil-cpp/absl/base/internal/unscaledcycleclock.cc:15:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/internal/unscaledcycleclock.h:45:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/config.h:86:
../../../../third_party/sfizz/external/abseil-cpp\absl/base/policy_checks.h:79:2: error: "C++ versions less than C++14 are not supported."
#error "C++ versions less than C++14 are not supported."
^
1 error generated.
[7/252] Building CXX object third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_base.dir/internal/cycleclock.cc.o
FAILED: third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_base.dir/internal/cycleclock.cc.o
F:\sdk\android\ndk\22.1.7171670\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64/sysroot -I../../../.././third_party/oboe/include -I../../../.././third_party/TinySoundFont -I../../../../third_party/sfizz/external/abseil-cpp -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -frelaxed-template-template-args -O0 -fno-limit-debug-info -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wno-multichar -Werror=return-type -Wcast-qual -Wconversion -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wfor-loop-analysis -Wformat-security -Wgnu-redeclared-enum -Winfinite-recursion -Winvalid-constexpr -Wliteral-conversion -Wmissing-declarations -Woverlength-strings -Wpointer-arith -Wself-assign -Wshadow-all -Wshorten-64-to-32 -Wsign-conversion -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-zero-compare -Wundef -Wuninitialized -Wunreachable-code -Wunused-comparison -Wunused-local-typedefs -Wunused-result -Wvla -Wwrite-strings -Wno-float-conversion -Wno-implicit-float-conversion -Wno-implicit-int-float-conversion -Wno-unknown-warning-option -DNOMINMAX -pthread -std=gnu++11 -MD -MT third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_base.dir/internal/cycleclock.cc.o -MF third_party\sfizz\external\abseil-cpp\absl\base\CMakeFiles\absl_base.dir\internal\cycleclock.cc.o.d -o third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_base.dir/internal/cycleclock.cc.o -c ../../../../third_party/sfizz/external/abseil-cpp/absl/base/internal/cycleclock.cc
In file included from ../../../../third_party/sfizz/external/abseil-cpp/absl/base/internal/cycleclock.cc:23:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/internal/cycleclock.h:48:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/attributes.h:37:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/config.h:86:
../../../../third_party/sfizz/external/abseil-cpp\absl/base/policy_checks.h:79:2: error: "C++ versions less than C++14 are not supported."
#error "C++ versions less than C++14 are not supported."
^
1 error generated.
[8/252] Building CXX object third_party/sfizz/external/abseil-cpp/absl/debugging/CMakeFiles/absl_stacktrace.dir/stacktrace.cc.o
FAILED: third_party/sfizz/external/abseil-cpp/absl/debugging/CMakeFiles/absl_stacktrace.dir/stacktrace.cc.o
F:\sdk\android\ndk\22.1.7171670\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64/sysroot -I../../../.././third_party/oboe/include -I../../../.././third_party/TinySoundFont -I../../../../third_party/sfizz/external/abseil-cpp -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -frelaxed-template-template-args -O0 -fno-limit-debug-info -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wno-multichar -Werror=return-type -Wcast-qual -Wconversion -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wfor-loop-analysis -Wformat-security -Wgnu-redeclared-enum -Winfinite-recursion -Winvalid-constexpr -Wliteral-conversion -Wmissing-declarations -Woverlength-strings -Wpointer-arith -Wself-assign -Wshadow-all -Wshorten-64-to-32 -Wsign-conversion -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-zero-compare -Wundef -Wuninitialized -Wunreachable-code -Wunused-comparison -Wunused-local-typedefs -Wunused-result -Wvla -Wwrite-strings -Wno-float-conversion -Wno-implicit-float-conversion -Wno-implicit-int-float-conversion -Wno-unknown-warning-option -DNOMINMAX -std=gnu++11 -MD -MT third_party/sfizz/external/abseil-cpp/absl/debugging/CMakeFiles/absl_stacktrace.dir/stacktrace.cc.o -MF third_party\sfizz\external\abseil-cpp\absl\debugging\CMakeFiles\absl_stacktrace.dir\stacktrace.cc.o.d -o third_party/sfizz/external/abseil-cpp/absl/debugging/CMakeFiles/absl_stacktrace.dir/stacktrace.cc.o -c ../../../../third_party/sfizz/external/abseil-cpp/absl/debugging/stacktrace.cc
In file included from ../../../../third_party/sfizz/external/abseil-cpp/absl/debugging/stacktrace.cc:37:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/debugging/stacktrace.h:34:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/config.h:86:
../../../../third_party/sfizz/external/abseil-cpp\absl/base/policy_checks.h:79:2: error: "C++ versions less than C++14 are not supported."
#error "C++ versions less than C++14 are not supported."
^
1 error generated.
[9/252] Building CXX object third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_spinlock_wait.dir/internal/spinlock_wait.cc.o
FAILED: third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_spinlock_wait.dir/internal/spinlock_wait.cc.o
F:\sdk\android\ndk\22.1.7171670\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64/sysroot -I../../../.././third_party/oboe/include -I../../../.././third_party/TinySoundFont -I../../../../third_party/sfizz/external/abseil-cpp -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -frelaxed-template-template-args -O0 -fno-limit-debug-info -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wno-multichar -Werror=return-type -Wcast-qual -Wconversion -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wfor-loop-analysis -Wformat-security -Wgnu-redeclared-enum -Winfinite-recursion -Winvalid-constexpr -Wliteral-conversion -Wmissing-declarations -Woverlength-strings -Wpointer-arith -Wself-assign -Wshadow-all -Wshorten-64-to-32 -Wsign-conversion -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-zero-compare -Wundef -Wuninitialized -Wunreachable-code -Wunused-comparison -Wunused-local-typedefs -Wunused-result -Wvla -Wwrite-strings -Wno-float-conversion -Wno-implicit-float-conversion -Wno-implicit-int-float-conversion -Wno-unknown-warning-option -DNOMINMAX -std=gnu++11 -MD -MT third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_spinlock_wait.dir/internal/spinlock_wait.cc.o -MF third_party\sfizz\external\abseil-cpp\absl\base\CMakeFiles\absl_spinlock_wait.dir\internal\spinlock_wait.cc.o.d -o third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_spinlock_wait.dir/internal/spinlock_wait.cc.o -c ../../../../third_party/sfizz/external/abseil-cpp/absl/base/internal/spinlock_wait.cc
In file included from ../../../../third_party/sfizz/external/abseil-cpp/absl/base/internal/spinlock_wait.cc:22:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/internal/spinlock_wait.h:24:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/internal/scheduling_mode.h:21:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/config.h:86:
../../../../third_party/sfizz/external/abseil-cpp\absl/base/policy_checks.h:79:2: error: "C++ versions less than C++14 are not supported."
#error "C++ versions less than C++14 are not supported."
^
1 error generated.
[10/252] Building CXX object third_party/sfizz/external/abseil-cpp/absl/crc/CMakeFiles/absl_crc_cpu_detect.dir/internal/cpu_detect.cc.o
FAILED: third_party/sfizz/external/abseil-cpp/absl/crc/CMakeFiles/absl_crc_cpu_detect.dir/internal/cpu_detect.cc.o
F:\sdk\android\ndk\22.1.7171670\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64/sysroot -I../../../.././third_party/oboe/include -I../../../.././third_party/TinySoundFont -I../../../../third_party/sfizz/external/abseil-cpp -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -frelaxed-template-template-args -O0 -fno-limit-debug-info -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wno-multichar -Werror=return-type -Wcast-qual -Wconversion -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wfor-loop-analysis -Wformat-security -Wgnu-redeclared-enum -Winfinite-recursion -Winvalid-constexpr -Wliteral-conversion -Wmissing-declarations -Woverlength-strings -Wpointer-arith -Wself-assign -Wshadow-all -Wshorten-64-to-32 -Wsign-conversion -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-zero-compare -Wundef -Wuninitialized -Wunreachable-code -Wunused-comparison -Wunused-local-typedefs -Wunused-result -Wvla -Wwrite-strings -Wno-float-conversion -Wno-implicit-float-conversion -Wno-implicit-int-float-conversion -Wno-unknown-warning-option -DNOMINMAX -pthread -std=gnu++11 -MD -MT third_party/sfizz/external/abseil-cpp/absl/crc/CMakeFiles/absl_crc_cpu_detect.dir/internal/cpu_detect.cc.o -MF third_party\sfizz\external\abseil-cpp\absl\crc\CMakeFiles\absl_crc_cpu_detect.dir\internal\cpu_detect.cc.o.d -o third_party/sfizz/external/abseil-cpp/absl/crc/CMakeFiles/absl_crc_cpu_detect.dir/internal/cpu_detect.cc.o -c ../../../../third_party/sfizz/external/abseil-cpp/absl/crc/internal/cpu_detect.cc
In file included from ../../../../third_party/sfizz/external/abseil-cpp/absl/crc/internal/cpu_detect.cc:15:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/crc/internal/cpu_detect.h:18:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/config.h:86:
../../../../third_party/sfizz/external/abseil-cpp\absl/base/policy_checks.h:79:2: error: "C++ versions less than C++14 are not supported."
#error "C++ versions less than C++14 are not supported."
^
1 error generated.
[11/252] Building CXX object third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_log_severity.dir/log_severity.cc.o
FAILED: third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_log_severity.dir/log_severity.cc.o
F:\sdk\android\ndk\22.1.7171670\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64/sysroot -I../../../.././third_party/oboe/include -I../../../.././third_party/TinySoundFont -I../../../../third_party/sfizz/external/abseil-cpp -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -frelaxed-template-template-args -O0 -fno-limit-debug-info -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wno-multichar -Werror=return-type -Wcast-qual -Wconversion -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wfor-loop-analysis -Wformat-security -Wgnu-redeclared-enum -Winfinite-recursion -Winvalid-constexpr -Wliteral-conversion -Wmissing-declarations -Woverlength-strings -Wpointer-arith -Wself-assign -Wshadow-all -Wshorten-64-to-32 -Wsign-conversion -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-zero-compare -Wundef -Wuninitialized -Wunreachable-code -Wunused-comparison -Wunused-local-typedefs -Wunused-result -Wvla -Wwrite-strings -Wno-float-conversion -Wno-implicit-float-conversion -Wno-implicit-int-float-conversion -Wno-unknown-warning-option -DNOMINMAX -std=gnu++11 -MD -MT third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_log_severity.dir/log_severity.cc.o -MF third_party\sfizz\external\abseil-cpp\absl\base\CMakeFiles\absl_log_severity.dir\log_severity.cc.o.d -o third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_log_severity.dir/log_severity.cc.o -c ../../../../third_party/sfizz/external/abseil-cpp/absl/base/log_severity.cc
In file included from ../../../../third_party/sfizz/external/abseil-cpp/absl/base/log_severity.cc:15:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/log_severity.h:21:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/attributes.h:37:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/config.h:86:
../../../../third_party/sfizz/external/abseil-cpp\absl/base/policy_checks.h:79:2: error: "C++ versions less than C++14 are not supported."
#error "C++ versions less than C++14 are not supported."
^
1 error generated.
[12/252] Building CXX object third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_raw_logging_internal.dir/internal/raw_logging.cc.o
FAILED: third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_raw_logging_internal.dir/internal/raw_logging.cc.o
F:\sdk\android\ndk\22.1.7171670\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64/sysroot -I../../../.././third_party/oboe/include -I../../../.././third_party/TinySoundFont -I../../../../third_party/sfizz/external/abseil-cpp -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -frelaxed-template-template-args -O0 -fno-limit-debug-info -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wno-multichar -Werror=return-type -Wcast-qual -Wconversion -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wfor-loop-analysis -Wformat-security -Wgnu-redeclared-enum -Winfinite-recursion -Winvalid-constexpr -Wliteral-conversion -Wmissing-declarations -Woverlength-strings -Wpointer-arith -Wself-assign -Wshadow-all -Wshorten-64-to-32 -Wsign-conversion -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-zero-compare -Wundef -Wuninitialized -Wunreachable-code -Wunused-comparison -Wunused-local-typedefs -Wunused-result -Wvla -Wwrite-strings -Wno-float-conversion -Wno-implicit-float-conversion -Wno-implicit-int-float-conversion -Wno-unknown-warning-option -DNOMINMAX -std=gnu++11 -MD -MT third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_raw_logging_internal.dir/internal/raw_logging.cc.o -MF third_party\sfizz\external\abseil-cpp\absl\base\CMakeFiles\absl_raw_logging_internal.dir\internal\raw_logging.cc.o.d -o third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_raw_logging_internal.dir/internal/raw_logging.cc.o -c ../../../../third_party/sfizz/external/abseil-cpp/absl/base/internal/raw_logging.cc
In file included from ../../../../third_party/sfizz/external/abseil-cpp/absl/base/internal/raw_logging.cc:15:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/internal/raw_logging.h:24:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/attributes.h:37:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/config.h:86:
../../../../third_party/sfizz/external/abseil-cpp\absl/base/policy_checks.h:79:2: error: "C++ versions less than C++14 are not supported."
#error "C++ versions less than C++14 are not supported."
^
1 error generated.
[13/252] Building CXX object third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_throw_delegate.dir/internal/throw_delegate.cc.o
FAILED: third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_throw_delegate.dir/internal/throw_delegate.cc.o
F:\sdk\android\ndk\22.1.7171670\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64/sysroot -I../../../.././third_party/oboe/include -I../../../.././third_party/TinySoundFont -I../../../../third_party/sfizz/external/abseil-cpp -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -frelaxed-template-template-args -O0 -fno-limit-debug-info -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wno-multichar -Werror=return-type -Wcast-qual -Wconversion -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wfor-loop-analysis -Wformat-security -Wgnu-redeclared-enum -Winfinite-recursion -Winvalid-constexpr -Wliteral-conversion -Wmissing-declarations -Woverlength-strings -Wpointer-arith -Wself-assign -Wshadow-all -Wshorten-64-to-32 -Wsign-conversion -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-zero-compare -Wundef -Wuninitialized -Wunreachable-code -Wunused-comparison -Wunused-local-typedefs -Wunused-result -Wvla -Wwrite-strings -Wno-float-conversion -Wno-implicit-float-conversion -Wno-implicit-int-float-conversion -Wno-unknown-warning-option -DNOMINMAX -std=gnu++11 -MD -MT third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_throw_delegate.dir/internal/throw_delegate.cc.o -MF third_party\sfizz\external\abseil-cpp\absl\base\CMakeFiles\absl_throw_delegate.dir\internal\throw_delegate.cc.o.d -o third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_throw_delegate.dir/internal/throw_delegate.cc.o -c ../../../../third_party/sfizz/external/abseil-cpp/absl/base/internal/throw_delegate.cc
In file included from ../../../../third_party/sfizz/external/abseil-cpp/absl/base/internal/throw_delegate.cc:15:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/internal/throw_delegate.h:22:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/config.h:86:
../../../../third_party/sfizz/external/abseil-cpp\absl/base/policy_checks.h:79:2: error: "C++ versions less than C++14 are not supported."
#error "C++ versions less than C++14 are not supported."
^
1 error generated.
[14/252] Building CXX object third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_base.dir/internal/thread_identity.cc.o
FAILED: third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_base.dir/internal/thread_identity.cc.o
F:\sdk\android\ndk\22.1.7171670\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64/sysroot -I../../../.././third_party/oboe/include -I../../../.././third_party/TinySoundFont -I../../../../third_party/sfizz/external/abseil-cpp -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -frelaxed-template-template-args -O0 -fno-limit-debug-info -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wno-multichar -Werror=return-type -Wcast-qual -Wconversion -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wfor-loop-analysis -Wformat-security -Wgnu-redeclared-enum -Winfinite-recursion -Winvalid-constexpr -Wliteral-conversion -Wmissing-declarations -Woverlength-strings -Wpointer-arith -Wself-assign -Wshadow-all -Wshorten-64-to-32 -Wsign-conversion -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-zero-compare -Wundef -Wuninitialized -Wunreachable-code -Wunused-comparison -Wunused-local-typedefs -Wunused-result -Wvla -Wwrite-strings -Wno-float-conversion -Wno-implicit-float-conversion -Wno-implicit-int-float-conversion -Wno-unknown-warning-option -DNOMINMAX -pthread -std=gnu++11 -MD -MT third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_base.dir/internal/thread_identity.cc.o -MF third_party\sfizz\external\abseil-cpp\absl\base\CMakeFiles\absl_base.dir\internal\thread_identity.cc.o.d -o third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_base.dir/internal/thread_identity.cc.o -c ../../../../third_party/sfizz/external/abseil-cpp/absl/base/internal/thread_identity.cc
In file included from ../../../../third_party/sfizz/external/abseil-cpp/absl/base/internal/thread_identity.cc:15:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/internal/thread_identity.h:33:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/config.h:86:
../../../../third_party/sfizz/external/abseil-cpp\absl/base/policy_checks.h:79:2: error: "C++ versions less than C++14 are not supported."
#error "C++ versions less than C++14 are not supported."
^
1 error generated.
[15/252] Building CXX object third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_base.dir/internal/spinlock.cc.o
FAILED: third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_base.dir/internal/spinlock.cc.o
F:\sdk\android\ndk\22.1.7171670\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64/sysroot -I../../../.././third_party/oboe/include -I../../../.././third_party/TinySoundFont -I../../../../third_party/sfizz/external/abseil-cpp -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -frelaxed-template-template-args -O0 -fno-limit-debug-info -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wno-multichar -Werror=return-type -Wcast-qual -Wconversion -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wfor-loop-analysis -Wformat-security -Wgnu-redeclared-enum -Winfinite-recursion -Winvalid-constexpr -Wliteral-conversion -Wmissing-declarations -Woverlength-strings -Wpointer-arith -Wself-assign -Wshadow-all -Wshorten-64-to-32 -Wsign-conversion -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-zero-compare -Wundef -Wuninitialized -Wunreachable-code -Wunused-comparison -Wunused-local-typedefs -Wunused-result -Wvla -Wwrite-strings -Wno-float-conversion -Wno-implicit-float-conversion -Wno-implicit-int-float-conversion -Wno-unknown-warning-option -DNOMINMAX -pthread -std=gnu++11 -MD -MT third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_base.dir/internal/spinlock.cc.o -MF third_party\sfizz\external\abseil-cpp\absl\base\CMakeFiles\absl_base.dir\internal\spinlock.cc.o.d -o third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_base.dir/internal/spinlock.cc.o -c ../../../../third_party/sfizz/external/abseil-cpp/absl/base/internal/spinlock.cc
In file included from ../../../../third_party/sfizz/external/abseil-cpp/absl/base/internal/spinlock.cc:15:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/internal/spinlock.h:35:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/attributes.h:37:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/config.h:86:
../../../../third_party/sfizz/external/abseil-cpp\absl/base/policy_checks.h:79:2: error: "C++ versions less than C++14 are not supported."
#error "C++ versions less than C++14 are not supported."
^
1 error generated.
[16/252] Building CXX object third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_malloc_internal.dir/internal/low_level_alloc.cc.o
FAILED: third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_malloc_internal.dir/internal/low_level_alloc.cc.o
F:\sdk\android\ndk\22.1.7171670\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64/sysroot -I../../../.././third_party/oboe/include -I../../../.././third_party/TinySoundFont -I../../../../third_party/sfizz/external/abseil-cpp -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -frelaxed-template-template-args -O0 -fno-limit-debug-info -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wno-multichar -Werror=return-type -Wcast-qual -Wconversion -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wfor-loop-analysis -Wformat-security -Wgnu-redeclared-enum -Winfinite-recursion -Winvalid-constexpr -Wliteral-conversion -Wmissing-declarations -Woverlength-strings -Wpointer-arith -Wself-assign -Wshadow-all -Wshorten-64-to-32 -Wsign-conversion -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-zero-compare -Wundef -Wuninitialized -Wunreachable-code -Wunused-comparison -Wunused-local-typedefs -Wunused-result -Wvla -Wwrite-strings -Wno-float-conversion -Wno-implicit-float-conversion -Wno-implicit-int-float-conversion -Wno-unknown-warning-option -DNOMINMAX -pthread -std=gnu++11 -MD -MT third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_malloc_internal.dir/internal/low_level_alloc.cc.o -MF third_party\sfizz\external\abseil-cpp\absl\base\CMakeFiles\absl_malloc_internal.dir\internal\low_level_alloc.cc.o.d -o third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_malloc_internal.dir/internal/low_level_alloc.cc.o -c ../../../../third_party/sfizz/external/abseil-cpp/absl/base/internal/low_level_alloc.cc
In file included from ../../../../third_party/sfizz/external/abseil-cpp/absl/base/internal/low_level_alloc.cc:20:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/internal/low_level_alloc.h:31:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/attributes.h:37:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/config.h:86:
../../../../third_party/sfizz/external/abseil-cpp\absl/base/policy_checks.h:79:2: error: "C++ versions less than C++14 are not supported."
#error "C++ versions less than C++14 are not supported."
^
1 error generated.
[17/252] Building CXX object third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_base.dir/internal/sysinfo.cc.o
FAILED: third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_base.dir/internal/sysinfo.cc.o
F:\sdk\android\ndk\22.1.7171670\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64/sysroot -I../../../.././third_party/oboe/include -I../../../.././third_party/TinySoundFont -I../../../../third_party/sfizz/external/abseil-cpp -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -frelaxed-template-template-args -O0 -fno-limit-debug-info -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wno-multichar -Werror=return-type -Wcast-qual -Wconversion -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wfor-loop-analysis -Wformat-security -Wgnu-redeclared-enum -Winfinite-recursion -Winvalid-constexpr -Wliteral-conversion -Wmissing-declarations -Woverlength-strings -Wpointer-arith -Wself-assign -Wshadow-all -Wshorten-64-to-32 -Wsign-conversion -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-zero-compare -Wundef -Wuninitialized -Wunreachable-code -Wunused-comparison -Wunused-local-typedefs -Wunused-result -Wvla -Wwrite-strings -Wno-float-conversion -Wno-implicit-float-conversion -Wno-implicit-int-float-conversion -Wno-unknown-warning-option -DNOMINMAX -pthread -std=gnu++11 -MD -MT third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_base.dir/internal/sysinfo.cc.o -MF third_party\sfizz\external\abseil-cpp\absl\base\CMakeFiles\absl_base.dir\internal\sysinfo.cc.o.d -o third_party/sfizz/external/abseil-cpp/absl/base/CMakeFiles/absl_base.dir/internal/sysinfo.cc.o -c ../../../../third_party/sfizz/external/abseil-cpp/absl/base/internal/sysinfo.cc
In file included from ../../../../third_party/sfizz/external/abseil-cpp/absl/base/internal/sysinfo.cc:15:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/internal/sysinfo.h:33:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/config.h:86:
../../../../third_party/sfizz/external/abseil-cpp\absl/base/policy_checks.h:79:2: error: "C++ versions less than C++14 are not supported."
#error "C++ versions less than C++14 are not supported."
^
1 error generated.
[18/252] Building CXX object third_party/sfizz/external/abseil-cpp/absl/crc/CMakeFiles/absl_crc32c.dir/internal/crc_memcpy_x86_64.cc.o
FAILED: third_party/sfizz/external/abseil-cpp/absl/crc/CMakeFiles/absl_crc32c.dir/internal/crc_memcpy_x86_64.cc.o
F:\sdk\android\ndk\22.1.7171670\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64/sysroot -I../../../.././third_party/oboe/include -I../../../.././third_party/TinySoundFont -I../../../../third_party/sfizz/external/abseil-cpp -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -frelaxed-template-template-args -O0 -fno-limit-debug-info -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wno-multichar -Werror=return-type -Wcast-qual -Wconversion -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wfor-loop-analysis -Wformat-security -Wgnu-redeclared-enum -Winfinite-recursion -Winvalid-constexpr -Wliteral-conversion -Wmissing-declarations -Woverlength-strings -Wpointer-arith -Wself-assign -Wshadow-all -Wshorten-64-to-32 -Wsign-conversion -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-zero-compare -Wundef -Wuninitialized -Wunreachable-code -Wunused-comparison -Wunused-local-typedefs -Wunused-result -Wvla -Wwrite-strings -Wno-float-conversion -Wno-implicit-float-conversion -Wno-implicit-int-float-conversion -Wno-unknown-warning-option -DNOMINMAX -pthread -std=gnu++11 -MD -MT third_party/sfizz/external/abseil-cpp/absl/crc/CMakeFiles/absl_crc32c.dir/internal/crc_memcpy_x86_64.cc.o -MF third_party\sfizz\external\abseil-cpp\absl\crc\CMakeFiles\absl_crc32c.dir\internal\crc_memcpy_x86_64.cc.o.d -o third_party/sfizz/external/abseil-cpp/absl/crc/CMakeFiles/absl_crc32c.dir/internal/crc_memcpy_x86_64.cc.o -c ../../../../third_party/sfizz/external/abseil-cpp/absl/crc/internal/crc_memcpy_x86_64.cc
In file included from ../../../../third_party/sfizz/external/abseil-cpp/absl/crc/internal/crc_memcpy_x86_64.cc:54:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/dynamic_annotations.h:50:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/attributes.h:37:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/config.h:86:
../../../../third_party/sfizz/external/abseil-cpp\absl/base/policy_checks.h:79:2: error: "C++ versions less than C++14 are not supported."
#error "C++ versions less than C++14 are not supported."
^
In file included from ../../../../third_party/sfizz/external/abseil-cpp/absl/crc/internal/crc_memcpy_x86_64.cc:57:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/crc/crc32c.h:32:
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:338:18: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const]
constexpr void remove_prefix(size_type n) {
^
const
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:348:18: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const]
constexpr void remove_suffix(size_type n) {
^
const
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:356:18: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const]
constexpr void swap(string_view& s) noexcept {
^
const
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:340:10: error: cannot assign to non-static data member within const member function 'remove_prefix'
ptr_ += n;
~~~~ ^
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:338:18: note: member function 'absl::lts_20230125::string_view::remove_prefix' is declared const here
constexpr void remove_prefix(size_type n) {
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:341:13: error: cannot assign to non-static data member within const member function 'remove_prefix'
length_ -= n;
~~~~~~~ ^
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:338:18: note: member function 'absl::lts_20230125::string_view::remove_prefix' is declared const here
constexpr void remove_prefix(size_type n) {
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:338:18: error: constexpr function's return type 'void' is not a literal type
constexpr void remove_prefix(size_type n) {
^
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:350:13: error: cannot assign to non-static data member within const member function 'remove_suffix'
length_ -= n;
~~~~~~~ ^
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:348:18: note: member function 'absl::lts_20230125::string_view::remove_suffix' is declared const here
constexpr void remove_suffix(size_type n) {
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:348:18: error: constexpr function's return type 'void' is not a literal type
constexpr void remove_suffix(size_type n) {
^
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:358:11: error: no viable overloaded '='
*this = s;
~~~~~ ^ ~
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:161:7: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const absl::lts_20230125::string_view', but method is not marked const
class string_view {
^
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:161:7: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const absl::lts_20230125::string_view', but method is not marked const
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:356:18: error: constexpr function's return type 'void' is not a literal type
constexpr void swap(string_view& s) noexcept {
^
3 warnings and 8 errors generated.
[19/252] Building CXX object third_party/sfizz/external/abseil-cpp/absl/container/CMakeFiles/absl_hashtablez_sampler.dir/internal/hashtablez_sampler_force_weak_definition.cc.o
FAILED: third_party/sfizz/external/abseil-cpp/absl/container/CMakeFiles/absl_hashtablez_sampler.dir/internal/hashtablez_sampler_force_weak_definition.cc.o
F:\sdk\android\ndk\22.1.7171670\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64/sysroot -I../../../.././third_party/oboe/include -I../../../.././third_party/TinySoundFont -I../../../../third_party/sfizz/external/abseil-cpp -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -frelaxed-template-template-args -O0 -fno-limit-debug-info -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wno-multichar -Werror=return-type -Wcast-qual -Wconversion -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wfor-loop-analysis -Wformat-security -Wgnu-redeclared-enum -Winfinite-recursion -Winvalid-constexpr -Wliteral-conversion -Wmissing-declarations -Woverlength-strings -Wpointer-arith -Wself-assign -Wshadow-all -Wshorten-64-to-32 -Wsign-conversion -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-zero-compare -Wundef -Wuninitialized -Wunreachable-code -Wunused-comparison -Wunused-local-typedefs -Wunused-result -Wvla -Wwrite-strings -Wno-float-conversion -Wno-implicit-float-conversion -Wno-implicit-int-float-conversion -Wno-unknown-warning-option -DNOMINMAX -pthread -std=gnu++11 -MD -MT third_party/sfizz/external/abseil-cpp/absl/container/CMakeFiles/absl_hashtablez_sampler.dir/internal/hashtablez_sampler_force_weak_definition.cc.o -MF third_party\sfizz\external\abseil-cpp\absl\container\CMakeFiles\absl_hashtablez_sampler.dir\internal\hashtablez_sampler_force_weak_definition.cc.o.d -o third_party/sfizz/external/abseil-cpp/absl/container/CMakeFiles/absl_hashtablez_sampler.dir/internal/hashtablez_sampler_force_weak_definition.cc.o -c ../../../../third_party/sfizz/external/abseil-cpp/absl/container/internal/hashtablez_sampler_force_weak_definition.cc
In file included from ../../../../third_party/sfizz/external/abseil-cpp/absl/container/internal/hashtablez_sampler_force_weak_definition.cc:15:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/container/internal/hashtablez_sampler.h:47:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/config.h:86:
../../../../third_party/sfizz/external/abseil-cpp\absl/base/policy_checks.h:79:2: error: "C++ versions less than C++14 are not supported."
#error "C++ versions less than C++14 are not supported."
^
In file included from ../../../../third_party/sfizz/external/abseil-cpp/absl/container/internal/hashtablez_sampler_force_weak_definition.cc:15:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/container/internal/hashtablez_sampler.h:50:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/profiling/internal/sample_recorder.h:33:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/synchronization/mutex.h:74:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/synchronization/internal/kernel_timeout.h:35:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/time/clock.h:26:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/time/time.h:88:
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:338:18: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const]
constexpr void remove_prefix(size_type n) {
^
const
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:348:18: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const]
constexpr void remove_suffix(size_type n) {
^
const
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:356:18: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const]
constexpr void swap(string_view& s) noexcept {
^
const
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:340:10: error: cannot assign to non-static data member within const member function 'remove_prefix'
ptr_ += n;
~~~~ ^
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:338:18: note: member function 'absl::lts_20230125::string_view::remove_prefix' is declared const here
constexpr void remove_prefix(size_type n) {
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:341:13: error: cannot assign to non-static data member within const member function 'remove_prefix'
length_ -= n;
~~~~~~~ ^
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:338:18: note: member function 'absl::lts_20230125::string_view::remove_prefix' is declared const here
constexpr void remove_prefix(size_type n) {
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:338:18: error: constexpr function's return type 'void' is not a literal type
constexpr void remove_prefix(size_type n) {
^
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:350:13: error: cannot assign to non-static data member within const member function 'remove_suffix'
length_ -= n;
~~~~~~~ ^
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:348:18: note: member function 'absl::lts_20230125::string_view::remove_suffix' is declared const here
constexpr void remove_suffix(size_type n) {
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:348:18: error: constexpr function's return type 'void' is not a literal type
constexpr void remove_suffix(size_type n) {
^
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:358:11: error: no viable overloaded '='
*this = s;
~~~~~ ^ ~
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:161:7: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const absl::lts_20230125::string_view', but method is not marked const
class string_view {
^
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:161:7: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const absl::lts_20230125::string_view', but method is not marked const
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:356:18: error: constexpr function's return type 'void' is not a literal type
constexpr void swap(string_view& s) noexcept {
^
3 warnings and 8 errors generated.
[20/252] Building CXX object third_party/sfizz/external/abseil-cpp/absl/crc/CMakeFiles/absl_crc_internal.dir/internal/crc.cc.o
FAILED: third_party/sfizz/external/abseil-cpp/absl/crc/CMakeFiles/absl_crc_internal.dir/internal/crc.cc.o
F:\sdk\android\ndk\22.1.7171670\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64/sysroot -I../../../.././third_party/oboe/include -I../../../.././third_party/TinySoundFont -I../../../../third_party/sfizz/external/abseil-cpp -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -frelaxed-template-template-args -O0 -fno-limit-debug-info -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wno-multichar -Werror=return-type -Wcast-qual -Wconversion -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wfor-loop-analysis -Wformat-security -Wgnu-redeclared-enum -Winfinite-recursion -Winvalid-constexpr -Wliteral-conversion -Wmissing-declarations -Woverlength-strings -Wpointer-arith -Wself-assign -Wshadow-all -Wshorten-64-to-32 -Wsign-conversion -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-zero-compare -Wundef -Wuninitialized -Wunreachable-code -Wunused-comparison -Wunused-local-typedefs -Wunused-result -Wvla -Wwrite-strings -Wno-float-conversion -Wno-implicit-float-conversion -Wno-implicit-int-float-conversion -Wno-unknown-warning-option -DNOMINMAX -pthread -std=gnu++11 -MD -MT third_party/sfizz/external/abseil-cpp/absl/crc/CMakeFiles/absl_crc_internal.dir/internal/crc.cc.o -MF third_party\sfizz\external\abseil-cpp\absl\crc\CMakeFiles\absl_crc_internal.dir\internal\crc.cc.o.d -o third_party/sfizz/external/abseil-cpp/absl/crc/CMakeFiles/absl_crc_internal.dir/internal/crc.cc.o -c ../../../../third_party/sfizz/external/abseil-cpp/absl/crc/internal/crc.cc
In file included from ../../../../third_party/sfizz/external/abseil-cpp/absl/crc/internal/crc.cc:42:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/crc/internal/crc.h:20:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/config.h:86:
../../../../third_party/sfizz/external/abseil-cpp\absl/base/policy_checks.h:79:2: error: "C++ versions less than C++14 are not supported."
#error "C++ versions less than C++14 are not supported."
^
1 error generated.
[21/252] Building CXX object third_party/sfizz/external/abseil-cpp/absl/crc/CMakeFiles/absl_crc_internal.dir/internal/crc_x86_arm_combined.cc.o
FAILED: third_party/sfizz/external/abseil-cpp/absl/crc/CMakeFiles/absl_crc_internal.dir/internal/crc_x86_arm_combined.cc.o
F:\sdk\android\ndk\22.1.7171670\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64/sysroot -I../../../.././third_party/oboe/include -I../../../.././third_party/TinySoundFont -I../../../../third_party/sfizz/external/abseil-cpp -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -frelaxed-template-template-args -O0 -fno-limit-debug-info -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wno-multichar -Werror=return-type -Wcast-qual -Wconversion -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wfor-loop-analysis -Wformat-security -Wgnu-redeclared-enum -Winfinite-recursion -Winvalid-constexpr -Wliteral-conversion -Wmissing-declarations -Woverlength-strings -Wpointer-arith -Wself-assign -Wshadow-all -Wshorten-64-to-32 -Wsign-conversion -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-zero-compare -Wundef -Wuninitialized -Wunreachable-code -Wunused-comparison -Wunused-local-typedefs -Wunused-result -Wvla -Wwrite-strings -Wno-float-conversion -Wno-implicit-float-conversion -Wno-implicit-int-float-conversion -Wno-unknown-warning-option -DNOMINMAX -pthread -std=gnu++11 -MD -MT third_party/sfizz/external/abseil-cpp/absl/crc/CMakeFiles/absl_crc_internal.dir/internal/crc_x86_arm_combined.cc.o -MF third_party\sfizz\external\abseil-cpp\absl\crc\CMakeFiles\absl_crc_internal.dir\internal\crc_x86_arm_combined.cc.o.d -o third_party/sfizz/external/abseil-cpp/absl/crc/CMakeFiles/absl_crc_internal.dir/internal/crc_x86_arm_combined.cc.o -c ../../../../third_party/sfizz/external/abseil-cpp/absl/crc/internal/crc_x86_arm_combined.cc
In file included from ../../../../third_party/sfizz/external/abseil-cpp/absl/crc/internal/crc_x86_arm_combined.cc:20:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/attributes.h:37:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/config.h:86:
../../../../third_party/sfizz/external/abseil-cpp\absl/base/policy_checks.h:79:2: error: "C++ versions less than C++14 are not supported."
#error "C++ versions less than C++14 are not supported."
^
In file included from ../../../../third_party/sfizz/external/abseil-cpp/absl/crc/internal/crc_x86_arm_combined.cc:29:
../../../../third_party/sfizz/external/abseil-cpp\absl/memory/memory.h:97:12: error: no member named 'make_unique' in namespace 'std'
using std::make_unique;
~~~~~^
2 errors generated.
[22/252] Building CXX object third_party/sfizz/external/abseil-cpp/absl/container/CMakeFiles/absl_hashtablez_sampler.dir/internal/hashtablez_sampler.cc.o
FAILED: third_party/sfizz/external/abseil-cpp/absl/container/CMakeFiles/absl_hashtablez_sampler.dir/internal/hashtablez_sampler.cc.o
F:\sdk\android\ndk\22.1.7171670\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64/sysroot -I../../../.././third_party/oboe/include -I../../../.././third_party/TinySoundFont -I../../../../third_party/sfizz/external/abseil-cpp -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -frelaxed-template-template-args -O0 -fno-limit-debug-info -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wno-multichar -Werror=return-type -Wcast-qual -Wconversion -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wfor-loop-analysis -Wformat-security -Wgnu-redeclared-enum -Winfinite-recursion -Winvalid-constexpr -Wliteral-conversion -Wmissing-declarations -Woverlength-strings -Wpointer-arith -Wself-assign -Wshadow-all -Wshorten-64-to-32 -Wsign-conversion -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-zero-compare -Wundef -Wuninitialized -Wunreachable-code -Wunused-comparison -Wunused-local-typedefs -Wunused-result -Wvla -Wwrite-strings -Wno-float-conversion -Wno-implicit-float-conversion -Wno-implicit-int-float-conversion -Wno-unknown-warning-option -DNOMINMAX -pthread -std=gnu++11 -MD -MT third_party/sfizz/external/abseil-cpp/absl/container/CMakeFiles/absl_hashtablez_sampler.dir/internal/hashtablez_sampler.cc.o -MF third_party\sfizz\external\abseil-cpp\absl\container\CMakeFiles\absl_hashtablez_sampler.dir\internal\hashtablez_sampler.cc.o.d -o third_party/sfizz/external/abseil-cpp/absl/container/CMakeFiles/absl_hashtablez_sampler.dir/internal/hashtablez_sampler.cc.o -c ../../../../third_party/sfizz/external/abseil-cpp/absl/container/internal/hashtablez_sampler.cc
In file included from ../../../../third_party/sfizz/external/abseil-cpp/absl/container/internal/hashtablez_sampler.cc:15:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/container/internal/hashtablez_sampler.h:47:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/config.h:86:
../../../../third_party/sfizz/external/abseil-cpp\absl/base/policy_checks.h:79:2: error: "C++ versions less than C++14 are not supported."
#error "C++ versions less than C++14 are not supported."
^
In file included from ../../../../third_party/sfizz/external/abseil-cpp/absl/container/internal/hashtablez_sampler.cc:15:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/container/internal/hashtablez_sampler.h:50:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/profiling/internal/sample_recorder.h:33:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/synchronization/mutex.h:74:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/synchronization/internal/kernel_timeout.h:35:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/time/clock.h:26:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/time/time.h:88:
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:338:18: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const]
constexpr void remove_prefix(size_type n) {
^
const
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:348:18: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const]
constexpr void remove_suffix(size_type n) {
^
const
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:356:18: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const]
constexpr void swap(string_view& s) noexcept {
^
const
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:340:10: error: cannot assign to non-static data member within const member function 'remove_prefix'
ptr_ += n;
~~~~ ^
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:338:18: note: member function 'absl::lts_20230125::string_view::remove_prefix' is declared const here
constexpr void remove_prefix(size_type n) {
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:341:13: error: cannot assign to non-static data member within const member function 'remove_prefix'
length_ -= n;
~~~~~~~ ^
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:338:18: note: member function 'absl::lts_20230125::string_view::remove_prefix' is declared const here
constexpr void remove_prefix(size_type n) {
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:338:18: error: constexpr function's return type 'void' is not a literal type
constexpr void remove_prefix(size_type n) {
^
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:350:13: error: cannot assign to non-static data member within const member function 'remove_suffix'
length_ -= n;
~~~~~~~ ^
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:348:18: note: member function 'absl::lts_20230125::string_view::remove_suffix' is declared const here
constexpr void remove_suffix(size_type n) {
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:348:18: error: constexpr function's return type 'void' is not a literal type
constexpr void remove_suffix(size_type n) {
^
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:358:11: error: no viable overloaded '='
*this = s;
~~~~~ ^ ~
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:161:7: note: candidate function (the implicit copy assignment operator) not viable: 'this' argument has type 'const absl::lts_20230125::string_view', but method is not marked const
class string_view {
^
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:161:7: note: candidate function (the implicit move assignment operator) not viable: 'this' argument has type 'const absl::lts_20230125::string_view', but method is not marked const
../../../../third_party/sfizz/external/abseil-cpp\absl/strings/string_view.h:356:18: error: constexpr function's return type 'void' is not a literal type
constexpr void swap(string_view& s) noexcept {
^
In file included from ../../../../third_party/sfizz/external/abseil-cpp/absl/container/internal/hashtablez_sampler.cc:27:
../../../../third_party/sfizz/external/abseil-cpp\absl/memory/memory.h:97:12: error: no member named 'make_unique' in namespace 'std'
using std::make_unique;
~~~~~^
3 warnings and 9 errors generated.
[23/252] Building CXX object third_party/sfizz/external/abseil-cpp/absl/container/CMakeFiles/absl_raw_hash_set.dir/internal/raw_hash_set.cc.o
FAILED: third_party/sfizz/external/abseil-cpp/absl/container/CMakeFiles/absl_raw_hash_set.dir/internal/raw_hash_set.cc.o
F:\sdk\android\ndk\22.1.7171670\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android21 --gcc-toolchain=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=F:/sdk/android/ndk/22.1.7171670/toolchains/llvm/prebuilt/windows-x86_64/sysroot -I../../../.././third_party/oboe/include -I../../../.././third_party/TinySoundFont -I../../../../third_party/sfizz/external/abseil-cpp -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -std=c++17 -frelaxed-template-template-args -O0 -fno-limit-debug-info -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wno-multichar -Werror=return-type -Wcast-qual -Wconversion -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wfor-loop-analysis -Wformat-security -Wgnu-redeclared-enum -Winfinite-recursion -Winvalid-constexpr -Wliteral-conversion -Wmissing-declarations -Woverlength-strings -Wpointer-arith -Wself-assign -Wshadow-all -Wshorten-64-to-32 -Wsign-conversion -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-zero-compare -Wundef -Wuninitialized -Wunreachable-code -Wunused-comparison -Wunused-local-typedefs -Wunused-result -Wvla -Wwrite-strings -Wno-float-conversion -Wno-implicit-float-conversion -Wno-implicit-int-float-conversion -Wno-unknown-warning-option -DNOMINMAX -pthread -std=gnu++11 -MD -MT third_party/sfizz/external/abseil-cpp/absl/container/CMakeFiles/absl_raw_hash_set.dir/internal/raw_hash_set.cc.o -MF third_party\sfizz\external\abseil-cpp\absl\container\CMakeFiles\absl_raw_hash_set.dir\internal\raw_hash_set.cc.o.d -o third_party/sfizz/external/abseil-cpp/absl/container/CMakeFiles/absl_raw_hash_set.dir/internal/raw_hash_set.cc.o -c ../../../../third_party/sfizz/external/abseil-cpp/absl/container/internal/raw_hash_set.cc
In file included from ../../../../third_party/sfizz/external/abseil-cpp/absl/container/internal/raw_hash_set.cc:15:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/container/internal/raw_hash_set.h:186:
In file included from ../../../../third_party/sfizz/external/abseil-cpp\absl/base/config.h:86:
../../../../third_party/sfizz/external/abseil-cpp\absl/base/policy_checks.h:79:2: error: "C++ versions less than C++14 are not supported."
#error "C++ versions less than C++14 are not supported."
I am getting an error when I try to run development build on iOS:
Could not build the precompiled application for the device.
Error (Xcode): Signing for "flutter_sequencer-flutter_sequencer" requires a development team. Select a development team in the Signing & Capabilities editor.
/<path>/bpm-calc-app/ios/Pods/Pods.xcodeproj
I can change the development team through XCode and run the app successfully in XCode, but I still can't run it through command/IDE (IntelliJ IDEA).
This is a great plugin.
I encountered this error when I tried to extract the released version.
It only works in debug and profile mode
[VERBOSE-2:ui_dart_state.cc(177)] Unhandled Exception: Invalid argument(s): Failed to lookup symbol (dlsym(RTLD_DEFAULT, RegisterDart_PostCObject): symbol not found)
#0 DynamicLibrary.lookup (dart:ffi-patch/ffi_dynamic_library_patch.dart:31)
#1 nRegisterPostCObject (package:flutter_sequencer/native_bridge.dart)
#2 nRegisterPostCObject (package:flutter_sequencer/native_bridge.dart)
#3 NativeBridge.doSetup (package:flutter_sequencer/native_bridge.dart:101)
<asynchronous suspension>
#4 GlobalState._setupEngine (package:flutter_sequencer/global_state.dart:121)
<asynchronous suspension>
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.22.5, on Mac OS X 10.15.7 19H2 darwin-x64, locale zh-Hans-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
[!] Android Studio (version 4.1)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.52.1)
[✓] Connected device (3 available)
I tried some solutions, but still can't solve this problem.
In Xcode, go to Target Runner > Build Settings > Strip Style.
Change from All Symbols to Non-Global Symbols.
how to add reverb and delay and paning , comporessor
Unhandled Exception: Invalid argument(s): Failed to lookup symbol (dlsym(RTLD_DEFAULT, setup_engine): symbol not found)
Hi,
The flutter_midi plugin is not fast enough for playing single notes from an sf2 file (there's a huge of amount of delay) so I'm using your plugin with the following functions:
_selectedTrack?.startNoteNow(noteNumber: noteNumber, velocity: velocity);
_selectedTrack?.stopNoteNow(noteNumber: noteNumber);
And this plugin is super fast, thank you for your great work.
I use a midi keyboard with a pitch wheel and when I experiment with the wheel, I get pitch values between 0 (lowest) and 127 (highest).
So I assumed that, I can change the pitch of the playing note (triggered with startNoteNow() function) using the following function:
_selectedTrack?.midiPitchBendNow(value: (pitch - 64) / 64);
I assume the value parameter should be between -1 and 1.
However it has no effect on the playing note.
Can you please help about this function?
And is it also possible to apply reverb to the playing note?
FAILURE: Build failed with an exception.
Where:
Build file '/Users/kishon/.pub-cache/hosted/pub.dartlang.org/flutter_sequencer-0.4.3/android/build.gradle' line: 26What went wrong:
A problem occurred evaluating project ':flutter_sequencer'.Failed to apply plugin 'com.android.internal.library'.
The option 'android.enablePrefab' is deprecated.
It was removed in version 4.1 of the Android Gradle plugin.
This property has been replaced by android.buildFeatures.prefab (DSL)
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.Get more help at https://help.gradle.org
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.