Two classes of libmarble need the MARBLE_EXPORT symbol to link the OSM plugin: OsmPlacemarkData and GeoTagWriter. Solution: 1. replace "class OsmPlacemarkData" with "class MARBLE_EXPORT OsmPlacemarkData" (line 52) 2. replace "class GeoTagWriter" with "class MARBLE_EXPORT GeoTagWriter" (line 31) 3. add "#include "marble_export.h" " after line 16 Reproducible: Always
Sorry, forgot the file names in the solution steps: 1. OsmPlacemarkData.h 2. GeoTagWriter.h 3. GeoTagWriter.h
Git commit d9aa43e3a9deb7971963898cd589f5b53d38ff72 by Dennis Nienhüser. Committed on 05/09/2015 at 14:21. Pushed by nienhueser into branch 'Applications/15.08'. Export classes used in plugins (MSVC) (cherry picked from commit dd1f8733690a775aefec88b9a246da0c996b0d90) M +3 -1 src/lib/marble/geodata/writer/GeoTagWriter.h M +2 -1 src/lib/marble/osm/OsmPlacemarkData.h M +1 -0 src/lib/marble/routing/RouteRequest.cpp http://commits.kde.org/marble/d9aa43e3a9deb7971963898cd589f5b53d38ff72