I used podofo library for mac application development, while building demo app i am getting following errors.
Asked
Active
Viewed 1,098 times
0

PsiX
- 1,661
- 1
- 17
- 35

Sunil aruru
- 497
- 5
- 18
-
Seems like you make use of other libraries as well which you seemed to have missed in the linking step. – Florian Zwoch Feb 22 '17 at 19:57
-
i have added the all required frameworks and libraries but still its showing same errors. @FlorianZwoch – Sunil aruru Feb 27 '17 at 11:24
-
Well if you add everything required its weird it still fails. Then again.. we don't know what you actually did.. – Florian Zwoch Mar 18 '17 at 17:53
1 Answers
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