Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

64-bit Support #3

Closed
ak0815 opened this issue Jan 14, 2015 · 6 comments
Closed

64-bit Support #3

ak0815 opened this issue Jan 14, 2015 · 6 comments

Comments

@ak0815
Copy link

ak0815 commented Jan 14, 2015

Hello,

can not create a build with the SDK 3.5.0.

Log:
Undefined symbols for architecture arm64:
[TRACE] : "OBJC_CLASS$_CPTBarPlot", referenced from:
[TRACE] : objc-class-ref in libti.charts.a(TiChartsBarPlotProxy.o)
[TRACE] : "OBJC_CLASS$_CPTTheme", referenced from:
[TRACE] : objc-class-ref in libti.charts.a(TiChartsChart.o)
[TRACE] : "_CPTDecimalFromDouble", referenced from:
[TRACE] : -[TiChartsChart refreshPlotSpaces] in libti.charts.a(TiChartsChart.o)
[TRACE] : "OBJC_CLASS$_CPTPieChart", referenced from:
[TRACE] : objc-class-ref in libti.charts.a(TiChartsPiePlotProxy.o)
[TRACE] : "OBJC_CLASS$_CPTScatterPlot", referenced from:
[TRACE] : objc-class-ref in libti.charts.a(TiChartsLinePlotProxy.o)
[TRACE] : "OBJC_CLASS$_CPTPlotRange", referenced from:
[TRACE] : objc-class-ref in libti.charts.a(TiChartsParsers.o)
[TRACE] : "OBJC_CLASS$_CPTPlotSymbol", referenced from:
[TRACE] : objc-class-ref in libti.charts.a(TiChartsParsers.o)
[TRACE] : "OBJC_CLASS$_CPTFill", referenced from:
[TRACE] : objc-class-ref in libti.charts.a(TiChartsParsers.o)
[TRACE] : "OBJC_CLASS$_CPTMutableTextStyle", referenced from:
[TRACE] : objc-class-ref in libti.charts.a(TiChartsParsers.o)
[TRACE] : "OBJC_CLASS$_CPTColor", referenced from:
[TRACE] : objc-class-ref in libti.charts.a(TiChartsParsers.o)
[TRACE] : "OBJC_CLASS$_CPTGradient", referenced from:
[TRACE] : objc-class-ref in libti.charts.a(TiChartsParsers.o)
[TRACE] : "_kCPTPlainBlackTheme", referenced from:
[TRACE] : -[TiChartsModule THEME_BLACK] in libti.charts.a(TiChartsModule.o)
[TRACE] : "_CPTDecimalFromInteger", referenced from:
[TRACE] : +[TiChartsParsers parseAxis:properties:usingPlotSpace:def:] in libti.charts.a(TiChartsParsers.o)
[TRACE] : "OBJC_CLASS$_CPTMutableLineStyle", referenced from:
[TRACE] : objc-class-ref in libti.charts.a(TiChartsParsers.o)
[TRACE] : "OBJC_CLASS$_CPTGraphHostingView", referenced from:
[TRACE] : objc-class-ref in libti.charts.a(TiChartsChart.o)
[TRACE] : "OBJC_CLASS$_CPTXYAxis", referenced from:
[TRACE] : objc-class-ref in libti.charts.a(TiChartsParsers.o)
[TRACE] : "_CPTDecimalFromFloat", referenced from:
[TRACE] : +[TiChartsParsers parsePlotRange:def:] in libti.charts.a(TiChartsParsers.o)
[TRACE] : +[TiChartsParsers parseAxis:properties:usingPlotSpace:def:] in libti.charts.a(TiChartsParsers.o)
[TRACE] : +[TiChartsParsers decimalFromFloat:def:] in libti.charts.a(TiChartsParsers.o)
[TRACE] : "_kCPTStocksTheme", referenced from:
[TRACE] : -[TiChartsModule THEME_STOCKS] in libti.charts.a(TiChartsModule.o)
[TRACE] : "_kCPTSlateTheme", referenced from:
[TRACE] : -[TiChartsModule THEME_SLATE] in libti.charts.a(TiChartsModule.o)
[TRACE] : "OBJC_CLASS$_CPTXYGraph", referenced from:
[TRACE] : objc-class-ref in libti.charts.a(TiChartsChart.o)
[TRACE] : "_kCPTPlainWhiteTheme", referenced from:
[TRACE] : -[TiChartsModule THEME_WHITE] in libti.charts.a(TiChartsModule.o)
[TRACE] : "OBJC_CLASS$_CPTConstraints", referenced from:
[TRACE] : objc-class-ref in libti.charts.a(TiChartsParsers.o)
[TRACE] : "_kCPTDarkGradientTheme", referenced from:
[TRACE] : -[TiChartsModule THEME_DARK_GRADIENT] in libti.charts.a(TiChartsModule.o)
[TRACE] : -[TiChartsChart configureTheme:] in libti.charts.a(TiChartsChart.o)
[TRACE] : ld: symbol(s) not found for architecture arm64
[TRACE] : clang: error: linker command failed with exit code 1 (use -v to see invocation)
[ERROR] : ** BUILD FAILED **
[ERROR] : The following build commands failed:
[ERROR] : Ld build/FHEM\ APP.build/Release-iphoneos/Test\ APP-universal.build/Objects-normal/arm64/FHEM\ APP normal arm64
[ERROR] : (1 failure)

BG Andy

@morinel
Copy link
Contributor

morinel commented Jan 14, 2015

I have the same problem. Maybe related to the fact that the bundled libCorePlot-CocoaTouch.a doesnot contain a 64 bit architecture?

$ file libCorePlot-CocoaTouch.a
libCorePlot-CocoaTouch.a: Mach-O universal binary with 3 architectures
libCorePlot-CocoaTouch.a (for architecture armv6): current ar archive random library
libCorePlot-CocoaTouch.a (for architecture armv7): current ar archive random library
libCorePlot-CocoaTouch.a (for architecture i386): current ar archive random library

What version of CorePlot is used for this module? Current CorePlot 2.0 is not compatible and requires more changes to the ti.charts source code.

@morinel
Copy link
Contributor

morinel commented Jan 14, 2015

I added a comment to TIMOB-18092

@ak0815
Copy link
Author

ak0815 commented Jan 14, 2015

Change the file libCorePlot-CocoaTouch.a against the file from:

https://code.google.com/p/core-plot/

then it works :-)

@morinel
Copy link
Contributor

morinel commented Jan 14, 2015

But the file in CorePlot_1.4/Binaries/iOS/libCorePlot-CocoaTouch.a does not contain the x86_64 architecture and hence cannot be used when running on the iOS Simulator. It has the same architectures as stated in my first comment.

Or am I missing something?

@ak0815
Copy link
Author

ak0815 commented Jan 14, 2015

For me it works with the simulator.

@jonalter
Copy link
Contributor

Closing.
Resolved by #4 via #5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants