openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Openexr-devel] looking for a working 2.0.1 Windows build


From: Sebastian Elsner
Subject: Re: [Openexr-devel] looking for a working 2.0.1 Windows build
Date: Fri, 30 May 2014 17:06:26 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

Hey,


this is an excerpt of the batch script I am using to compile OpenImageIO. I am actually using the OpenEXR 2.1 master branch from Nicolas Yue (he has all the fixes, see git checkout), but maybe this helps:

git clone https://github.com/nyue/openexr.git nyue-openexr
set BUILD_DIR=%ROOT_PATH%\openexr\nyue-ilmbase-build-vs%VS_VERSION%-%Platform% set ILMBASE_INSTALL_DIR=%ROOT_PATH%\openexr\nyue-ilmbase-install-vs%VS_VERSION%-%Platform%\%BUILD_TYPE%
mkdir %BUILD_DIR%
mkdir %ILMBASE_INSTALL_DIR%
cd /D %BUILD_DIR%
cmake -Wno-dev -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=%BUILD_TYPE% -DCMAKE_INSTALL_PREFIX=%ILMBASE_INSTALL_DIR% ..\nyue-openexr\IlmBase
nmake install

set PATH=%ILMBASE_INSTALL_DIR%\lib;%PATH%
set BUILD_DIR=%ROOT_PATH%\openexr\nyue-openexr-build-vs%VS_VERSION%-%Platform% set OPENEXR_INSTALL_DIR=%ROOT_PATH%\openexr\nyue-openexr-install-vs%VS_VERSION%-%Platform%\%BUILD_TYPE%
mkdir %BUILD_DIR%
mkdir %OPENEXR_INSTALL_DIR%
cd /D %BUILD_DIR%
cmake -Wno-dev -G "NMake Makefiles" -DILMBASE_PACKAGE_PREFIX=%ILMBASE_INSTALL_DIR% -DCMAKE_PREFIX_PATH=%ZLIB_INSTALL_DIR% -DCMAKE_BUILD_TYPE=%BUILD_TYPE% -DCMAKE_INSTALL_PREFIX=%OPENEXR_INSTALL_DIR% ..\nyue-openexr\OpenEXR
nmake install

I have never build 2.0, but since there are a few things broken on the windows side in 2.1 I expect things to be worse in 2.0.


cheers

Sebastian


On 05/30/2014 04:52 PM, Paul Miller wrote:
I'm trying to build ilmbase 2.0.1 on Windows (visual studio 2008 SP1) and there are numerous problems - the project files are there but they seem to be incomplete. So far I've made these changes:

1. manually added PLATFORM_WINDOWS to all of the project defines
2. manually added an include path for config.windows to Imath
3. tried adding the built path to Iex.lib to IlmThread and Imath but there are still linker issues relating to missing Iex::ArgExc symbols

Does anyone have the magic sauce to make this work?

_______________________________________________
Openexr-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/openexr-devel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]