Open am2222 opened 4 years ago
Hi, While I am compiling python-mapnik with the latest mapnik version I have faced this error
d:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD "-IC:\Program Files\Python38\include" "-IC:\Program Files\Python38\include" "-Id:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.7.2\include\um" "-ID:\Windows Kits\10\include\10.0.17763.0\ucrt" "-ID:\Windows Kits\10\include\10.0.17763.0\shared" "-ID:\Windows Kits\10\include\10.0.17763.0\um" "-ID:\Windows Kits\10\include\10.0.17763.0\winrt" "-ID:\Windows Kits\10\include\10.0.17763.0\cppwinrt" /EHsc /Tpsrc/mapnik_svg_generator_grammar.cpp /Fobuild\temp.win-amd64-3.8\Release\src/mapnik_svg_generator_grammar.obj /W1 /wd4068 -I"E:\Personal\SideWorks\Mapnik\mapnik-merged\mapnik\include" -I"E:\Personal\SideWorks\Mapnik\mapnik-merged\mapnik\deps" -I"E:\Personal\SideWorks\Mapnik\mapnik-merged\mapnik\deps\agg\include" -I"E:\Personal\SideWorks\Mapnik\mapnik-merged\mapnik\deps\agg\include" -I"E:\Personal\SideWorks\Mapnik\mapnik-merged\mapnik\deps\mapbox\geometry\include" -I"E:\Personal\SideWorks\Mapnik\mapnik-merged\mapnik\deps\mapbox\polylabel\include" -I"E:\Personal\SideWorks\Mapnik\mapnik-merged\mapnik\deps\mapbox\variant\include" -I"E:\Personal\SideWorks\vcpkg\installed\x64-windows\include" cl : Command line warning D9025 : overriding '/W3' with '/W1' mapnik_svg_generator_grammar.cpp E:\Personal\SideWorks\vcpkg\installed\x64-windows\include\boost/spirit/home/karma/nonterminal/rule.hpp(293): error C2280: 'mapnik::detail::vertex_adapter<mapnik::path_type>::vertex_adapter(const mapnik::detail::vertex_adapter<mapnik::path_type> &)': attempting to reference a deleted function E:\Personal\SideWorks\Mapnik\mapnik-merged\mapnik\include\mapnik/path.hpp(169): note: compiler has generated 'mapnik::detail::vertex_adapter<mapnik::path_type>::vertex_adapter' here E:\Personal\SideWorks\Mapnik\mapnik-merged\mapnik\include\mapnik/path.hpp(169): note: 'mapnik::detail::vertex_adapter<mapnik::path_type>::vertex_adapter(const mapnik::detail::vertex_adapter<mapnik::path_type> &)': function was implicitly deleted because a base class invokes a deleted or inaccessible function 'mapnik::util::non_copyable_::noncopyable::noncopyable(const mapnik::util::non_copyable_::noncopyable &)' E:\Personal\SideWorks\Mapnik\mapnik-merged\mapnik\include\mapnik/util/noncopyable.hpp(45): note: 'mapnik::util::non_copyable_::noncopyable::noncopyable(const mapnik::util::non_copyable_::noncopyable &)': function was explicitly deleted E:\Personal\SideWorks\vcpkg\installed\x64-windows\include\boost/spirit/home/karma/reference.hpp(56): note: see reference to function template instantiation 'bool boost::spirit::karma::rule<OutputIterator,T1,T2,T3,T4>::generate<Context,Delimiter,Attributes>(boost::spirit::karma::detail::output_iterator<OutputIterator,boost::spirit::karma::rule<OutputIterator,T1,T2,T3,T4>::properties,boost::spirit::unused_type> &,Context &,const Delimiter &,const Attribute &) const' being compiled with [ OutputIterator=sink_type, T1=mapnik::vertex_adapter (void), T2=boost::spirit::unused_type, T3=boost::spirit::unused_type, T4=boost::spirit::unused_type, Context=boost::spirit::context<boost::fusion::cons<const mapnik::detail::vertex_adapter<mapnik::path_type> &,boost::fusion::nil_>,boost::fusion::vector<>>, Delimiter=boost::spirit::unused_type, Attributes=boost::fusion::cons<const mapnik::detail::vertex_adapter<mapnik::path_type> &,boost::fusion::nil_>, Attribute=boost::fusion::cons<const mapnik::detail::vertex_adapter<mapnik::path_type> &,boost::fusion::nil_> ] E:\Personal\SideWorks\vcpkg\installed\x64-windows\include\boost/spirit/home/karma/reference.hpp(56): note: see reference to function template instantiation 'bool boost::spirit::karma::rule<OutputIterator,T1,T2,T3,T4>::generate<Context,Delimiter,Attributes>(boost::spirit::karma::detail::output_iterator<OutputIterator,boost::spirit::karma::rule<OutputIterator,T1,T2,T3,T4>::properties,boost::spirit::unused_type> &,Context &,const Delimiter &,const Attribute &) const' being compiled with [ OutputIterator=sink_type, T1=mapnik::vertex_adapter (void), T2=boost::spirit::unused_type, T3=boost::spirit::unused_type, T4=boost::spirit::unused_type, Context=boost::spirit::context<boost::fusion::cons<const mapnik::detail::vertex_adapter<mapnik::path_type> &,boost::fusion::nil_>,boost::fusion::vector<>>, Delimiter=boost::spirit::unused_type, Attributes=boost::fusion::cons<const mapnik::detail::vertex_adapter<mapnik::path_type> &,boost::fusion::nil_>, Attribute=boost::fusion::cons<const mapnik::detail::vertex_adapter<mapnik::path_type> &,boost::fusion::nil_> ] E:\Personal\SideWorks\vcpkg\installed\x64-windows\include\boost/spirit/home/karma/detail/fail_function.hpp(46): note: see reference to function template instantiation 'bool boost::spirit::karma::reference<const boost::spirit::karma::rule<OutputIterator,T1,T2,T3,T4>>::generate<boost::spirit::karma::detail::output_iterator<OutputIterator,boost::spirit::karma::rule<OutputIterator,T1,T2,T3,T4>::properties,boost::spirit::unused_type>,Context,Delimiter>(boost::spirit::karma::detail::output_iterator<OutputIterator,boost::spirit::karma::rule<OutputIterator,T1,T2,T3,T4>::properties,boost::spirit::unused_type> &,Context &,const Delimiter &,boost::spirit::unused_type) const' being compiled with [
I think this error is somehow related to latest issues related to boost 1.71, can someone please help me with finding the error source? thanks
Hi, While I am compiling python-mapnik with the latest mapnik version I have faced this error
I think this error is somehow related to latest issues related to boost 1.71, can someone please help me with finding the error source? thanks