Open machiato32 opened 1 year ago
Hi @machiato32 Clang is required to build for Windows, see our platform considerations doc.
This issue may also be helpful: https://github.com/rive-app/rive-flutter/issues/279#issuecomment-1370748762
Hi @HayesGordon, so this wasn't the case for version 0.9.1, right? I looked at the changelog on pub.dev before posting this and nothing regarding Windows was on there. Sorry if this is a duplicate then.
It may be that you did have Clang installed, but you now require a later version. I believe there is a version of it that comes built within Windows - but not too sure about that.
For fun you can check to see, before installing anything:
clang --version
But yeah, I think if you update to the latest it should work! Let me know and I'll close this.
clang --version outputs:
clang version 16.0.1
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\Program Files\LLVM\bin
Yet still outputs the same error
error MSB8020: The build tools for ClangCL (Platform Toolset = 'ClangCL') cannot be found. To build using the ClangCL build tools, please install ClangCL build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution".
Visual Studio didn't work so I installed from LLVM-16.0.1-win64.exe
Do I need to modify anything else? Is it okay to open flutter windows folder in visual studio it seems to generate lot of boiler plate code
@machiato32 did you manage to solve the problem? I have this issue with codemagic build now
This happens on codemagic side. Should they do anything to support the latest rive version?
Description
When building for windows with version 0.10.3 build fails:
Steps To Reproduce
flutter run windows
Device & Versions
Flutter doctor output:
Additional context
The build doesn't fail on rive version 0.9.1