jart / hiptext

Turn images into text better than caca/aalib
Apache License 2.0
763 stars 44 forks source link

Errors on each run after make install #12

Closed ghost closed 11 years ago

ghost commented 11 years ago

If i run hiptext from the directory I compiled it from it works fine. After running make install I get an error on the same images that it previously displayed without errors.

F0325 13:59:22.764736   601 font.cc:32] Check failed: 0 == FT_New_Face( g_library, FLAGS_font.c_str(), FLAGS_font_index, &g_face) (0 vs. 1) 
*** Check failure stack trace: ***
    @     0x7f09022d096a  (unknown)
    @     0x7f09022d08a5  (unknown)
    @     0x7f09022d0299  (unknown)
    @     0x7f09022d3297  (unknown)
    @           0x40d7e4  InitFont()
    @           0x403fe2  main
    @     0x7f08ff68aead  (unknown)
    @           0x40adbd  (unknown)
[1]    601 abort      hiptext 2012-08-23_19-10-52_570.jpg
Ban3 commented 11 years ago

Use "-font /path/to/font.ttf". By default it searches for DejaVuSansMono.ttf in current directory. That's why it works when ran from the source directory.

ghost commented 11 years ago

Thanks this solves the issue.

harrisonpartch commented 10 years ago

Then why "make install"?