-
Notifications
You must be signed in to change notification settings - Fork 1.3k
geojsonvt.o is not an object file (not allowed in a library) #2348
Comments
Refs #2344 |
I'm suspicious of two things:
|
This was patched to build
It sounds like the "bundled" build tools are just script wrappers around the Xcode tools?
|
@mikemorris The command you ran was |
@mikemorris ah building mason from source on android. I would say we don't support that currently. All mason Android modules have ever been built from Travis on Linux. I'd say the mason build scripts need modifications to check if they are running on OSX and implement some work around. This smells like a PATH issue by the way. Picking up the wrong commands. |
From |
@jfirebaugh explained the fundamental issue:
While we do force The planned short-term resolution is
|
@lucaswoj Correct, except for "building with the host system's C++ standard library instead of the target system's C++ standard library". The build issue on android is unrelated to C++ standard libraries; instead it appears to be caused by using Xcode's libtool rather than the libtool provided by the android NDK. |
|
👍 Want to highlight this. When I first read this ticket it seemed like stdlib issues were related, but its not so. Also over at #2237 (comment) we've ruled out stdlib issue (mostly) as well. |
When running
V=1 make android
on OS X, thegeojsonvt
mason build fails with the following errors:I noticed that some compiler args seem to be duplicated compared to the
make osx
build, which sounds like a similar issue to CocoaPods/CocoaPods#826V=1 make osx
V=1 make android
From https://developer.android.com/ndk/guides/standalone_toolchain.html#wwc (which looks like a useful resource, but a bit over my head):
The
.o
files themselves look okay...The text was updated successfully, but these errors were encountered: