Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about iOS development and PDF

Compile error when using SDK in NimbleKit project

More
IP: 192.168.0.70 12 years 6 months ago #3718 by Henry
Dear AndroidPDF:

I used Nimblekit ( nimblekit.com ) to Develop APP originally, and now I want to use your PDFViewer SDK in my Nimblekit project.

But when I link library "libRDPDFLib.a" and import "PDFLib", it compiles error.

The error message is "Apple Mach-O Linker Error", and part of the information is below:
Code:
"___gxx_personality_v0", referenced from: Dwarf Exception Unwind Info (__eh_frame) in libRDPDFLib.a(PDFAcroForm.o) Dwarf Exception Unwind Info (__eh_frame) in libRDPDFLib.a(PDFAction.o) Dwarf Exception Unwind Info (__eh_frame) in libRDPDFLib.a(PDFAnnot.o) Dwarf Exception Unwind Info (__eh_frame) in libRDPDFLib.a(PDFCMap.o) Dwarf Exception Unwind Info (__eh_frame) in libRDPDFLib.a(PDFColorSpace.o) Dwarf Exception Unwind Info (__eh_frame) in libRDPDFLib.a(PDFCommon.o) Dwarf Exception Unwind Info (__eh_frame) in libRDPDFLib.a(PDFDoc.o) ... "_absolute32", referenced from: _ftc_inode_weight in libRDPDFLib.a(ftcache.o) ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)

May you help me to solve this problem, thank you very much.

Best Regards,
Henry
More
IP: 192.168.0.70 12 years 6 months ago #3723 by radaee
the core need libc
More
IP: 192.168.0.70 12 years 5 months ago #3996 by jdrukman
I can't get an app using your PDF lib to link. Same error as above. I added libc, libc++ and libstdc++ to Link Binary With Libraries build phase, but the error keeps happening. Please let me know how to fix it.
More
IP: 192.168.0.70 12 years 5 months ago - 12 years 5 months ago #3997 by radaee
using shared library wrapping in Xcode?
Last edit: 12 years 5 months ago by .
More
IP: 192.168.0.70 12 years 5 months ago #3999 by jdrukman
I just followed the directions in the ios_readme.pdf. I don't know what you mean by "shared lib wrapping" so probably not.
More
IP: 192.168.0.70 12 years 5 months ago #4003 by radaee
OK, if just absolute32 is absent.
you can write the function by yourself, like:
Code:
extern "C" int absolute32(int v) { if( v < 0 ) return -v; else return v; }
in C++

or
Code:
int absolute32(int v) { if( v < 0 ) return -v; else return v; }
in C
Time to create page: 0.430 seconds
Powered by Kunena Forum