You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 3, 2018. It is now read-only.
I have compiled mapnik with VS2015, but my project use a lot of c++17 features, and when I want to use mapnik inside, The program crashed because of different CRT (bug is appearing when I have to std::move something from my program to a Mapnik function).
Exemple
feature_type_style raster_style;
{
rule r;
{
raster_symbolizer raster_sym;
r.append(raster_sym);
}
raster_style.add_rule(std::move(r)); // <-- Here it crashes
}
m.insert_style("raster_style", raster_style); // Or here, if I comment the above live
So, I decided to compile Mapnik with VS2017 and I succeed to compile mapnik.dll thanks to VS project (.sln) created in packages\mapnik-v3.0.x\mapnik-gyp\build
The problem I have now is everything works with mapnik but I need to compile all his dependecies to VS2017. But I did not fully understand how they are building. Is there a .sln somewhere ? With CMake ?
Thanks :)
The text was updated successfully, but these errors were encountered:
Hello,
I have compiled mapnik with VS2015, but my project use a lot of c++17 features, and when I want to use mapnik inside, The program crashed because of different CRT (bug is appearing when I have to
std::move
something from my program to a Mapnik function).Exemple
So, I decided to compile Mapnik with VS2017 and I succeed to compile
mapnik.dll
thanks to VS project (.sln
) created inpackages\mapnik-v3.0.x\mapnik-gyp\build
The problem I have now is everything works with mapnik but I need to compile all his dependecies to VS2017. But I did not fully understand how they are building. Is there a
.sln
somewhere ? With CMake ?Thanks :)
The text was updated successfully, but these errors were encountered: