Atm i can build OpenEXR 2.2 under Msvc 2013, using NMake with this
small .bat file

2015-04-21 3:32 GMT+02:00, Nick <mesh...@hotmail.com>:
> OpenEXR issues are tracked at https://github.com/openexr/openexr/issues
> The Cmake system is still under construction, it seems currently most stable
> on Linux and OSX. Nonetheless I don't see the specific issue you mention as
> a currently tracked bug, so it is probably worth your while to open an issue
> with the problems you are encountering, in terms of actual error messages
> for people to work from.
> Hope this helps,
> - Nick
>
>> Date: Sun, 19 Apr 2015 10:02:32 -0500
>> From: ch...@cg-grafix.com
>> To: Openexr-devel@nongnu.org
>> Subject: [Openexr-devel] OpenEXR support for windows
>>
>> Is there any plan to support windows again?
>>
>> I haven't use OpenEXR for a while and when I came back to it I noticed
>> there was a lot of effort put forth as to why visual studio should be
>> dropped.  My issue is that I need it as a 3rd party library and didn't
>> really want to fight with a broken cmake implementation.  When I first
>> used it I could fire up the solution, build it and move on to the stuff
>> I was actually doing.  Before anyone starts defending the broken stuff.
>> I have no problem running ilmbase through cmake, building it and moving
>> on.  When I try to do anything with the mess that is OpenEXR I get
>> nothing but errors... that ISN'T windows support... that is all but
>> admitting that you don't support it.
>>
>> For anyone wondering I am working with OpenVDB... but they use EXR. I
>> would be much happier coding volume data than combing through cmake's
>> vomit.
>>
>>
>> ---
>> This email has been checked for viruses by Avast antivirus software.
>> http://www.avast.com
>>
>>
>> _______________________________________________
>> Openexr-devel mailing list
>> Openexr-devel@nongnu.org
>> https://lists.nongnu.org/mailman/listinfo/openexr-devel
>
::-----------------------------------------------------------------------------
:: Build IlmBase and OpenEXR 2.2 with MSVC 2013 using cmake, under win7 x64.
:: Copyright: P. Alcaide, aka povmaniac at 19/12/2014
::
:: Use este archivo como base y haga los cambios necesarios para su propia
:: configuración personal. Espero que estas pocas lineas le sean de utilidad.
::-----------------------------------------------------------------------------
:: How use.
:: Move to your exr sources folder ( e.g c:\devs\gitrepos\exr) and place here 
this .bat file
:: Start command promt from msvc tools
:: %comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio 
12.0\VC\vcvarsall.bat"" x86_amd64
:: For make project's: 'build_vc.bat ilm' and 'build_vc.bat exr' 
:: After create each project, you can build using 'nmake' and 'nmake install' 
command's

@echo off

:: use your dependencies install folder
set PREFIX=C:\devs\bountysources\vc12\openexr220

goto %1
:: create IlmBase project
:ilm

:: make build folder's
mkdir ilm_vcbuild
cd ilm_vcbuild

:: not sure about if this command is useful
setlocal

:: delete old cache file.
if exist CMakeCache.txt del /f CMakeCache.txt

cmake -G "NMake Makefiles" ../IlmBase ^
-DNAMESPACE_VERSIONING=OFF ^
-DCMAKE_INSTALL_PREFIX=%PREFIX% ^
-DCMAKE_BUILD_TYPE=Release

goto end

:: OpenEXR project        
:exr

:: make build folder
mkdir exr_vcbuild
cd exr_vcbuild

:: Add ilmbase lib folder to system path
set PATH=%PREFIX%\lib;%PATH%
setlocal

if exist CMakeCache.txt del /f CMakeCache.txt

cmake -G "NMake Makefiles" ../OpenEXR ^
-DZLIB_ROOT=C:\devs\bountysources\vc12\zlib ^
-DNAMESPACE_VERSIONING=OFF ^
-DILMBASE_PACKAGE_PREFIX=%PREFIX% ^
-DCMAKE_INSTALL_PREFIX=%PREFIX% ^
-DCMAKE_BUILD_TYPE=Release


:end

cd ..

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

Reply via email to