0

I used podofo library for mac application development, while building demo appenter image description here i am getting following errors.

PsiX
  • 1,661
  • 1
  • 17
  • 35
Sunil aruru
  • 497
  • 5
  • 18

1 Answers1

0

The error messages seem to indicate that you are working with static libraries (.a libraires). So, when building your demo app, you need to link with all the librairies needed, including the ones needed by freetype and fontconfig. These are bz2, z, crypto (from the openssl distribution) and others...

If Podofo is built with cmake, you can look at the CMakeCache.txt file. It contains the path where each library Podofo depends on was found on your system.

The bz2 library is not listed in the CMakeCache.txt. It is there by default, so you may just add

-lbz2

to the "Other Linker Flags" in your Xcode project build settings.

Etienne
  • 1,269
  • 1
  • 10
  • 13