Skip to content
This repository has been archived by the owner on Dec 9, 2018. It is now read-only.

compile error #783

Open
liuzhifu-chn opened this issue Sep 29, 2018 · 4 comments
Open

compile error #783

liuzhifu-chn opened this issue Sep 29, 2018 · 4 comments

Comments

@liuzhifu-chn
Copy link

F:/msys64/home/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:662:50: error: no matching function for call to 'Dict::getVal(long unsigned int&, Object*)'
gfx->display(charProcs->getVal(glyph, &charProc));

@liuzhifu-chn
Copy link
Author

F:/msys64/home/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc: In function cairo_status_t _render_type3_glyph(cairo_scaled_font_t*, long unsigned int, cairo_t*, cairo_text_extents_t*)':
F:/msys64/home/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:662:50: error: no matching function for call to 'Dict::getVal(long unsigned int&, Object*)'
gfx->display(charProcs->getVal(glyph, &charProc));
^
In file included from F:/msys64/mingw32/include/poppler/Object.h:351:0,
from F:/msys64/mingw32/include/poppler/GfxFont.h:42,
from F:/msys64/home/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.h:40,
from F:/msys64/home/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:39:
F:/msys64/mingw32/include/poppler/Dict.h:87:10: note: candidate: Object Dict::getVal(int) const
Object getVal(int i) const;
^~~~~~
F:/msys64/mingw32/include/poppler/Dict.h:87:10: note: candidate expects 1 argument, 2 provided
F:/msys64/home/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:681:17: error: 'void Object::free()' is private within this context
charProc.free();
^
In file included from F:/msys64/mingw32/include/poppler/GfxFont.h:42:0,
from F:/msys64/home/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.h:40,
from F:/msys64/home/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:39:
F:/msys64/mingw32/include/poppler/Object.h:301:8: note: declared private here
void free();
^~~~
make[2]: *** [CMakeFiles/pdf2htmlEX.dir/build.make:63:CMakeFiles/pdf2htmlEX.dir/3rdparty/poppler/git/CairoFontEngine.cc.obj] 错误 1
make[1]: *** [CMakeFiles/Makefile2:457:CMakeFiles/pdf2htmlEX.dir/all] 错误 2
make: *** [Makefile:141:all] 错误 2

@galenhuntington
Copy link

See the README. This project is abandoned and won't compile with the current version of Poppler. I learned this when I tried to build it myself.

There is a slightly updated fork, which I haven't tried yet: https://github.com/pdf2htmlEX/pdf2htmlEX

@liuzhifu-chn
Copy link
Author

See the README. This project is abandoned and won't compile with the current version of Poppler. I learned this when I tried to build it myself.

There is a slightly updated fork, which I haven't tried yet: https://github.com/pdf2htmlEX/pdf2htmlEX

which version did you use?

@galenhuntington
Copy link

0.62.0-2ubuntu2.2

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

No branches or pull requests

2 participants