This is FreeImage 3.17.0 clone to be used when building LuxRender (on OS X)
- It has general fixes so that it can be compiled with C++11 and -Wc++11-narrowing
- It has altered
Makefile.osx
- Builds only 64 bit
- Specify
MACOSX_DEPLOYMENT_TARGET
- For 10.7+ and C++11 keep
-std=c++11 -stdlib=libc++ -Wc++11-narrowing
inCOMPILERPPFLAGS
- For 10.7+ and no C++11 remove
-std=c++11 -stdlib=libc++ -Wc++11-narrowing
inCOMPILERPPFLAGS
- For 10.6 remove
-std=c++11 -stdlib=libc++ -Wc++11-narrowing
and add-stdlib=libstdc++
inCOMPILERPPFLAGS