[ gpsdrive ] mapnik 2.0.0 support

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[ gpsdrive ] mapnik 2.0.0 support

Sergej Pupykin

Hello,

I am trying to build gpsdrive against mapnik 2.0.0 and get following
errors:

gpsdrive-2.11/src/mapnik.cpp:32:15: error: ‘mapnik::Image32’ has not been declared
gpsdrive-2.11/src/mapnik.cpp:34:15: error: ‘mapnik::Layer’ has not been declared
gpsdrive-2.11/src/mapnik.cpp:35:15: error: ‘mapnik::Envelope’ has not been declared
gpsdrive-2.11/src/mapnik.cpp: In function ‘void mapnik::render_thread()’:
gpsdrive-2.11/src/mapnik.cpp:487:13: error: ‘Envelope’ was not declared in this scope
gpsdrive-2.11/src/mapnik.cpp:487:22: error: expected primary-expression before ‘double’
gpsdrive-2.11/src/mapnik.cpp:487:22: error: expected ‘;’ before ‘double’
gpsdrive-2.11/src/mapnik.cpp:492:31: error: ‘class mapnik::Map’ has no member named ‘zoomToBox’
gpsdrive-2.11/src/mapnik.cpp:492:41: error: ‘box’ was not declared in this scope
gpsdrive-2.11/src/mapnik.cpp:494:13: error: ‘Image32’ was not declared in this scope
gpsdrive-2.11/src/mapnik.cpp:494:21: error: expected ‘;’ before ‘buf’
gpsdrive-2.11/src/mapnik.cpp:495:41: error: type/value mismatch at argument 1 in template parameter list for ‘template<class T> class mapnik::agg_renderer’
gpsdrive-2.11/src/mapnik.cpp:495:41: error:   expected a type, got ‘Image32’
gpsdrive-2.11/src/mapnik.cpp:495:46: error: invalid type in declaration before ‘(’ token
gpsdrive-2.11/src/mapnik.cpp:495:65: error: ‘buf’ was not declared in this scope
gpsdrive-2.11/src/mapnik.cpp:495:68: error: expression list treated as compound expression in initializer [-fpermissive]
gpsdrive-2.11/src/mapnik.cpp:496:17: error: request for member ‘apply’ in ‘ren’, which is of non-class type ‘int’
gpsdrive-2.11/src/mapnik.cpp:498:61: error: ‘class mapnik::Map’ has no member named ‘getCurrentExtent’
gpsdrive-2.11/src/mapnik.cpp:508:13: error: ‘Envelope’ is not a member of ‘mapnik’
gpsdrive-2.11/src/mapnik.cpp:508:30: error: expected primary-expression before ‘double’
gpsdrive-2.11/src/mapnik.cpp:508:30: error: expected ‘;’ before ‘double’
gpsdrive-2.11/src/mapnik.cpp:509:34: error: ‘ext’ was not declared in this scope

Is there patch for it? May be I should try svn version?
_______________________________________________
GPSdrive mailing list
[hidden email]
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive
Reply | Threaded
Open this post in threaded view
|

Re: [ gpsdrive ] mapnik 2.0.0 support

4x4falcon
Hi,

Given that mapnik 2.0.0 has only been out for a couple of weeks it's
unlikely to see a patch or update in svn that soon.

Having said that, I had started looking at it but will not get much of a
chance until possibly next weekend.

Cheers
Ross


>
> Hello,
>
> I am trying to build gpsdrive against mapnik 2.0.0 and get following
> errors:
>
> gpsdrive-2.11/src/mapnik.cpp:32:15: error: ‘mapnik::Image32’ has not
> been declared
> gpsdrive-2.11/src/mapnik.cpp:34:15: error: ‘mapnik::Layer’ has not
> been declared
> gpsdrive-2.11/src/mapnik.cpp:35:15: error: ‘mapnik::Envelope’ has not
> been declared
> gpsdrive-2.11/src/mapnik.cpp: In function ‘void
> mapnik::render_thread()’:
> gpsdrive-2.11/src/mapnik.cpp:487:13: error: ‘Envelope’ was not
> declared in this scope
> gpsdrive-2.11/src/mapnik.cpp:487:22: error: expected primary-expression
> before ‘double’
> gpsdrive-2.11/src/mapnik.cpp:487:22: error: expected ‘;’ before
> ‘double’
> gpsdrive-2.11/src/mapnik.cpp:492:31: error: ‘class mapnik::Map’ has no
> member named ‘zoomToBox’
> gpsdrive-2.11/src/mapnik.cpp:492:41: error: ‘box’ was not declared in
> this scope
> gpsdrive-2.11/src/mapnik.cpp:494:13: error: ‘Image32’ was not declared
> in this scope
> gpsdrive-2.11/src/mapnik.cpp:494:21: error: expected ‘;’ before
> ‘buf’
> gpsdrive-2.11/src/mapnik.cpp:495:41: error: type/value mismatch at
> argument 1 in template parameter list for ‘template<class T> class
> mapnik::agg_renderer’
> gpsdrive-2.11/src/mapnik.cpp:495:41: error:   expected a type, got
> ‘Image32’
> gpsdrive-2.11/src/mapnik.cpp:495:46: error: invalid type in declaration
> before ‘(’ token
> gpsdrive-2.11/src/mapnik.cpp:495:65: error: ‘buf’ was not declared in
> this scope
> gpsdrive-2.11/src/mapnik.cpp:495:68: error: expression list treated as
> compound expression in initializer [-fpermissive]
> gpsdrive-2.11/src/mapnik.cpp:496:17: error: request for member ‘apply’
> in ‘ren’, which is of non-class type ‘int’
> gpsdrive-2.11/src/mapnik.cpp:498:61: error: ‘class mapnik::Map’ has no
> member named ‘getCurrentExtent’
> gpsdrive-2.11/src/mapnik.cpp:508:13: error: ‘Envelope’ is not a member
> of ‘mapnik’
> gpsdrive-2.11/src/mapnik.cpp:508:30: error: expected primary-expression
> before ‘double’
> gpsdrive-2.11/src/mapnik.cpp:508:30: error: expected ‘;’ before
> ‘double’
> gpsdrive-2.11/src/mapnik.cpp:509:34: error: ‘ext’ was not declared in
> this scope
>
> Is there patch for it? May be I should try svn version?
> _______________________________________________
> GPSdrive mailing list
> [hidden email]
> http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive
>


_______________________________________________
GPSdrive mailing list
[hidden email]
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive