aronsoyol / indic-text-renderer

Automatically exported from code.google.com/p/indic-text-renderer
Other
0 stars 0 forks source link

Hrfbuzz-ng 0.9.24 gives undefined reference error #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.download indic-text-renderer android project and import it on eclipse
2.download latest harfbuzz-ng(0.9.24) and extract under 
'indic-text-renderer\jni\harfbuzz-ng'
3.download freetype from github and extract it to 
'indic-text-renderer\jni\freetype.'
4)follow steps from "HowToBuild.txt"
5)$NDK/ndk-build

What is the expected output? What do you see instead?
expected -> Hrfbuzz-ng should compile successfully

Actual result -> it gives errors as,
make: 
/cygdrive/e/Font_Workspace/indic-text-renderer//jni/complex-script-rendering.c: 
Timestamp out of range; substituting 1970-01-01 05:29:59.999999999
make: Warning: File 
'/cygdrive/e/Font_Workspace/indic-text-renderer//jni/complex-script-rendering.c'
 has modification time 1.6e+10 s in the future
Compile arm    : complex-script-rendering <= complex-script-rendering.c
SharedLibrary  : libcomplex-script-rendering.so
E:/Font_Workspace/indic-text-renderer//obj/local/armeabi/objs/complex-script-ren
dering/complex-script-rendering.o: In function 
`Java_org_iisc_mile_indictext_android_EditIndicText_drawIndicText':
E:/Font_Workspace/indic-text-renderer//jni/complex-script-rendering.c:119: 
undefined reference to `hb_ft_font_create'
E:/Font_Workspace/indic-text-renderer//jni/complex-script-rendering.c:130: 
undefined reference to `hb_buffer_create'
E:/Font_Workspace/indic-text-renderer//jni/complex-script-rendering.c:136: 
undefined reference to `hb_buffer_set_script'
E:/Font_Workspace/indic-text-renderer//jni/complex-script-rendering.c:140: 
undefined reference to `hb_buffer_add_utf16'
E:/Font_Workspace/indic-text-renderer//jni/complex-script-rendering.c:142: 
undefined reference to `hb_shape'
E:/Font_Workspace/indic-text-renderer//jni/complex-script-rendering.c:145: 
undefined reference to `hb_buffer_get_length'
E:/Font_Workspace/indic-text-renderer//jni/complex-script-rendering.c:146: 
undefined reference to `hb_buffer_get_glyph_infos'
E:/Font_Workspace/indic-text-renderer//jni/complex-script-rendering.c:147: 
undefined reference to `hb_buffer_get_glyph_positions'
E:/Font_Workspace/indic-text-renderer//jni/complex-script-rendering.c:180: 
undefined reference to `hb_buffer_destroy'
E:/Font_Workspace/indic-text-renderer//jni/complex-script-rendering.c:183: 
undefined reference to `hb_font_destroy'
collect2: ld returned 1 exit status
/cygdrive/e/Software/NDK/android-ndk-r8b-windows/android-ndk-r8b/build/core/buil
d-binary.mk:378: recipe for target 
'/cygdrive/e/Font_Workspace/indic-text-renderer//obj/local/armeabi/libcomplex-sc
ript-rendering.so' failed
make: *** 
[/cygdrive/e/Font_Workspace/indic-text-renderer//obj/local/armeabi/libcomplex-sc
ript-rendering.so] Error 1

What version of the product are you using? On what operating system?
0.9.24

Please provide any additional information below.
please find attached .mk file of harfbuzz-ng; i think there is a problem 
between inter-class linking

Original issue reported on code.google.com by android....@gmail.com on 15 Nov 2013 at 9:51

Attachments:

GoogleCodeExporter commented 9 years ago
you have to configure and make harfbuzz first and then copy it into the 
harfbuzz-ng folder ,as to my understanding of the how-to-build.txt. the main 
errors I got were all freetype compiling error. jst don't have a clue on how to 
fix that. have been trying to compile it for 2days, it's kinda driving me mad . 
if you get it done successfully, plz,get me informed . thanks and best regards.

Original comment by hub...@gmail.com on 9 May 2014 at 9:16