iOS: missing native font lib (a) in SDK directory

Tobias Bley tobi at ultramixer.com
Wed Jul 3 00:17:45 PDT 2013


Thanks Danno,

now I’m getting the following errors:

Undefined symbols for architecture armv7:
  "_kCTFontURLAttribute", referenced from:
      _Java_com_sun_javafx_font_MacFontFinder_getFontData in libjavafx-font-armv7.a(MacFontFinder.obj)
  "_kCTFontDisplayNameAttribute", referenced from:
      _Java_com_sun_javafx_font_MacFontFinder_getFontData in libjavafx-font-armv7.a(MacFontFinder.obj)
  "_CTFontCollectionCreateMatchingFontDescriptors", referenced from:
      _Java_com_sun_javafx_font_MacFontFinder_getFontData in libjavafx-font-armv7.a(MacFontFinder.obj)
  "_CTFontCollectionCreateFromAvailableFonts", referenced from:
      _Java_com_sun_javafx_font_MacFontFinder_getFontData in libjavafx-font-armv7.a(MacFontFinder.obj)
  "_CTFontCopyFullName", referenced from:
      _Java_com_sun_javafx_font_MacFontFinder_getFontData in libjavafx-font-armv7.a(MacFontFinder.obj)
  "_CTFontCreateUIFontForLanguage", referenced from:
      _Java_com_sun_javafx_font_MacFontFinder_getSystemFontSize in libjavafx-font-armv7.a(MacFontFinder.obj)
      _Java_com_sun_javafx_font_MacFontFinder_getFont in libjavafx-font-armv7.a(MacFontFinder.obj)
      _Java_com_sun_javafx_font_MacFontFinder_getFontData in libjavafx-font-armv7.a(MacFontFinder.obj)
  "_CTFontCopyFontDescriptor", referenced from:
      _Java_com_sun_javafx_font_MacFontFinder_getFontData in libjavafx-font-armv7.a(MacFontFinder.obj)
  "_CTFontDescriptorCopyAttribute", referenced from:
      _Java_com_sun_javafx_font_MacFontFinder_getFontData in libjavafx-font-armv7.a(MacFontFinder.obj)
  "_CTFontCopyFamilyName", referenced from:
      _Java_com_sun_javafx_font_MacFontFinder_getFont in libjavafx-font-armv7.a(MacFontFinder.obj)
  "_kCTFontFamilyNameAttribute", referenced from:
      _Java_com_sun_javafx_font_MacFontFinder_getFontData in libjavafx-font-armv7.a(MacFontFinder.obj)
  "_CTFontGetSize", referenced from:
      _Java_com_sun_javafx_font_MacFontFinder_getSystemFontSize in libjavafx-font-armv7.a(MacFontFinder.obj)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Maybe the source code of MacFontFinder is outdated?

Best regards,
Tobi



Am 03.07.2013 um 06:05 schrieb Danno Ferrin <danno.ferrin at shemnon.com>:

> Try this patch:
> 
> https://bitbucket.org/narya/jfx78/commits/e69d574206cf59ed25e215cfd2479c9aae2ab296
> 
> It allows most libs to have varients transparently handled.
> 
> On Tue, Jul 2, 2013 at 6:49 PM, Daniel Zwolenski <zonski at gmail.com> wrote:
> 
>> Niklas has RoboVM ready and waiting for this.
>> 
>> I have the RoboVM Maven plugin already able to build a Java app on RoboVM
>> and run this in a simulator or on a connected device, all from the command
>> line (mvn robovm:ipad-sim, etc). You need only a Mac and must have xcode
>> installed, everything else (robovm download, llvm download) just happens.
>> This works right now without JFX.
>> 
>> To include JFX, we are waiting only on the jar and library files from an
>> iOS build of Danno's back port. Danno in turn is waiting on these usable
>> build scripts from the JFX team.
>> 
>> Once I have a copy of the iOS built libraries of JFX (they do not need to
>> be in Maven, I just need copies of them),  it should be two or three days
>> before people are able to use this to produce JFX iOS apps and this should
>> be very easy for the average punter to do.
>> 
>> Obviously there's a lot going on with the move to gradle, but we are a few
>> lines of Gradle build code away from JFX on iOS. I'm keen to find out just
>> how well it will run.
>> 
>> 
>> 
>> 
>> On Wed, Jul 3, 2013 at 10:33 AM, Richard Bair <richard.bair at oracle.com
>>> wrote:
>> 
>>> That is correct, it isn't complete. I have a couple changes from Danno
>>> that are still in process, and another patch from one of the guys in
>> Prague
>>> as well.
>>> 
>>> On Jul 2, 2013, at 4:46 PM, Tobias Bley <tobi at ultramixer.com> wrote:
>>> 
>>>> Hi,
>>>> 
>>>> I tested the new gradle based build process and noticed that in the
>>> ios-sdk directory the font library (libjavafx-font-armv7.a) is missing.
>> So
>>> maybe the ios.gradle script isn’t complete?
>>>> 
>>>> Best regards,
>>>> Tobi
>>>> 
>>> 
>>> 
>> 



More information about the openjfx-dev mailing list