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

Error running c++ demo #144

Open brunswick42 opened 4 years ago

brunswick42 commented 4 years ago

I'm new to mapnik, so I am just trying to learn about it and experiment right now. I built it for the first time yesterday from the master branch of the repo. Everything appears to be okay with the build, and none of the make tests tests failed. However, when I run the c++ demo, using ./rundemo `mapnik-config --prefix` I get an error. The output:

 running demo ...
### std::exception: Could not create datasource for type: 'shape' (no datasource plugin directories have been successfully registered)

When I look in the datasource_cache location, plugins/input/, it appears to be a shape directory and shape.input file. The shape files are also in the correct location. I thought there might be a problem with master, so I compiled 3.0.23, but still observe the same problem.