I thought I would try and make it easier for people to build Magiclantern. This is a work in progress and only brave people should help me test - but I do want testers! This should work on Linux, Mac or Windows 10, I have only tested on Linux.
The idea is we'd only need one set of instructions for building on any OS, and as a bonus everyone would be building with the same build tools, which is nice for debugging problems. I hope the instructions can be much simpler than the current process. There are some downsides but I think they're manageable.
To help, you will need git, and be happy to run command-line stuff. Do this:
git clone
https://bitbucket.org/stephen-e/ml_docker_builderThen follow the instructions in the README.txt.
Please use README.txt (I want feedback on those instructions so that I can improve them). However, so that people can see what I'm trying to do, the process is like this:
<install docker>
<become root or admin>
<copy-paste the following lines...>
docker build -t ml_build .
docker rm ml_build_output
docker create --name ml_build_output ml_build
https://bitbucket.org/hudson/magic-lantern/branch/unified 5D3.113
docker start --attach ml_build_output
docker cp ml_build_output:/home/ml_builder/ml_build/autoexec.bin .
You should now have autoexec.bin. You can change the repo or camera version to get different autoexec.bin. It works with both Mercurial and Git repos (but this is pretty crude, I'm sure there are cases I haven't considered).
I *think* that is a fairly easy way to get started building ML? If it isn't helpful, please let me know. If there are obvious things that should be added, also let me know. I guess I want some ability to make the zipfile? I don't know what most people use to create the files they need.
I also don't have a cam that works with ML, so I can't test this is currently a good build. I know ML can build but with broken output with some compiler versions, etc - at the moment I just want to know if autoexec.bin builds for different people on different OS. If you want to try the autoexec.bin, that's up to you! I give no guarantees!