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

Compiling issue withHTMLRenderer font.cc #55

Closed
ilippert opened this issue May 4, 2020 · 3 comments
Closed

Compiling issue withHTMLRenderer font.cc #55

ilippert opened this issue May 4, 2020 · 3 comments

Comments

@ilippert
Copy link

ilippert commented May 4, 2020

I get this error when compiling on Fedora

src/HTMLRenderer/font.cc:69:27: error: use of deleted function ‘Object::Object(T) [with T = Ref]’
   69 |         Object ref_obj(*id);
      |                           ^
In file included from /usr/include/poppler/OutputDev.h:40,
                 from /home/ilippert/Techy/pdf2htmlEX/src/HTMLRenderer/HTMLRenderer.h:15,
                 from /home/ilippert/Techy/pdf2htmlEX/src/HTMLRenderer/font.cc:21:
/usr/include/poppler/Object.h:178:24: note: declared here
  178 |   template<typename T> Object(T) = delete;
      |                        ^~~~~~
make[2]: *** [CMakeFiles/pdf2htmlEX.dir/build.make:174: CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/font.cc.o] Error 1
@ViliusSutkus89
Copy link
Contributor

My guess is either:

  • too new or too old Poppler - you need Poppler-0.81.0
  • too new or too old FontForge - you need FontForge-20170731

Seriously, like half the bugs registered here are for this reason.

@ilippert
Copy link
Author

ilippert commented May 4, 2020

sorry, I will look into this! thanks a lot

@ilippert ilippert closed this as completed May 4, 2020
@ViliusSutkus89
Copy link
Contributor

No need to be sorry. I'm not sure if required FontForge version is even advertised anywhere.
Poppler version is in pdf2htmlEX release name, but not FontForge.

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

2 participants