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

iOS benchmarking app fails to link — mbgl::SharedSQLiteCache::get, mapbox::geojsonvt::Convert::convert #3452

Closed

Description

@1ec5

The ios-bench target fails to link with the following errors:

Undefined symbols for architecture arm64:
  "mbgl::SharedSQLiteCache::get(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
      -[MGLMapView commonInit] in libmbgl-platform-ios.a(MGLMapView.o)
  "mapbox::geojsonvt::Convert::convert(rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> > const&, double)", referenced from:
      mbgl::SourceInfo::parseGeoJSON(rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> > const&) in libmbgl-core.a(source_info.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

/cc @kkaefer

Activity

  1. added
    iOS
    performance
    on Jan 6, 2016
  2. kkaefer commented on Jan 12, 2016

    @kkaefer
    Member

    Just misses the correct linker flags in the gyp file; we extracted GeoJSON VT to it's own static lib, and added a hard dependency on SQLite.

  3. self-assigned this
    on Apr 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

buildiOSperformance

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions