talus-tech

Downgrade from 10.1 to 2.3.2

Discussion created by talus-tech on Jul 22, 2013
Latest reply on Feb 28, 2014 by kini1987
Hi guys,

I was encountering the same file size issue on tpk files larger than 2GB so i decided to revert back to 2.3.2 for now. During the downgrade, i have changed a lot from my code to cater the downgrade since some of the functions that i used are only available in 10.1. After all of the code issues are resolve, I am now encountering another set of issues which are all "Apple Mach-O linker Error".

These are my current build settings:

Other Linker Flags : -ObjC -all_load -framework ArcGIS

Framework Search Paths : /Library/SDKs/ArcGIS
Header Search Paths : /Library/SDKs/ArcGIS/ArcGIS.framework/Headers
Library Search Paths : /Library/SDKs/ArcGIS.framework/Versions/Current

this is the base error that i got whenever i try to run my app:


  "std::basic_ios<char, std::char_traits<char> >::clear(std::_Ios_Iostate)", referenced from:
      esriGeometryX::MultiPathImpl::SaveToTextFileDbg(char const*) in ArcGIS(MultiPathImpl.o)
      esriGeometryX::MultiPathImpl::LoadFromTextFileDbg(char const*) in ArcGIS(MultiPathImpl.o)
      esriGeometryX::OperatorFactoryLocal::SaveJSONToTextFileDbg(char const*, esriGeometryX::Geometry*, esriGeometryX::SpatialReference*) in ArcGIS(OperatorFactoryLocal.o)
      esriGeometryX::OperatorFactoryLocal::SaveShapeToBinaryFileDbg(char const*, esriGeometryX::Geometry*) in ArcGIS(OperatorFactoryLocal.o)
      esriGeometryX::OperatorFactoryLocal::LoadShapeFromBinaryFileDbg(char const*) in ArcGIS(OperatorFactoryLocal.o)
  "std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, int)", referenced from:
      esriGeometryX::MultiPathImpl::SaveToTextFileDbg(char const*) in ArcGIS(MultiPathImpl.o)
      esriGeometryX::OperatorFactoryLocal::SaveJSONToTextFileDbg(char const*, esriGeometryX::Geometry*, esriGeometryX::SpatialReference*) in ArcGIS(OperatorFactoryLocal.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Outcomes