[Bf-committers] Cycles MinGW compilation

Αντώνης Ρυακιωτάκης kalast at gmail.com
Mon Sep 12 19:44:45 CEST 2011


Hi brecht, excellent! By the way, what configuration enable flags do you use
with cmake when compiling? I use the following:

cd C:\Users\Psy-Fi\workspace\oiio
cmake C:\blender_svn\oiio\src\ -G "Eclipse CDT4 - MinGW Makefiles"
-DBUILDSTATIC=1 -DBOOST_CUSTOM=1
-DBoost_INCLUDE_DIRS=C:\blender_svn\lib\windows\boost\include\
-DBoost_LIBRARY_DIRS=C:\blender_svn\lib\windows\boost\lib
-DBoost_LIBRARIES="boost_date_time-mgw45-mt-1_47;boost_filesystem-mgw45-mt-1_47;boost_thread-mgw45-mt-1_47;boost_regex-mgw45-mt-1_47;boost_system-mgw45-mt-1_47"
-DILMBASE_INCLUDE_DIR=C:\blender_svn\lib\windows\gcc\openexr\include
-DOPENEXR_INCLUDE_DIR=C:\blender_svn\lib\windows\gcc\openexr\include
-DZLIB_INCLUDE_DIR=C:\blender_svn\lib\windows\zlib\include
-DZLIB_LIBRARY=C:\blender_svn\lib\windows\zlib\lib\libz.a
-DPNG_LIBRARY=C:\blender_svn\lib\windows\png\lib\libpng.a
-DPNG_PNG_INCLUDE_DIR=C:\blender_svn\lib\windows\png\include
-DJPEG_LIBRARY=C:\blender_svn\lib\windows\jpeg\lib\libjpeg.lib
-DJPEG_INCLUDE_DIR=C:\blender_svn\lib\windows\jpeg\include
-DTIFF_LIBRARY=C:\blender_svn\lib\windows\tiff\lib\libtiff.lib
-DTIFF_INCLUDE_DIR=C:\blender_svn\lib\windows\tiff\include
-DCMAKE_INSTALL_PREFIX=C:\blender_svn\lib\windows\openimageio


Not there yet, and I am getting some warnings:

-- Project source dir = C:/blender_svn/oiio/src
-- Project build dir = C:/Users/Psy-Fi/workspace/oiio
-- Building with thread support
-- Setting Namespace to: OpenImageIO
-- CMAKE_SYSTEM_NAME = Windows
-- CMAKE_SYSTEM_VERSION = 6.1
-- CMAKE_SYSTEM_PROCESSOR = x86
-- Windows!
-- platform = windows
-- THIRD_PARTY_TOOLS_HOME = unknown
-- SPECIAL_COMPILE_FLAGS =
-- ILMBASE_VERSION = 1.0.1
-- ILMBASE_HOME = unknown
-- OPENEXR_VERSION = 1.6.1
-- OPENEXR_HOME = unknown
-- BOOST_ROOT
-- Boost found true
-- Boost version
-- Boost include dirs C:\blender_svn\lib\windows\boost\include\
-- Boost library dirs C:\blender_svn\lib\windows\boost\lib
-- Boost libraries
libboost_date_time-mgw45-mt-1_47.a;libboost_filesystem-mgw45-mt-1_47.a;libboost_thread-mgw45-mt-1_47.a;libboost_regex-mgw45-mt-1_47.a;libboost_system-mgw45-mt-1_47.a
-- Boost_python_FOUND
-- Boost python support not found -- will not build python components!
-- OPENGL_FOUND=TRUE USE_OPENGL=ON
-- QT4_FOUND=
-- QT_INCLUDES=
-- QT_LIBRARIES=
-- GLEW not found
-- Looking for system HDF5
-- Could NOT find HDF5 (missing:  HDF5_LIBRARIES HDF5_INCLUDE_DIRS)
-- HDF5_FOUND=FALSE
-- HDF5_INCLUDE_DIRS=HDF5_CXX_INCLUDE_DIR-NOTFOUND
-- HDF5_C_LIBRARIES=
-- HDF5_CXX_LIBRARIES=
-- 
HDF5_LIBRARIES=debug;HDF5_hdf5_cpp_LIBRARY_DEBUG-NOTFOUND;HDF5_hdf5_hl_LIBRARY_DEBUG-NOTFOUND;HDF5_hdf5_LIBRARY_DEBUG-NOTFOUND;optimized;HDF5_hdf5_cpp_LIBRARY_RELEASE-NOTFOUND;HDF5_hdf5_hl_LIBRARY_RELEASE-NOTFOUND;HDF5_hdf5_LIBRARY_RELEASE-NOTFOUND
-- HDF5_LIBRARY_DIRS=
-- Field3d will not be used
-- Could NOT find Jasper (missing:  JASPER_LIBRARY JASPER_INCLUDE_DIR)
-- Jasper not found: jpeg2000 plugin will not be built
-- Field3D plugin will not be built
-- 

   WARNING: No QT/OpenGL -- 'iv' will not be built!

-- Create version.h from version.h.in
-- 

Did not find C:/blender_svn/oiio/src/../../bmpsuite
--   -> Will not run tests bmp
--   -> You can find it at
http://entropymine.com/jason/bmpsuite/bmpsuite.zip

-- 

Did not find C:/blender_svn/oiio/src/../../libtiffpic
--   -> Will not run tests tiff-suite;tiff-depths
--   -> You can find it at http://www.remotesensing.org/libtiff/images.html

-- 

Did not find C:/blender_svn/oiio/src/../../openexr-images-1.5.0
--   -> Will not run tests openexr-suite;openexr-multires;openexr-chroma
--   -> You can find it at http://www.openexr.com/downloads.html

-- 

Did not find C:/blender_svn/oiio/src/../../j2kp4files_v1_5
--   -> Will not run tests jpeg2000
--   -> You can find it at
http://www.crc.ricoh.com/~gormish/jpeg2000conformance/

-- 

Did not find C:/blender_svn/oiio/src/../../TGAUTILS
--   -> Will not run tests targa-tgautils
--   -> You can find it at http://tgautils.inequation.org/

-- 

Did not find C:/blender_svn/oiio/src/../../fits-images
--   -> Will not run tests fits
--   -> You can find it at http://www.cv.nrao.edu/fits/data/tests/

-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/Psy-Fi/workspace/oiio


More information about the Bf-committers mailing list