I tried to embed use the Imebra library as Dicom file viewer in my iOS app. But when I built the Imebra library via "cmake --build ." on command line after "cmake install...", Errors came out as the following
Undefined symbols for architecture x86_64:
"_iconv", referenced from:
imebra::charsetConversionIconv::myIconv(void*, char*, unsigned long) const in charsetConversionIconvImpl.cpp.o
"_iconv_close", referenced from:
imebra::charsetConversionIconv::~charsetConversionIconv() in charsetConversionIconvImpl.cpp.o
"_iconv_open", referenced from:
imebra::charsetConversionIconv::charsetConversionIconv(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in charsetConversionIconvImpl.cpp.o
Can someone help me with it?
i have just installed it successfuly without any error. here is what i did...
follow commandline instructions provided on imebra compilling documentation instead of gui. if you are getting error at cmake command (for being not recognized as a valid command) then you have to install CMake command line tools.
Here is a tutorial: https://www.youtube.com/watch?v=sK4sVg4SRsg
To generate a library for the iPhone simulator, type the following (replace imebra_location with the path to Imebra):
To generate a library for iPhone, type the following (replace imebra_location with the path to Imebra):