Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: cannot find -lharfbuzz #24

Open
oceanlazy opened this issue Apr 17, 2019 · 0 comments
Open

error: cannot find -lharfbuzz #24

oceanlazy opened this issue Apr 17, 2019 · 0 comments

Comments

@oceanlazy
Copy link

OS: Ubuntu 18.04

I just followed the tutorial and got the following error. NDK that I used https://dl.google.com/android/repository/android-ndk-r15c-linux-x86_64.zip?hl=uk

fcstat.c: In function 'FcStatChecksum':
fcstat.c:337:34: warning: pointer targets in passing argument 2 of 'FcDirChecksum' differ in signedness [-Wpointer-sign]
         if (FcDirChecksum (file, &statb->st_mtime) == -1)
                                  ^
fcstat.c:250:1: note: expected 'time_t *' but argument is of type 'long unsigned int *'
 FcDirChecksum (const FcChar8 *dir, time_t *checksum)
 ^
  CCLD     fcarch
  CCLD     libfontconfig.la
make[3]: Leaving directory '/home/v/Downloads/ffmpeg-binary-android/build_scripts/fontconfig-2.13.0/src'
make[2]: Leaving directory '/home/v/Downloads/ffmpeg-binary-android/build_scripts/fontconfig-2.13.0/src'
Making all in fc-cache
make[2]: Entering directory '/home/v/Downloads/ffmpeg-binary-android/build_scripts/fontconfig-2.13.0/fc-cache'
  CC       fc-cache.o
  CCLD     fc-cache
/home/v/Downloads/ffmpeg-binary-android/build_scripts/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lharfbuzz
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_face_globals_free: error: undefined reference to 'hb_font_destroy'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_face_globals_free: error: undefined reference to 'hb_buffer_destroy'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_coverage: error: undefined reference to 'hb_font_get_face'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_coverage: error: undefined reference to 'hb_ot_tags_from_script'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_coverage: error: undefined reference to 'hb_set_create'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_coverage: error: undefined reference to 'hb_ot_layout_collect_lookups'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_coverage: error: undefined reference to 'hb_set_is_empty'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_coverage: error: undefined reference to 'hb_set_destroy'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_coverage: error: undefined reference to 'hb_set_destroy'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_coverage: error: undefined reference to 'hb_set_destroy'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_coverage: error: undefined reference to 'hb_set_destroy'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_coverage: error: undefined reference to 'hb_set_create'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_coverage: error: undefined reference to 'hb_ot_layout_lookup_collect_glyphs'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_coverage: error: undefined reference to 'hb_set_next'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_coverage: error: undefined reference to 'hb_set_create'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_coverage: error: undefined reference to 'hb_ot_layout_collect_lookups'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_coverage: error: undefined reference to 'hb_set_create'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_coverage: error: undefined reference to 'hb_ot_layout_lookup_collect_glyphs'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_coverage: error: undefined reference to 'hb_set_next'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_coverage: error: undefined reference to 'hb_set_next'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_coverage: error: undefined reference to 'hb_ot_layout_lookup_would_substitute'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_coverage: error: undefined reference to 'hb_set_subtract'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_coverage: error: undefined reference to 'hb_set_next'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_face_globals_new: error: undefined reference to 'hb_ft_font_create'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_face_globals_new: error: undefined reference to 'hb_buffer_create'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_buf_create: error: undefined reference to 'hb_buffer_create'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_buf_destroy: error: undefined reference to 'hb_buffer_destroy'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_cluster: error: undefined reference to 'hb_font_set_scale'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_cluster: error: undefined reference to 'hb_buffer_clear_contents'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_cluster: error: undefined reference to 'hb_buffer_add_utf8'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_cluster: error: undefined reference to 'hb_buffer_guess_segment_properties'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_cluster: error: undefined reference to 'hb_shape'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_cluster: error: undefined reference to 'hb_buffer_clear_contents'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_cluster: error: undefined reference to 'hb_buffer_add_utf8'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_cluster: error: undefined reference to 'hb_buffer_guess_segment_properties'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_cluster: error: undefined reference to 'hb_shape'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_cluster: error: undefined reference to 'hb_buffer_get_glyph_infos'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_cluster: error: undefined reference to 'hb_buffer_get_glyph_infos'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_cluster: error: undefined reference to 'hb_buffer_get_length'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_cluster: error: undefined reference to 'hb_buffer_clear_contents'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_elem: error: undefined reference to 'hb_buffer_get_glyph_infos'
/home/v/Downloads/ffmpeg-binary-android/build_scripts/build_dir/lib/libfreetype.a(autofit.o):autofit.c:function af_shaper_get_elem: error: undefined reference to 'hb_buffer_get_glyph_positions'
collect2: error: ld returned 1 exit status
Makefile:512: recipe for target 'fc-cache' failed
make[2]: *** [fc-cache] Error 1
make[2]: Leaving directory '/home/v/Downloads/ffmpeg-binary-android/build_scripts/fontconfig-2.13.0/fc-cache'
Makefile:599: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/v/Downloads/ffmpeg-binary-android/build_scripts/fontconfig-2.13.0'
Makefile:483: recipe for target 'all' failed
make: *** [all] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant