Re: OpenColorIO 2.0 and libHalf

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

 



On Mon, Aug 23, 2021 at 3:21 AM Luya Tshimbalanga <luya@xxxxxxxxxxxxxxxxx> wrote:
On 2021-08-23 12:46 a.m., Josef Řídký wrote:
There should not be any reason to have the ilmbase package as separate one, because this package has been incorporated into the openexr package itself (in version 3).

As per libHalf, this functionality has been moved into a new package imath, that was introduced by upstream with release of openexr 3 and is available in Fedora now.

Unfortunately, building OpenColorIO 2.0 failed to properly detect libHalf despite the inclusion of imath.

Extract below:

~~

-- Found yaml-cpp: /usr/lib64/libyaml-cpp.so.0.6.3 (found suitable version "0.6.3", minimum required is "0.6.3") 
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Half (missing: Half_LIBRARY Half_INCLUDE_DIR) (Required is
  at least version "2.4.0")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  share/cmake/modules/FindHalf.cmake:119 (find_package_handle_standard_args)
  share/cmake/modules/FindExtPackages.cmake:37 (find_package)
  CMakeLists.txt:239 (include)

It looks like my official build built fine with Imath...

-- Found Imath: /usr/lib64/libImath-3_1.so.29.1.0 (found suitable version "3.1.2", minimum required is "3.0.2")

https://koji.fedoraproject.org/koji/buildinfo?buildID=1822695

So that problem is solved. Now I'm working on blender. I see there is a patch for OpenEXR3 that isn't applied. I assume it is no longer necessary?

I found the issue with the types. Int64 and Sint64 are well, the porting guide says deprecated but as the build fails, I would call that obsolete, in favor of standard types int64_t and uint64_t.

Thanks,
Richard
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux