Send Openexr-devel mailing list submissions to
address@hiddenTo subscribe or unsubscribe via the World Wide Web, visit
https://lists.nongnu.org/mailman/listinfo/openexr-devel
or, via email, send a message with subject or body 'help' to
address@hidden
You can reach the person managing the list at
address@hidden
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Openexr-devel digest..."
Today's Topics:
1. Re: Getting started with OpenExr python bindings (Brad Hards)
2. Re: Getting started with OpenExr python bindings (Samat K Jain)
----------------------------------------------------------------------
Message: 1
Date: Thu, 13 Jul 2017 19:18:39 +1000
From: "Brad Hards" <address@hidden>
To: "'James Crowther'" <address@hidden>,
<address@hidden>
Subject: Re: [Openexr-devel] Getting started with OpenExr python
bindings
Message-ID: <address@hidden>
checking for boost::python... no
*** Could not run the boost::python test program, checking why...
*** The test program could not be compiled. Is boost::python installed?
*** Check that the cflags (below) includes the boost::python include directory
***
*** Flags used by the test:
***
cflags: -g -O2 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-g -O2 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
This looks to be the problem part. Have you tried installing boost::python?
If its installed somewhere non-standard, some or all of:
--with-boost-include-dir
--with-boost-lib-dir
--with-boost-python-libname
might be useful.
Brad
------------------------------
Message: 2
Date: Thu, 13 Jul 2017 13:02:19 -0600
From: Samat K Jain <address@hidden>
To: address@hidden
Subject: Re: [Openexr-devel] Getting started with OpenExr python
bindings
Message-ID: <address@hidden>
Content-Type: text/plain; charset=utf-8
Are you sure OpenEXR has Python bindings?
$ cd openexr-2.2.0/
$ grep -ir python .
Returns nothing for me. IlmBase has Python bindings, and that will give
you support for Halfs, etc, but isn't enough to actually let you read
OpenEXR files. Someone correct me if wrong.
There's a really old package on PyPi here, but I've never gotten it to
work (I don't think it's compatible w/ OpenEXR 2.x):
https://pypi.python.org/pypi/OpenEXR/1.0.2
I've only successfully read OpenEXR in Python in two ways:
? OpenImageIO's Python bindings, which interface with OpenEXR's C++
interface
? OpenCV's Python bindings, which also interface with OpenEXR's C++
interface
Both are a headache to compile; you might want to see if there's a
package in Homebrew or something since you're on macOS. There are
Debian/Ubuntu packages of both and those worked well enough for me.
Regards,
Samat
On 7/12/17 11:07 PM, James Crowther wrote:
Hi there,
I am a complete noob to the open exr bindings for python, I am running
MacOSX sierra.
--
Samat K Jain ? GPG: 0x4A456FBA ? Pump.IO: https://identi.ca/samatjain
Web: https://samat.io/ ? Twitter: https://twitter.com/SamatJain
This e-mail is: [ ] shareable [x] ask first [ ] private
------------------------------
Subject: Digest Footer
_______________________________________________
Openexr-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/openexr-devel
------------------------------
End of Openexr-devel Digest, Vol 159, Issue 2
*********************************************