Skip to content
This repository was archived by the owner on Dec 3, 2018. It is now read-only.
This repository was archived by the owner on Dec 3, 2018. It is now read-only.

compile on windows ('mapnik::svg::grammar::parse_rule()': function template has already been defined (compiling source file ..\..\src\svg\svg_path_grammar_x3.cpp)) #113

@am2222

Description

@am2222

Hi,
While I want to compile mapnik on windows with VS 2015 but I get this error

Severity	Code	Description	Project	File	Line	Suppression State
Error	C2995	'bool mapnik::svg::grammar::parse_rule(unknown-type,Iterator &,const Iterator &,const Context &,Attribute &)': function template has already been defined (compiling source file ..\..\src\svg\svg_path_grammar_x3.cpp)	mapnik	E:\Personal\Project\MApnik\windowsBuild\windows-builds\packages\mapnik-master\include\mapnik\svg\svg_path_grammar_x3_def.hpp	186	

and this

Severity	Code	Description	Project	File	Line	Suppression State
Error	C2995	'bool mapnik::svg::`anonymous-namespace'::grammar::parse_rule(unknown-type,Iterator &,const Iterator &,const Context &,Attribute &)': function template has already been defined	mapnik	E:\Personal\Project\MApnik\windowsBuild\windows-builds\packages\mapnik-master\src\svg\svg_parser.cpp	114	

Severity	Code	Description	Project	File	Line	Suppression State
Error	C2668	'mapnik::svg::grammar::parse_rule': ambiguous call to overloaded function (compiling source file ..\..\src\svg\svg_transform_parser.cpp)	mapnik	E:\Personal\Project\MApnik\windowsBuild\windows-builds\packages\mapnik-master\mapnik-gyp\mapnik-sdk\include\boost\spirit\home\x3\nonterminal\rule.hpp	116	

can some one helps with this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions