|
From: | Jeffrey Sheen |
Subject: | Re: [ft] Question: linker errors when building freetype for iOS in Xcode |
Date: | Thu, 15 May 2014 17:09:41 +0100 |
Many thanks for your quick response Werner.This being my first foray with freetype2, I had indeed overlooked the customisation of `ftmodule.h`.After commenting out the modules corresponding to those `.c` files that I had omitted from the compilation step, I rebuilt the product. I ended up with a library of 3.2MB, as opposed to the previous build of 2.6Mb. I then re-added it to my other, dependent Xcode project.The first clean and build cycle of the dependent Xcode project yielded the same linker errors, so there is still something awry. I will give it another go in the morning.Perhaps I will jettison my plan to build the freetype2 library with Xcode altogether. There are some suggestions for a command line process that I can attempt instead.On 14 May 2014 19:38, Werner LEMBERG <address@hidden> wrote:
> However, when trying to build the dependent Xcode project, I get the> "_bdf_driver_class", referenced from:
> following linker errors:
>
> [...]
>I guess that you've missed to update `ftmodule.h' to hold only the
> I notice that these errors contain the names of modules that I have
> disabled, by removing their respective ".c" files from compilation
> in the original "freetype2-ios" Xcode project.
>
> Was there some other configuration required in that Xcode project,
> in order to remove references to these disabled modules?
modules you are going to use. Cf. `docs/CUSTOMIZE'.
Werner
[Prev in Thread] | Current Thread | [Next in Thread] |