My Xcode version is 10.1, I've run iOS apps in the past, but each ofxARKit example I try to run fails with the linker error.
Undefined symbols for architecture arm64:
"_tessAddContour", referenced from:
ofTessellator::tessellateToMesh(std::__1::vector<ofPolyline_<glm::tvec3<float, (glm::precision)0> >, std::__1::allocator<ofPolyline_<glm::tvec3<float, (glm::precision)0> > > > const&, ofPolyWindingMode, ofMesh_<glm::tvec3<float, (glm::precision)0>, glm::tvec3<float, (glm::precision)0>, ofColor_<float>, glm::tvec2<float, (glm::precision)0> >&, bool) in libofxiOS_iphoneos_Debug.a(ofTessellator.o)
ofTessellator::tessellateToPolylines(std::__1::vector<ofPolyline_<glm::tvec3<float, (glm::precision)0> >, std::__1::allocator<ofPolyline_<glm::tvec3<float, (glm::precision)0> > > > const&, ofPolyWindingMode, std::__1::vector<ofPolyline_<glm::tvec3<float, (glm::precision)0> >, std::__1::allocator<ofPolyline_<glm::tvec3<float, (glm::precision)0> > > >&, bool) in libofxiOS_iphoneos_Debug.a(ofTessellator.o)
"_tessTesselate", referenced from:
ofTessellator::performTessellation(ofPolyWindingMode, ofMesh_<glm::tvec3<float, (glm::precision)0>, glm::tvec3<float, (glm::precision)0>, ofColor_<float>, glm::tvec2<float, (glm::precision)0> >&, bool) in libofxiOS_iphoneos_Debug.a(ofTessellator.o)
ofTessellator::performTessellation(ofPolyWindingMode, std::__1::vector<ofPolyline_<glm::tvec3<float, (glm::precision)0> >, std::__1::allocator<ofPolyline_<glm::tvec3<float, (glm::precision)0> > > >&, bool) in libofxiOS_iphoneos_Debug.a(ofTessellator.o)
"_tessGetVertexCount", referenced from:
ofTessellator::performTessellation(ofPolyWindingMode, ofMesh_<glm::tvec3<float, (glm::precision)0>, glm::tvec3<float, (glm::precision)0>, ofColor_<float>, glm::tvec2<float, (glm::precision)0> >&, bool) in libofxiOS_iphoneos_Debug.a(ofTessellator.o)
"_tessGetVertices", referenced from:
ofTessellator::performTessellation(ofPolyWindingMode, ofMesh_<glm::tvec3<float, (glm::precision)0>, glm::tvec3<float, (glm::precision)0>, ofColor_<float>, glm::tvec2<float, (glm::precision)0> >&, bool) in libofxiOS_iphoneos_Debug.a(ofTessellator.o)
ofTessellator::performTessellation(ofPolyWindingMode, std::__1::vector<ofPolyline_<glm::tvec3<float, (glm::precision)0> >, std::__1::allocator<ofPolyline_<glm::tvec3<float, (glm::precision)0> > > >&, bool) in libofxiOS_iphoneos_Debug.a(ofTessellator.o)
"_tessGetElements", referenced from:
ofTessellator::performTessellation(ofPolyWindingMode, ofMesh_<glm::tvec3<float, (glm::precision)0>, glm::tvec3<float, (glm::precision)0>, ofColor_<float>, glm::tvec2<float, (glm::precision)0> >&, bool) in libofxiOS_iphoneos_Debug.a(ofTessellator.o)
ofTessellator::performTessellation(ofPolyWindingMode, std::__1::vector<ofPolyline_<glm::tvec3<float, (glm::precision)0> >, std::__1::allocator<ofPolyline_<glm::tvec3<float, (glm::precision)0> > > >&, bool) in libofxiOS_iphoneos_Debug.a(ofTessellator.o)
"_tessDeleteTess", referenced from:
ofTessellator::~ofTessellator() in libofxiOS_iphoneos_Debug.a(ofTessellator.o)
ofTessellator::ofTessellator(ofTessellator const&) in libofxiOS_iphoneos_Debug.a(ofTessellator.o)
ofTessellator::operator=(ofTessellator const&) in libofxiOS_iphoneos_Debug.a(ofTessellator.o)
"_curl_easy_getinfo", referenced from:
ofURLFileLoaderImpl::handleRequest(ofHttpRequest const&) in libofxiOS_iphoneos_Debug.a(ofURLFileLoader.o)
"_curl_easy_strerror", referenced from:
ofURLFileLoaderImpl::handleRequest(ofHttpRequest const&) in libofxiOS_iphoneos_Debug.a(ofURLFileLoader.o)
"_curl_easy_cleanup", referenced from:
ofURLFileLoaderImpl::ofURLFileLoaderImpl() in libofxiOS_iphoneos_Debug.a(ofURLFileLoader.o)
"boost::filesystem::path::m_path_iterator_increment(boost::filesystem::path::iterator&)", referenced from:
boost::filesystem::path::iterator::increment() in libofxiOS_iphoneos_Debug.a(ofFileUtils.o)
"boost::filesystem::path::begin() const", referenced from:
ofFilePath::makeRelative(boost::filesystem::path const&, boost::filesystem::path const&) in libofxiOS_iphoneos_Debug.a(ofFileUtils.o)
"boost::filesystem::path::operator/=(boost::filesystem::path const&)", referenced from:
boost::filesystem::operator/(boost::filesystem::path const&, boost::filesystem::path const&) in libofxiOS_iphoneos_Debug.a(ofUtils.o)
ofFilePath::makeRelative(boost::filesystem::path const&, boost::filesystem::path const&) in libofxiOS_iphoneos_Debug.a(ofFileUtils.o)
"_FreeImage_ConvertTo24Bits", referenced from:
void putBmpIntoPixels<unsigned char>(FIBITMAP*, ofPixels_<unsigned char>&, bool) in libofxiOS_iphoneos_Debug.a(ofImage.o)
"_FreeImage_GetWidth", referenced from:
void putBmpIntoPixels<unsigned char>(FIBITMAP*, ofPixels_<unsigned char>&, bool) in libofxiOS_iphoneos_Debug.a(ofImage.o)
"_FreeImage_Initialise", referenced from:
ofInitFreeImage(bool) in libofxiOS_iphoneos_Debug.a(ofImage.o)
"_FreeImage_GetHeight", referenced from:
void putBmpIntoPixels<unsigned char>(FIBITMAP*, ofPixels_<unsigned char>&, bool) in libofxiOS_iphoneos_Debug.a(ofImage.o)
"boost::filesystem::detail::create_directories(boost::filesystem::path const&, boost::system::error_code*)", referenced from:
boost::filesystem::create_directories(boost::filesystem::path const&) in libofxiOS_iphoneos_Debug.a(ofFileUtils.o)
"_FreeImage_FlipVertical", referenced from:
void putBmpIntoPixels<unsigned char>(FIBITMAP*, ofPixels_<unsigned char>&, bool) in libofxiOS_iphoneos_Debug.a(ofImage.o)
"_FreeImage_GetPitch", referenced from:
void putBmpIntoPixels<unsigned char>(FIBITMAP*, ofPixels_<unsigned char>&, bool) in libofxiOS_iphoneos_Debug.a(ofImage.o)
"_FreeImage_GetBits", referenced from:
void putBmpIntoPixels<unsigned char>(FIBITMAP*, ofPixels_<unsigned char>&, bool) in libofxiOS_iphoneos_Debug.a(ofImage.o)
"_FreeImage_GetFileTypeFromMemory", referenced from:
bool loadImage<unsigned char>(ofPixels_<unsigned char>&, ofBuffer const&, ofImageLoadSettings const&) in libofxiOS_iphoneos_Debug.a(ofImage.o)
"_FreeImage_LoadFromMemory", referenced from:
bool loadImage<unsigned char>(ofPixels_<unsigned char>&, ofBuffer const&, ofImageLoadSettings const&) in libofxiOS_iphoneos_Debug.a(ofImage.o)
"_FreeImage_GetImageType", referenced from:
void putBmpIntoPixels<unsigned char>(FIBITMAP*, ofPixels_<unsigned char>&, bool) in libofxiOS_iphoneos_Debug.a(ofImage.o)
"_FT_Get_Char_Index", referenced from:
ofTrueTypeFont::loadGlyph(unsigned int) const in libofxiOS_iphoneos_Debug.a(ofTrueTypeFont.o)
ofTrueTypeFont::getKerning(unsigned int, unsigned int) const in libofxiOS_iphoneos_Debug.a(ofTrueTypeFont.o)
"_FreeImage_IsTransparent", referenced from:
void putBmpIntoPixels<unsigned char>(FIBITMAP*, ofPixels_<unsigned char>&, bool) in libofxiOS_iphoneos_Debug.a(ofImage.o)
"_curl_easy_init", referenced from:
ofURLFileLoaderImpl::ofURLFileLoaderImpl() in libofxiOS_iphoneos_Debug.a(ofURLFileLoader.o)
"_FreeImage_ConvertTo32Bits", referenced from:
void putBmpIntoPixels<unsigned char>(FIBITMAP*, ofPixels_<unsigned char>&, bool) in libofxiOS_iphoneos_Debug.a(ofImage.o)
"_curl_easy_setopt", referenced from:
ofURLFileLoaderImpl::handleRequest(ofHttpRequest const&) in libofxiOS_iphoneos_Debug.a(ofURLFileLoader.o)
"_curl_easy_perform", referenced from:
ofURLFileLoaderImpl::handleRequest(ofHttpRequest const&) in libofxiOS_iphoneos_Debug.a(ofURLFileLoader.o)
"boost::filesystem::detail::canonical(boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code*)", referenced from:
boost::filesystem::canonical(boost::filesystem::path const&, boost::filesystem::path const&) in libofxiOS_iphoneos_Debug.a(ofUtils.o)
"_FreeImage_CloseMemory", referenced from:
bool loadImage<unsigned char>(ofPixels_<unsigned char>&, ofBuffer const&, ofImageLoadSettings const&) in libofxiOS_iphoneos_Debug.a(ofImage.o)
"_FreeImage_FIFSupportsReading", referenced from:
bool loadImage<unsigned char>(ofPixels_<unsigned char>&, boost::filesystem::path const&, ofImageLoadSettings const&) in libofxiOS_iphoneos_Debug.a(ofImage.o)
"_FreeImage_GetFileType", referenced from:
bool loadImage<unsigned char>(ofPixels_<unsigned char>&, boost::filesystem::path const&, ofImageLoadSettings const&) in libofxiOS_iphoneos_Debug.a(ofImage.o)
"_uriFreeUriMembersA", referenced from:
bool loadImage<unsigned char>(ofPixels_<unsigned char>&, boost::filesystem::path const&, ofImageLoadSettings const&) in libofxiOS_iphoneos_Debug.a(ofImage.o)
"_FreeImage_Load", referenced from:
bool loadImage<unsigned char>(ofPixels_<unsigned char>&, boost::filesystem::path const&, ofImageLoadSettings const&) in libofxiOS_iphoneos_Debug.a(ofImage.o)
"_FreeImage_Unload", referenced from:
bool loadImage<unsigned char>(ofPixels_<unsigned char>&, boost::filesystem::path const&, ofImageLoadSettings const&) in libofxiOS_iphoneos_Debug.a(ofImage.o)
bool loadImage<unsigned char>(ofPixels_<unsigned char>&, ofBuffer const&, ofImageLoadSettings const&) in libofxiOS_iphoneos_Debug.a(ofImage.o)
void putBmpIntoPixels<unsigned char>(FIBITMAP*, ofPixels_<unsigned char>&, bool) in libofxiOS_iphoneos_Debug.a(ofImage.o)
"_curl_slist_append", referenced from:
ofURLFileLoaderImpl::handleRequest(ofHttpRequest const&) in libofxiOS_iphoneos_Debug.a(ofURLFileLoader.o)
"_uriUnixFilenameToUriStringA", referenced from:
bool loadImage<unsigned char>(ofPixels_<unsigned char>&, boost::filesystem::path const&, ofImageLoadSettings const&) in libofxiOS_iphoneos_Debug.a(ofImage.o)
"_FT_Set_Char_Size", referenced from:
ofTrueTypeFont::load(ofTrueTypeFontSettings const&) in libofxiOS_iphoneos_Debug.a(ofTrueTypeFont.o)
"_FreeImage_DeInitialise", referenced from:
ofInitFreeImage(bool) in libofxiOS_iphoneos_Debug.a(ofImage.o)
"_FT_Get_Kerning", referenced from:
ofTrueTypeFont::getKerning(unsigned int, unsigned int) const in libofxiOS_iphoneos_Debug.a(ofTrueTypeFont.o)
"_tessNewTess", referenced from:
ofTessellator::init() in libofxiOS_iphoneos_Debug.a(ofTessellator.o)
"_FreeImage_GetBPP", referenced from:
void putBmpIntoPixels<unsigned char>(FIBITMAP*, ofPixels_<unsigned char>&, bool) in libofxiOS_iphoneos_Debug.a(ofImage.o)
"boost::filesystem::path::end() const", referenced from:
ofFilePath::makeRelative(boost::filesystem::path const&, boost::filesystem::path const&) in libofxiOS_iphoneos_Debug.a(ofFileUtils.o)
"boost::filesystem::path::root_directory() const", referenced from:
boost::filesystem::path::has_root_directory() const in libofxiOS_iphoneos_Debug.a(ofUtils.o)
"_FT_Load_Glyph", referenced from:
ofTrueTypeFont::loadGlyph(unsigned int) const in libofxiOS_iphoneos_Debug.a(ofTrueTypeFont.o)
"_tessGetElementCount", referenced from:
ofTessellator::performTessellation(ofPolyWindingMode, ofMesh_<glm::tvec3<float, (glm::precision)0>, glm::tvec3<float, (glm::precision)0>, ofColor_<float>, glm::tvec2<float, (glm::precision)0> >&, bool) in libofxiOS_iphoneos_Debug.a(ofTessellator.o)
ofTessellator::performTessellation(ofPolyWindingMode, std::__1::vector<ofPolyline_<glm::tvec3<float, (glm::precision)0> >, std::__1::allocator<ofPolyline_<glm::tvec3<float, (glm::precision)0> > > >&, bool) in libofxiOS_iphoneos_Debug.a(ofTessellator.o)
"_uriParseUriA", referenced from:
bool loadImage<unsigned char>(ofPixels_<unsigned char>&, boost::filesystem::path const&, ofImageLoadSettings const&) in libofxiOS_iphoneos_Debug.a(ofImage.o)
"_FreeImage_OpenMemory", referenced from:
bool loadImage<unsigned char>(ofPixels_<unsigned char>&, ofBuffer const&, ofImageLoadSettings const&) in libofxiOS_iphoneos_Debug.a(ofImage.o)
"_FT_New_Face", referenced from:
loadFontFace(boost::filesystem::path const&, FT_FaceRec_*&, boost::filesystem::path&) in libofxiOS_iphoneos_Debug.a(ofTrueTypeFont.o)
"_curl_slist_free_all", referenced from:
ofURLFileLoaderImpl::handleRequest(ofHttpRequest const&) in libofxiOS_iphoneos_Debug.a(ofURLFileLoader.o)
"boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)", referenced from:
boost::filesystem::is_directory(boost::filesystem::path const&) in libofxiOS_iphoneos_Debug.a(ofUtils.o)
boost::filesystem::exists(boost::filesystem::path const&) in libofxiOS_iphoneos_Debug.a(ofFileUtils.o)
boost::filesystem::is_regular_file(boost::filesystem::path const&) in libofxiOS_iphoneos_Debug.a(ofFileUtils.o)
"boost::filesystem::path::compare(boost::filesystem::path const&) const", referenced from:
boost::filesystem::path::compare(char const*) const in libofxiOS_iphoneos_Debug.a(ofTrueTypeFont.o)
boost::filesystem::operator==(boost::filesystem::path const&, boost::filesystem::path const&) in libofxiOS_iphoneos_Debug.a(ofFileUtils.o)
"_curl_global_init", referenced from:
ofURLFileLoaderImpl::ofURLFileLoaderImpl() in libofxiOS_iphoneos_Debug.a(ofURLFileLoader.o)
"boost::filesystem::absolute(boost::filesystem::path const&, boost::filesystem::path const&)", referenced from:
of::priv::initutils() in libofxiOS_iphoneos_Debug.a(ofUtils.o)
ofToDataPath(boost::filesystem::path const&, bool) in libofxiOS_iphoneos_Debug.a(ofUtils.o)
ofFilePath::getAbsolutePath(boost::filesystem::path const&, bool) in libofxiOS_iphoneos_Debug.a(ofFileUtils.o)
ofFilePath::makeRelative(boost::filesystem::path const&, boost::filesystem::path const&) in libofxiOS_iphoneos_Debug.a(ofFileUtils.o)
"_FreeImage_GetColorType", referenced from:
void putBmpIntoPixels<unsigned char>(FIBITMAP*, ofPixels_<unsigned char>&, bool) in libofxiOS_iphoneos_Debug.a(ofImage.o)
"boost::filesystem::detail::current_path(boost::system::error_code*)", referenced from:
boost::filesystem::current_path() in libofxiOS_iphoneos_Debug.a(ofUtils.o)
"_FT_Done_Face", referenced from:
ofTrueTypeFont::load(ofTrueTypeFontSettings const&) in libofxiOS_iphoneos_Debug.a(ofTrueTypeFont.o)
"boost::filesystem::path::parent_path() const", referenced from:
ofFilePath::getEnclosingDirectory(boost::filesystem::path const&, bool) in libofxiOS_iphoneos_Debug.a(ofFileUtils.o)
"boost::system::system_category()", referenced from:
___cxx_global_var_init.2 in MyAppViewController.o
___cxx_global_var_init.2 in main.o
___cxx_global_var_init.2 in ofApp.o
___cxx_global_var_init.2 in ARAnchorManager.o
___cxx_global_var_init.2 in Camera.o
___cxx_global_var_init.2 in ARProcessor.o
___cxx_global_var_init.2 in ARCam.o
...
"_FT_Init_FreeType", referenced from:
ofTrueTypeFont::initLibraries() in libofxiOS_iphoneos_Debug.a(ofTrueTypeFont.o)
"_FT_Outline_Decompose", referenced from:
makeContoursForCharacter(FT_FaceRec_*) in libofxiOS_iphoneos_Debug.a(ofTrueTypeFont.o)
"boost::filesystem::detail::create_directory(boost::filesystem::path const&, boost::system::error_code*)", referenced from:
boost::filesystem::create_directory(boost::filesystem::path const&) in libofxiOS_iphoneos_Debug.a(ofFileUtils.o)
"boost::filesystem::path::operator/=(char const*)", referenced from:
ofFilePath::makeRelative(boost::filesystem::path const&, boost::filesystem::path const&) in libofxiOS_iphoneos_Debug.a(ofFileUtils.o)
"_FT_Render_Glyph", referenced from:
ofTrueTypeFont::loadGlyph(unsigned int) const in libofxiOS_iphoneos_Debug.a(ofTrueTypeFont.o)
"_FreeImage_GetFIFFromFilename", referenced from:
bool loadImage<unsigned char>(ofPixels_<unsigned char>&, boost::filesystem::path const&, ofImageLoadSettings const&) in libofxiOS_iphoneos_Debug.a(ofImage.o)
"boost::system::generic_category()", referenced from:
___cxx_global_var_init in MyAppViewController.o
___cxx_global_var_init.1 in MyAppViewController.o
___cxx_global_var_init in main.o
___cxx_global_var_init.1 in main.o
___cxx_global_var_init in ofApp.o
___cxx_global_var_init.1 in ofApp.o
___cxx_global_var_init in ARAnchorManager.o
...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Maybe the problem is ARKit itself, I don't know, I was just wonder whether there's some obvious fix to this problem.
Thanks