Question:
Hi experts,
"vtable for cxxabiv1::vmi_class_type_info", referenced from:
"vtable for cxxabiv1::class_type_info", referenced from:
"___cxa_end_catch", referenced from:
"vtable for cxxabiv1::si_class_type_info", referenced from:
"___cxa_begin_catch", referenced from:
"operator new", referenced from:
"operator new(unsigned long)", referenced from:
"std::terminate()", referenced from:
"___gxx_personality_v0", referenced from:
"operator delete", referenced from:
"operator delete(void*)", referenced from:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
On this web page: http://www.chilkatsoft.com/chilkatIos.asp
See the note about "Must Link w/ C++ Runtime Libs"
Thanks for your fast response.
"The easiest way to do it is to include an empty source file with the file extension "cpp" in your app target." what's the filename of the .cpp? what do you mean "include file in app target"?
Thanks.
I add a empty libchilkatIos.cpp file to my project, but I don't know how to add -lresolv and -lpthread system libraries to my project. please see the following the error messages after I compile again
undefined symbols for architecture arm64: "OBJC_CLASS$_CkoFtp2", referenced from: objc-class-ref in ViewController.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)