Antony Riakiotakis
237a9fde92
Enable OpenColorIO for MinGW64 build targets
2012-09-16 18:05:32 +00:00
Sergey Sharybin
b93da9b01e
Color Management, Stage 1: Initial OpenColorIO library integration
...
This commit integrates support of OpenColorIO library into build systems.
It also contains C-API for OpenColorIO library which could be used by Blender.
CMake has got find rules familiar to OpenImageIO's one which makes it easier
for build system to find needed libraries and includes. Scons only could use
explicitly defined paths to libraries and includes.
C-API would be compiled and Blender would be linked against C-API and OpenColorIO
but it wouldn't affect on Blender behavior at all.
OpenColorIO could be disabled by setting up WITH_OCIO to Off in CMake and
setting WITH_BF_OCIO in Scons.
2012-09-15 10:03:17 +00:00
Antony Riakiotakis
bcb552ef94
Enable shader model 3.0 shaders for mingw compilers
2012-09-01 14:53:01 +00:00
Antony Riakiotakis
3793e178f4
Turn OpenMP off for MinGW64. I thought it behaved correctly in new compiler builds but unfortunately it looks like there is some issue still which mostly shows when openmp threads stop. This causes crashes after rendering with subsurf, multires, when calculating fluids and possibly when other functionality is used as well.
...
This should make MinGW64 builds quite stable again :)
2012-08-22 00:06:09 +00:00
Antony Riakiotakis
fa92f2fb55
Update build systems to copy needed dlls from MinGW-w64, turn openmp on by default for MinGW.
2012-07-05 11:39:11 +00:00
Antony Riakiotakis
84c0aee254
Correct openjpeg for scons too.
2012-06-21 14:49:10 +00:00
Antony Riakiotakis
232980eef0
Cleanup optimization compile flags for mingw-w64.
...
After testing it seems that for safe debug sessions, debug build optimizations need to be off.
Also removed sse flags from release flags since they are included in ray optimization flags which are on by default.
2012-05-14 23:36:07 +00:00
Antony Riakiotakis
e5963aae1d
Change the scons configuration for MinGW-w64 to be more in-line with cmake. Also deactivate openmp as it causes crashes when rendering with subsurf or multires modifiers
2012-05-13 17:26:07 +00:00
Nathan Letwory
e8e1a7cb9e
Enable OpenCOLLADA support for MingW64 builds by default.
...
Note: don't forget to update your local checkout of lib/mingw64
2012-05-11 17:29:55 +00:00
Antony Riakiotakis
f91fa9d2ce
Enable ffmpeg building with MinGW-w64. The libraries were compiled with gcc 4.7, however is has been claimed there are issues with gcc > 4.4 so this is for testing purposes. Still it doesn't crash on startup anymore. Forgot to mention on ffmpeg lib commit that committed ffmpeg version is 0.10.2
2012-05-10 11:37:41 +00:00
Antony Riakiotakis
75addcf233
Lower optimization settings for MinGW-w64. Full optimization causes artifacts with empties and gods know what else. Turned on -ftree-vectorize to match MSVC behaviour for 64bit.
2012-04-24 17:20:51 +00:00
Antony Riakiotakis
4e6590067d
revert 45924, not a very clean solution, especially for external libraries and looks like -fpermissive is used in linux too
2012-04-24 16:14:23 +00:00
Antony Riakiotakis
0db3c5f743
Remove mingw-w64 errors from loss of precision by converting 64bit pointers to ints. All cases found were harmless and the error behaviour could be turned off by the -fpermissive flag but I'd rather keep that off to detect any real problems should they arise.
2012-04-24 14:33:44 +00:00
Antony Riakiotakis
4782522379
Add libMV and Scons support for MinGW-w64, patches by Caleb Joseph with slight modifications.
...
Thanks!
2012-04-24 12:57:58 +00:00