[Bf-committers] build blender with mingw

Caleb Joseph comcal116 at gmail.com
Sun Apr 22 13:21:49 CEST 2012


On 22/04/2012 8:40 PM, Antony Riakiotakis wrote:
> I am extremely proud to announce I have the first working build of
> blender built with MinGW64:)
>
> The problem is with pyextensions, look athttp://bugs.python.org/issue4709
>
> The solution is to define MS_WIN64 when building with MinGW64.

Awesome :)

Are you using the Python DLL built using Visual Studio with a .def file, 
or did you actually manage to build Python with MinGW-w64? I built it 
myself and couldn't get Python to start without some kind of error last 
time I tried. I'll try again if you could elaborate how you fixed the 
Python issue.

I didn't document my process for building OpenEXR sorry, but I did use 
rubenvb's gcc 4.7 build. I compiled OpenEXR 1.6.1, and OpenImageIO 1.0 
(think it was latest git revision) if that helps. If you don't manage to 
get it complied (I'm sure you will), feel free to try the libraries I 
built in March at http://www.mediafire.com/download.php?gryvbqgotcv1s5q 
. Getting stuff to compile with MinGW-w64 involves a lot of hacking 
along with trial and error, so I didn't bother to record my steps and 
modifications :P

Best of luck getting it to build, can't wait to see how much faster 
Cycles will be. I'll try again when I get some time and figure Python out.




More information about the Bf-committers mailing list