Re: Blender build troubleshooting (was: OpenColorIO 2.0 and libHalf)

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

 



Figured out that was a missing include, ImfFrameBuffer.h, now on to the next issue:

/builddir/build/BUILD/blender-2.93.3/source/blender/python/mathutils/mathutils.c: In function 'mathutils_array_hash':
/builddir/build/BUILD/blender-2.93.3/source/blender/python/mathutils/mathutils.c:98:24: error: incompatible type for argument 1 of '_Py_HashDouble'
   98 |     y = _Py_HashDouble((double)(array[i++]));
      |                        ^~~~~~~~~~~~~~~~~~~~
      |                        |
      |                        double
In file included from /usr/include/python3.10/Python.h:90,
                 from /builddir/build/BUILD/blender-2.93.3/source/blender/python/mathutils/mathutils.c:21:
/usr/include/python3.10/pyhash.h:10:38: note: expected 'PyObject *' {aka 'struct _object *'} but argument is of type 'double'
   10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
      |                                      ^~~~~~~~~~
/builddir/build/BUILD/blender-2.93.3/source/blender/python/mathutils/mathutils.c:98:9: error: too few arguments to function '_Py_HashDouble'
   98 |     y = _Py_HashDouble((double)(array[i++]));
      |         ^~~~~~~~~~~~~~
In file included from /usr/include/python3.10/Python.h:90,
                 from /builddir/build/BUILD/blender-2.93.3/source/blender/python/mathutils/mathutils.c:21:
/usr/include/python3.10/pyhash.h:10:23: note: declared here
   10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
      |            
          ^~~~~~~~~~~~~~

Ideas?

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