On Fri, Nov 3, 2017 at 12:35 AM, Shane Ambler <[email protected]> wrote:

> On 03/11/2017 06:58, Larry Gritz wrote:
> > I'm using 3.6.2. My first guess would be that I'm using enum value
> > that are newly added? Let me check older versions and I'll get back
> > to you.
>
> I had thought dcmtk 3.6.2 became a min version for the new oiio
> versions. I missed the fact that it should build with different versions.
>
> In 3.6.2 PACKAGE_VERSION_NUMBER=362 (an int) where previously it was a
> string PACKAGE_VERSION_NUMBER="360"
>
> The string breaks your #if PACKAGE_VERSION_NUMBER >= 361
>
> Maybe drop back to cmake to test and define consistently.


Looks like that's not the problem in this case:

grep -r PACKAGE_VERSION_NUMBER /usr/include/dcmtk/
/usr/include/dcmtk/config/osconfig.h:#define PACKAGE_VERSION_NUMBER 361

It looks to me that EVR_UC is not defined in 3.6.1 (grepping through the
headers) so maybe the conditional just needs to be changed to 362?

Thanks,
Richard
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to