nPDF icon indicating copy to clipboard operation
nPDF copied to clipboard

Cannot compile

Open crides opened this issue 7 years ago • 6 comments

  • Cannot find "hb.h" and "hb-ft.h".
  • Cannot find "gnu/stubs.h" and "gnu/stubs-32.h"
  • After working around the two above, there are more errors, see in the log file for detail

nPDF.log.txt

crides avatar Mar 31 '17 23:03 crides

Yeah the fact that it has included /usr/include/stdio.h is a bad sign...

adriweb avatar Apr 01 '17 00:04 adriweb

What do you mean? So it shouldn't include /usr/include/stdio.h?

crides avatar Apr 01 '17 00:04 crides

It looks like your SDK isn't setup correctly. The headers from your ARM toolchain are conflicting with your system's headers. Once you get it to work, note that the latest commit doesn't compile (some problem with Harfbuzz).

Legimet avatar Apr 01 '17 03:04 Legimet

So what should I do? I set up the SDK according to Ndless's README.

crides avatar Apr 01 '17 14:04 crides

I tried to build it, works fine for me. Note that you need to use make, not make -j8 or similiar as it has some issues.

Vogtinator avatar Apr 01 '17 15:04 Vogtinator

Yes, I used make without any arguments.

crides avatar Apr 02 '17 03:04 crides