Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

-[MGLGeoJSONSource mbgl_source] mapbox::geojson symbol(s) not found #6194

Closed
friedbunny opened this issue Aug 29, 2016 · 2 comments
Closed
Assignees
Labels
bug build iOS Mapbox Maps SDK for iOS release blocker Blocks the next final release
Milestone

Comments

@friedbunny
Copy link
Contributor

friedbunny commented Aug 29, 2016

Platform: iOS
Mapbox SDK version: v3.4.0-alpha.2 (static)

Attempting to use the static framework with v3.4.0-alpha.2 results in several undefined symbols errors.

Both arm64 and x86_64 architectures are reported as missing.

Undefined symbols for architecture arm64:
  "mapbox::geojson::convert(rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::CrtAllocator> const&)", referenced from:
      mbgl::style::conversion::Result<mapbox::util::variant<mapbox::geometry::geometry<double>, mapbox::geometry::feature<double>, mapbox::geometry::feature_collection<double, std::__1::vector> > > mbgl::style::conversion::convertGeoJSON<rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::CrtAllocator> >(rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::CrtAllocator> const&) in Mapbox(geojson_source_impl.o)
  "mapbox::geojson::parse(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
      -[MGLGeoJSONSource mbgl_source] in Mapbox(MGLGeoJSONSource.o)
ld: symbol(s) not found for architecture arm64

/cc @1ec5 @boundsj @kkaefer @mourner

@friedbunny friedbunny added bug iOS Mapbox Maps SDK for iOS build labels Aug 29, 2016
@friedbunny friedbunny added this to the ios-v3.4.0 milestone Aug 29, 2016
@1ec5
Copy link
Contributor

1ec5 commented Aug 29, 2016

Perhaps something changed during the CMake migration that keeps us from linking the static library to geojson-vt-cpp.

@friedbunny friedbunny added the release blocker Blocks the next final release label Sep 30, 2016
@friedbunny friedbunny self-assigned this Oct 17, 2016
@friedbunny
Copy link
Contributor Author

This appears to no longer be a problem — the static framework for v3.4.0-alpha.5 works as expected, as does one freshly compiled from master/alpha.6. Weird.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug build iOS Mapbox Maps SDK for iOS release blocker Blocks the next final release
Projects
None yet
Development

No branches or pull requests

2 participants