Opened 18 months ago

Last modified 18 months ago

#67500 assigned defect

blender @2.93.17: fatal error: 'half.h' file not found

Reported by: elteck Owned by: jasonliu-- (Jason Liu)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: blender

Description (last modified by ryandesign (Ryan Carsten Schmidt))

See attached log file, blender does not compile, errors out on intel platform. The log file doesn't give a lot of details, it shows errors on alembic and openxr:

:info:build make[2]: *** [source/blender/io/alembic/CMakeFiles/bf_alembic.dir/intern/abc_customdata.cc.o] Error 1
:info:build make[2]: *** [source/blender/io/alembic/CMakeFiles/bf_alembic.dir/intern/abc_reader_archive.cc.o] Error 1
:info:build make[2]: *** [source/blender/io/alembic/CMakeFiles/bf_alembic.dir/intern/abc_reader_camera.cc.o] Error 1
:info:build make[2]: *** [source/blender/io/alembic/CMakeFiles/bf_alembic.dir/intern/abc_reader_curves.cc.o] Error 1
:info:build make[2]: *** [source/blender/io/alembic/CMakeFiles/bf_alembic.dir/intern/abc_reader_mesh.cc.o] Error 1
:info:build make[2]: *** [source/blender/io/alembic/CMakeFiles/bf_alembic.dir/intern/abc_reader_nurbs.cc.o] Error 1
:info:build make[1]: *** [source/blender/io/alembic/CMakeFiles/bf_alembic.dir/all] Error 2
:info:build make[2]: *** [source/blender/imbuf/intern/openexr/CMakeFiles/bf_imbuf_openexr.dir/openexr_api.cpp.o] Error 1

Attachments (1)

main.log.tgz (2.5 MB) - added by elteck 18 months ago.
Build log file

Change History (4)

Changed 18 months ago by elteck

Attachment: main.log.tgz added

Build log file

comment:1 Changed 18 months ago by elteck

I am on a Intel platform, os version 13.4 (Ventura), using Xcode 14.2

comment:2 Changed 18 months ago by jmroot (Joshua Root)

Owner: set to jasonliu--
Status: newassigned

comment:3 Changed 18 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Summary: blender doesn't compile, errors out at alembicblender @2.93.17: fatal error: 'half.h' file not found

The first error in the log is:

:info:build /opt/local/include/Alembic/Util/Foundation.h:66:10: fatal error: 'half.h' file not found
:info:build #include <half.h>
:info:build          ^~~~~~~~

half.h is part of openexr 2. The openexr port was recently updated to openexr 3 which is probably what broke this (and some other ports). If blender can be updated or fixed to work with openexr 3, great; if not, a new openexr2 port was created and blender could be changed to use that instead.

Note: See TracTickets for help on using tickets.