> On 20 Oct 2015, at 12:25, Joakim Bygdell <[email protected]> wrote: > > > On 20 Oct 2015 12:15 pm, "Dirk Hohndel" <[email protected] > <mailto:[email protected]>> wrote: > > > > I'm a bit stuck and am on my way to "bad internet island"... maybe someone > > can help me... > > > > I'm trying to build the Android apk on Mac (yeah, I know... but I now have > > all the pieces downloaded, so work with me). Everything goes great. > > libftdi fails completely with weird errors, so let's ignore that > > and then cmake on Subsurface barfs that it can't find any of the > > pkg-config based packages like libxml-2.0. > > > > Running pkg-config with the correct PKG_CONFIG_PATH finds all of the > > libraries. Printing out the environment variable $ENV{PKG_CONFIG_PATH} > > right before the call to pkg_config_library(LIBXML libxml-2.0 REQUIRED) > > shows that the right path is set. But cmake finds none of the libraries. > > That one seems familiar, I'll check how I solved that when I get home tonight. > The path for pkg-config in the script is “/usr/bin/“ but on mac when pkg-config is installed via homebrew it is installed in "/usr/local/bin”. Fixing that fixed the problem with make not finding the libraries. > > > > So it somehow must be explicitly unsetting or changing the correct > > PKG_CONFIG_PATH that was set. > > > > Any ideas? Tomaz? Anton? > > > > /D > > _______________________________________________ > > subsurface mailing list > > [email protected] <mailto:[email protected]> > > http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface > > <http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface>
/Jocke
_______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
