Home » Android » android – Error on build yasm/source/patched-yasm/util.h:78:23: error: libintl.h: No such file or directory

android – Error on build yasm/source/patched-yasm/util.h:78:23: error: libintl.h: No such file or directory

Posted by: admin June 15, 2020 Leave a comment

Questions:

After building for almost half an hour I get the following error. No amount of googling has helped so far…

In file included from external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/phash.c:2:
external/chromium_org/third_party/yasm/source/patched-yasm/util.h:78:23: error: libintl.h: No such file or directory
make: *** [out/host/darwin-x86/obj/STATIC_LIBRARIES/third_party_yasm_genperf_libs_host_gyp_intermediates/third_party/yasm/source/patched-yasm/libyasm/phash.o] Error 1
make: *** Waiting for unfinished jobs....
How to&Answers:

It seems like you’re missing the header file you’ve implemented into your app. Maybe this is the Util.h file you’ll need https://android.googlesource.com/platform/external/chromium_org/third_party/yasm/source/patched-yasm/+/3c5fb45a0ef38ca08793c28dad3cf5be29b25f7f/util.h