Author Topic: Compiling Magic Lantern with Cygwin/MinGW-64  (Read 21767 times)

dfort

  • Hero Member
  • *****
  • Posts: 1747
Re: Compiling Magic Lantern with Cygwin/MinGW-64
« Reply #75 on: July 30, 2017, 02:01:33 AM »
Just ran into an issue where if the user name has a space in it the cmd script won't work. The fix was to quote the %UserProfile%:

Code: [Select]
"%UserProfile%"
Go figure. Fixed it in the tutorial.

[EDIT] Sorry, there are also issues with the build scripts so even though you can setup a Cygwin development environment on a Windows system that has spaces in the user name, ML won't build.

Code: [Select]
make[1]: Leaving directory '/home/new user/magic-lantern/tcc'
...
cp: target 'gcc-libgcc.a' is not a directory
make: *** [../../src/Makefile.src:320: gcc-libgcc.a] Error 1

Best advice for now is not to put spaces in your Windows user name.
EOSM.202 EOSM.203 EOSM2.103 700D.115 5D3.*