libheif
libheif copied to clipboard
Build error file not found
Not sure why but I can't get it to buildjs using the emscripten script from source or from 1.17.6 per the readme.
[ 75%] Building CXX object libheif/CMakeFiles/heif.dir/plugins/encoder_mask.cc.o
cd /home/user/libheif/buildjs/libheif && /usr/bin/em++ -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DLIBHEIF_EXPORTS @CMakeFiles/heif.dir/includes_CXX.rsp -O3 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Werror -Wsign-compare -Wconversion -Wno-sign-conversion -Wno-error=conversion -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=tautological-compare -Wno-error=tautological-constant-out-of-range-compare -std=c++11 -MD -MT libheif/CMakeFiles/heif.dir/plugins/encoder_mask.cc.o -MF CMakeFiles/heif.dir/plugins/encoder_mask.cc.o.d -o CMakeFiles/heif.dir/plugins/encoder_mask.cc.o -c /home/user/libheif/libheif/plugins/encoder_mask.cc
/home/user/libheif/libheif/plugins/decoder_libde265.cc:30:10: fatal error: 'libde265/de265.h' file not found
#include <libde265/de265.h>
^~~~~~~~~~~~~~~~~~
1 error generated.
em++: error: '/usr/bin/clang++-13 -target wasm32-unknown-emscripten -DEMSCRIPTEN -D__EMSCRIPTEN_major__=3 -D__EMSCRIPTEN_minor__=1 -D__EMSCRIPTEN_tiny__=5 -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -D_LIBCPP_ABI_VERSION=2 -fno-threadsafe-statics -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=/usr/share/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -DHAVE_LIBDE265=1 -DHAVE_VISIBILITY -DLIBHEIF_EXPORTS -I/home/user/libheif/buildjs -I/home/user/libheif -I/home/user/libheif/include/libheif -I/home/user/libheif/include -I/home/user/libheif/libde265-1.0.12 -O3 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Werror -Wsign-compare -Wconversion -Wno-sign-conversion -Wno-error=conversion -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Wno-error=tautological-compare -Wno-error=tautological-constant-out-of-range-compare -std=c++11 -MD -MT libheif/CMakeFiles/heif.dir/plugins/decoder_libde265.cc.o -MF CMakeFiles/heif.dir/plugins/decoder_libde265.cc.o.d -c /home/user/libheif/libheif/plugins/decoder_libde265.cc -o CMakeFiles/heif.dir/plugins/decoder_libde265.cc.o' failed (returned 1)
make[2]: *** [libheif/CMakeFiles/heif.dir/build.make:542: libheif/CMakeFiles/heif.dir/plugins/decoder_libde265.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/user/libheif/buildjs'
make[1]: *** [CMakeFiles/Makefile2:989: libheif/CMakeFiles/heif.dir/all] Error 2
make[1]: Leaving directory '/home/user/libheif/buildjs'
make: *** [Makefile:166: all] Error 2
emmake: error: 'make -j8' failed (returned 2)