mapnik / mapnik-support

Use the issues queue here to ask questions and offer help on using Mapnik (maybe if this works well we can retire the mailing list at http://mapnik.org/contact/?)
6 stars 6 forks source link

Load xml file error. #148

Open yuziqii opened 2 years ago

yuziqii commented 2 years ago

Hey, I'm new to mapnik and I'd like to integrate mapnik into my cpp project. I follow the instruction installed mapnik on windows with vcpkg and it worked! But when I run my application, it throws an error saying "pj_obj_create: Cannot find proj.db". And I followed the code found out it was this line of code cause the error, so I wonder if there is something I forgot to do? image

image

Here is my code below. Any help would be appreciate!!! image