Open e1ke opened 1 year ago
I just ran into a similar issue. I added flutter sequencer to a pretty much clean project targeting android and developing on windows. So far I've found adjusting CMAKE_CXX_STANDARD in CMakeLists.txt has some affect. Oddly even with CXX 17, I get the message that versions < C++14 are not supported. Changing to CXX 14, 20, or 23 yield other errors loading the same (abseil) library. Let me know if you've found a solution or made other progress, I'd like to solve this and submit a PR if necessary.
@dbrowne11 @e1ke Could you solve this issue? I get the same error when I try to build to android with an M1 mac.
no, unfortunately I could not solve the issue. I used the flutter_sequencer to get a clean metronome but because of this issue i changed my app to sadly not use this package anymore. Instead I tried to implement my own algorithm for a metronome on point but I am still struggling with it
I think I found the problem. Sfizz, which checked out as a third party repo with a given commit cloneThirdPartyRepo('sfizz', 'https://github.com/sfztools/sfizz.git', 'fc1f0451cebd8996992cbc4f983fcf76b03295c5')
uses abseil-cpp as a submodule.
Based on the .gitsubmodules file in the sfizz folder, it should check out the branch = lts_2020_02_25, but if you check the version with git submodule status abseil-cpp
, it actually checks out the latest version.
I updated the the submodules at android/third_party/sfizz:
git submodule init
git submodule update
Then I deleted the android/.cxx folder. After this when I tried to rebuilt my project, it built successfully.
I am not sure how to fix this in the package, as the problem is in the checked out sfizz repo I think.
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:
could I somehow help you, updating this plugin? Do you need more information? I found these hints on my research: https://github.com/protocolbuffers/protobuf/issues/12393 https://stackoverflow.com/questions/75850778/error-c-versions-less-than-c14-are-not-supported-in-bazel-how-to-resolve