DBraun/DawDreamer

Can't get dawdreamer running in a docker container!

Opened this issue · 2 comments

Anyone have this issue? I get an error about missing a .so.1 file. I'm on Mac m1 and I have to use -platform Linux/amd64 to get it built, and then I get that error when I try and run it.
If I try to run it without the platform flag, I can't build because pip can't find dawdreamer.

The thing I don't understand is, my Mac m1 runs dawdreamer great locally, so I'm assuming my architecture (arm) is supported...

Sorry for late response here. The issue is most likely related to Libfaust, which for a long time wasn't built on GitHub actions for Linux aarch64. I think that by specifying -platform Linux/amd64 you are building for Intel/x86_64, which is not ideal for your M1 mac. It probably finds the x86_64 libfaust for compilation, but then just doesn't work correctly. It would probably be better for me to finish making DawDreamer work with the relatively new Libfaust aarch64. Then you would use Docker without the platform flag, and everything might work fine.

@DBraun Not directly related to the Docker issue, but worth noting that aarch64 compatibility would be terrific for running on a Raspberry Pi.