[Bf-committers] platform maintainers: request to update exr lib to 2.0

Jürgen Herrmann shadowrom at me.com
Sun Jun 2 09:50:10 CEST 2013


Hi Dalai,

You can build on the command line using CMake too, but you are right from the users point if view scons is easier. But from the maintainers point if view...
I hope someone will have a look at this issue soon. I really can't find an error...

/Jürgen

Am 02.06.2013 um 07:15 schrieb Dalai Felinto <dfelinto at gmail.com>:

> Hi Jurgen,
> 
> I just re-confirmed here. If I build with cmake+msvc works fine.
> 
> The scons+msvc release build crashes when I open the EXR.
> The scons+msvc debug crashes when I open Blender:
> http://www.pasteall.org/42743
> 
> Now scons is really powerful. For me it's the more convenient way of
> building blender in windows since it can be done through command-line.
> 
> --
> Dalai
> --
> blendernetwork.org/member/dalai-felinto
> www.dalaifelinto.com
> 
> 
> 2013/6/1 Jürgen Herrmann <shadowrom at me.com>:
>> Hi Dalai,
>> 
>> The EXR libs are entirely updated to 2.0.
>> I am having problems with scons too but I accounted this to my absolute inability to be friends with scons ;)
>> 
>> you said the error is gone when you build with cmake so it's probably a problem with scons because the libs are the same for both build systems. Maybe a missing define or a wrong lib, different compiler options/optimization?
>> 
>> I just don't get to like it and it seems that scons config for windows/msvc builds are always subject to problems. If you build blender with cmake things work much better for a reason I don't understand.
>> 
>> If I were in charge for the build systems I would drop scons completely in favor of cmake, but I am not in charge so just forget I mentioned this.
>> It is much harder to adapt new build targets with scons than with cmake. The scripts are quite complex so that new developers like me need to spend much time on build system logic instead of having time to really do work on blender itself.
>> 
>> /Jürgen
>> 
>> Am 01.06.2013 um 22:39 schrieb Dalai Felinto <dfelinto at gmail.com>:
>> 
>>> Hi Jurgen,
>>> 
>>> Is the new EXR2.0 entirely updated for windows32 and 64 (MSVC9 - cmake
>>> and scons)?
>>> I'm a bit confused by all the sparse emails on the latest windows
>>> libraries and building systems updates.
>>> 
>>> I'm having a segfault on windows for some builds of the multiview
>>> branch (building with scons if I'm not mistaken) when opening a
>>> multiview/multipart exr. The same does not happen in OSX. And when I
>>> built with cmake+msvc9+debug the error was gone.
>>> 
>>> I thought the problem was in my setup, but the same happens with the
>>> BuilderBot multiview build:
>>> 
>>> * http://builder.blender.org/download/ (multiview is the last in the list)
>>> * http://svn.blender.org/svnroot/bf-blender/branches/multiview/ (code
>>> in svn if you want to test)
>>> * https://github.com/dfelinto/blender/blob/multiview/samples/images/caminandes_new_edit.exr?raw=true
>>> (sample file)
>>> 
>>> I will keep looking at it, but it would help to know whether it was
>>> supposed to work or if the libs/build setup are still work in
>>> progress.
>>> 
>>> Thanks,
>>> Dalai
>>> --
>>> blendernetwork.org/member/dalai-felinto
>>> www.dalaifelinto.com
>>> 
>>> 
>>> 2013/5/17 Dalai Felinto <dfelinto at gmail.com>:
>>>> For the records, OSX libs are already committed and working fine (thanks
>>>> Jens).
>>>> 
>>>> For windows/linux the libs we will need are: openexr, openimageio and
>>>> openshadinglanguage.
>>>> opencolorio does not need to be updated.
>>>> 
>>>> Thanks,
>>>> Dalai
>>>> 
>>>> --
>>>> blendernetwork.org/member/dalai-felinto
>>>> www.dalaifelinto.com
>>>> 
>>>> 
>>>> 2013/5/17 Bastien Montagne <montagne29 at wanadoo.fr>
>>>>> 
>>>>> I should be able to see for install_deps.sh next week… ;)
>>>>> 
>>>>> Bastien
>>>>> 
>>>>> On 17/05/2013 20:36, Sergey Sharybin wrote:
>>>>>> We've discussed it in IRC today. Conclusion is:
>>>>>> 
>>>>>> 1. Windows/OSX libs are safe for update, wouldn't lead to issues and
>>>>>> platform maintainers could just go ahead
>>>>>> 2. I'll update linux build environment during next week.
>>>>>> 3. Before merge the code to trunk, we'll need to update wiki page with
>>>>>> building instructions and update install_deps.sh. If nobody volunteers
>>>>>> to
>>>>>> help updating the script, i'll try to update it over next week (or two)
>>>>>> 4. Then we're safe for merge :)
>>>>>> 
>>>>>> Could still cause some PITA for distros maintainers tho, but eeh.. Krita
>>>>>> will also require openexr2.0 soon so afraid the only way (apart from
>>>>>> disabling openexr support) would be to include openexr2.0 libs to
>>>>>> repos...
>>>>>> 
>>>>>> 
>>>>>> On Fri, May 17, 2013 at 6:59 PM, Sergey
>>>>>> Sharybin<sergey.vfx at gmail.com>wrote:
>>>>>> 
>>>>>>> Actually i'm really skeptical about such a bump. That'd introduce extra
>>>>>>> pain building blender on linux -- seems only gentoo and arch switched
>>>>>>> to
>>>>>>> openexr 2.0.
>>>>>>> 
>>>>>>> Also, some of the distros like ubuntu and fedora contains openimageio,
>>>>>>> which is for sure linked against distro's openexr 1.6.
>>>>>>> 
>>>>>>> This is all leads to really spaghetti changes and would rather see
>>>>>>> updates
>>>>>>> for build instructions and probably install dependencies script before
>>>>>>> we'll bump openexr version required for blender.
>>>>>>> 
>>>>>>> P.S. In any way, this will also be a PITA for distros maintainers :(
>>>>>>> 
>>>>>>> 
>>>>>>> On Thu, May 16, 2013 at 1:45 AM, Dalai Felinto<dfelinto at gmail.com>
>>>>>>> wrote:
>>>>>>> 
>>>>>>>> Hi,
>>>>>>>> 
>>>>>>>> I don't see why we would need the python part of it.
>>>>>>>> Basically the same build settings we used for 1.71 should be used for
>>>>>>>> 2.0
>>>>>>>> I
>>>>>>>> believe.
>>>>>>>> 
>>>>>>>> And yes other libs that depend on it will need to be recompiled:
>>>>>>>> That means primary openimageio. But I also believe OSL and OCIO are
>>>>>>>> needed
>>>>>>>> (they depend on OIIO).
>>>>>>>> [here I only built exr and oiio, but then I'm building with no
>>>>>>>> osl/ocio]
>>>>>>>> 
>>>>>>>> I'm not sure there is any other library (or even if ocio needs it).
>>>>>>>> 
>>>>>>>> Thanks,
>>>>>>>> Dalai
>>>>>>>> --
>>>>>>>> blendernetwork.org/member/dalai-felinto
>>>>>>>> www.dalaifelinto.com
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 2013/5/15 Jürgen Herrmann<shadowrom at me.com>
>>>>>>>> 
>>>>>>>>> Hi Dalai,
>>>>>>>>> 
>>>>>>>>> I could provide builds for Vc2008 and VC2012 after the 2.67a release.
>>>>>>>>> Just some questions:
>>>>>>>>> - Do we have to recompile other libs that depend on OpenEXR too?
>>>>>>>>> OSL for example relies on it.
>>>>>>>>> - As we don't have boost python in the boost libs I guess we won't
>>>>>>>>> need
>>>>>>>>> the python part in OpenEXR, right?
>>>>>>>>> 
>>>>>>>>> /Jürgen
>>>>>>>>> 
>>>>>>>>> Am 15.05.2013 um 20:31 schrieb Antony Riakiotakis<kalast at gmail.com>:
>>>>>>>>> 
>>>>>>>>>> Hi Dalai, I'll be building soon for the MinGW systems. Is the python
>>>>>>>> part
>>>>>>>>>> of the library required?
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Bf-committers mailing list
>>>>>>>>>> Bf-committers at blender.org
>>>>>>>>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>>>>>>>> _______________________________________________
>>>>>>>>> Bf-committers mailing list
>>>>>>>>> Bf-committers at blender.org
>>>>>>>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>>>>>>> _______________________________________________
>>>>>>>> Bf-committers mailing list
>>>>>>>> Bf-committers at blender.org
>>>>>>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>>>>>> 
>>>>>>> 
>>>>>>> --
>>>>>>> With best regards, Sergey Sharybin
>>>>> _______________________________________________
>>>>> Bf-committers mailing list
>>>>> Bf-committers at blender.org
>>>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>> _______________________________________________
>>> Bf-committers mailing list
>>> Bf-committers at blender.org
>>> http://lists.blender.org/mailman/listinfo/bf-committers
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers


More information about the Bf-committers mailing list