[Bf-committers] build blender with mingw

Caleb Joseph comcal116 at gmail.com
Sun Apr 22 00:55:49 CEST 2012


On 22/04/2012 12:27 AM, Antony Riakiotakis wrote:
> Caleb, the libraries you are using are appended with .lib. I am not
> sure exactly how you generated them but MinGW libraries will have a
> lib*.a naming convention. Especially for C++ generated libraries we
> need to get libraries generated from MinGW as the ABIs differ between
> compilers. I haven't tried using your patches yet though.
They were all built with MinGW-w64, I renamed them to .lib to avoid 
errors about the library not being found when building Blender.

It was a while ago when I built OpenEXR, so I'm not sure what the issue 
is here. It sounds like your MSYS install is outdated, make sure you're 
using the one from http://code.google.com/p/msysgit/downloads/list 
(msysGit-fullinstall-1.7.10-preview20120409.exe). Also, try reading the 
MinGW build notes in the /lib/windows/openexr SVN folder, I recall some 
code needs patching for MinGW complication.

When I got Blender to build with MinGW-w64, it instantly crashed. I 
traced this to a Unicode-related function in Python failing, but I don't 
have the debug logs any more. I originally thought this was to do with 
MinGW-w64's pthread implementation, but it turned out to be Python. Let 
us know if you have better luck.


More information about the Bf-committers mailing list