centos ,Error: cannot locate fontforge.h

142 views
Skip to first unread message

赵伟

unread,
Sep 11, 2013, 11:14:29 PM9/11/13
to pdf2htmlex

大神,帮我看看。谢谢。我也在github和oschina上向您提问了。

报错如下:

[root@localhost coolwanglu-pdf2htmlEX-a124926]# cmake .
-- checking for module 'libfontforge>=2.0.0'
--   package 'libfontforge>=2.0.0' not found
Trying to locate old versions of fontforge...
CMake Error at CMakeLists.txt:62 (message):
  Error: cannot locate fontforge.h

-- Configuring incomplete, errors occurred!

centos 6.4    64位系统安装的包如下:

[root@localhost pdf2html]# ls
coolwanglu-pdf2htmlEX-a124926                    poppler-0.20.3.tar.gz
coolwanglu-pdf2htmlEX-v0.8.1-72-ga124926.tar.gz  
fontforge-20120731-b                            
fontforge_full-20120731-b.tar.bz2                xpdfbin-linux-3.03
poppler-0.20.3                                   xpdfbin-linux-3.03.tar.gz

fontforge-20120731-b  我用源码安装到了/usr/local/fontforge下

谢谢

Lu Wang

unread,
Sep 11, 2013, 11:17:19 PM9/11/13
to 赵伟, pdf2htmlex
请不要一起发,我都不知道去哪里回复了。。。
如我在oschina上所说,需要设置路径让cmake找到header和library


王璐


--
You received this message because you are subscribed to the Google Groups "pdf2htmlEX" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pdf2htmlex+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages