Page MenuHome

Unable to build flamenco on WIndows 11
Needs Triage, NormalPublic


Build failure when attempting to build under Windows with cmd.exe & mingw64 make, caused by the use of the rm command that's not available on stock Windows.

PS D:\gits\git-blender-flamenco\flamenco> make
yarn --cwd web/app install
yarn install v1.22.19
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.16s.
D:/mingw64/bin/make webapp-static
make[1]: Entering directory 'D:/gits/git-blender-flamenco/flamenco'
go build -v -ldflags="-X -X -X"
D:/mingw64/bin/make clean-webapp-static
make[2]: Entering directory 'D:/gits/git-blender-flamenco/flamenco'
rm -rf ./web/static
process_begin: CreateProcess(NULL, rm -rf ./web/static, ...) failed.
make (e=2): The system cannot find the file specified.
make[2]: *** [Makefile:223: clean-webapp-static] Error 2
make[2]: Leaving directory 'D:/gits/git-blender-flamenco/flamenco'
make[1]: *** [Makefile:87: webapp-static] Error 2
make[1]: Leaving directory 'D:/gits/git-blender-flamenco/flamenco'
make: *** [Makefile:60: flamenco-manager] Error 2

Uploaded a potential fix at D16562: Fix T102633 by having Windows-specific commands in Makefile.

The proposed fix enables building flamenco only. It does not enable publishing the project web site, etc

Event Timeline

Utilizing MSYS2 on Windows I'd thought I'd eliminated the build problems without requiring a rewrite of the Makefile. However, though the default build does build without error under msys2, flamenco-manager hangs before serving up the app webpage. I'll continue poking around with the msys build to understand what is going wrong. Meanwhile, I can successfully build the default target via vanilla Windows shell with the modified makefile, which allows me to debug flamenco-manager in a good state.

Thanks for the report & the patch -- I'll write replies/comments on the patch itself directly at D16562.

What I would like to have for Flamenco, but personally don't really have the time for, is a way to avoid make altogether. could be a good alternative, but reimplementing everything in the Makefile would take a considerable amount of time. Would you be interested in helping there as well?

Sounds like fun. Sign me up! Would be a great way to become more familiar with golang as well.

Excellent! It might be good for you to pop over to and poke me (I'm @dr.sybren there). That'll be an easier way to do a quick back&forth to get you started.

I'm 8 hours behind you (02:08 here) so I'll try to catch you in the afternoon.