On Oct 27, 2010, at 11:51 PM, HabibF3 wrote:
>
>> Have a look at the demo/c++/ and demo/viewer/ directories in the mapnik
>> source.
>
> I tried creating a project for demo/c++ and was able to build it after
> adding references to header files and library files.
Great job. I apologize that we do not have any substantial documentation on
getting started with Mapnik on windows or with VS. I would encourage you to
document the steps that do work for you so others may benefit.
> But I am getting some
> exception while executing it. Exception is generated on the following line.
>
> provpoly_rule_on.set_filter(create_filter("[NAME_EN] = 'Ontario'"));
>
> Exception:
> ### Configuration error: Failed to parse filter expression:
> "F:\Projects\MapnikVCSample\map
> Parsing aborted at '"'
Hmm, so what mapnik version is this exactly?
The problem is basically that the parsing of that string is failing, and its
hard to know what might be going wrong. The library used here is boost::spirit,
so when you reply, please also indicate with boost version you have installed
and how you installed it.
>
> As I mentioned in my first post that I am a C# developer and I have no idea
> what is going on here, or if I messed something up while referencing
> libraries.
> Could you suggest me any sample application build in Visual C++ in VS 2010
> or steps to create a sample application in Visual studio 2010 for mapnik.
>
I know of one person who has done some work with Mapnik via .Net:
http://code.google.com/p/mapnikdotnet/wiki/Main
Perhaps you could check with him...
> --
> View this message in context:
> http://old.nabble.com/Questions-about-MapNik-tp30045557p30073898.html
> Sent from the Mapnik - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users