[Qgis-developer] OSM intergration: first public release

Andreas Neumann a.neumann at carto.net
Tue Feb 10 07:18:04 EST 2009


thank you - it compiles fine now.

Is this plugin Proxy-aware? Probably not - I tried the downloader at work
and it times out after a while. I will try again at home where I don't
have to go through the proxy ...

I'll report if it works from home.

Thanks,
Andreas

On Mon, February 9, 2009 4:43 pm, Martin Dobias wrote:
> On Mon, Feb 9, 2009 at 4:27 PM, Andreas Neumann <a.neumann at carto.net>
> wrote:
>> Hi Martin,
>>
>> I tried to compile your plugin but get the following error:
>>
>> -----------------
>> /home/an/dev/cpp/qgis/src/providers/osm/osmprovider.cpp: In member
>> function &#8216;void QgsOSMDataProvider::fetchNode(QgsFeature&,
>> sqlite3_stmt*, bool, QgsAttributeList&)&#8217;:
>> /home/an/dev/cpp/qgis/src/providers/osm/osmprovider.cpp:456: error:
>> &#8216;memset&#8217; is not a member of &#8216;std&#8217;
>> /home/an/dev/cpp/qgis/src/providers/osm/osmprovider.cpp:459: error:
>> &#8216;memcpy&#8217; is not a member of &#8216;std&#8217;
>> /home/an/dev/cpp/qgis/src/providers/osm/osmprovider.cpp:460: error:
>> &#8216;memcpy&#8217; is not a member of &#8216;std&#8217;
>> /home/an/dev/cpp/qgis/src/providers/osm/osmprovider.cpp: In member
>> function &#8216;bool QgsOSMDataProvider::addWay(QgsFeature&)&#8217;:
>> /home/an/dev/cpp/qgis/src/providers/osm/osmprovider.cpp:1250: error:
>> &#8216;memset&#8217; is not a member of &#8216;std&#8217;
>> /home/an/dev/cpp/qgis/src/providers/osm/osmprovider.cpp:1253: error:
>> &#8216;memcpy&#8217; is not a member of &#8216;std&#8217;
>> /home/an/dev/cpp/qgis/src/providers/osm/osmprovider.cpp:1263: error:
>> &#8216;memcpy&#8217; is not a member of &#8216;std&#8217;
>> /home/an/dev/cpp/qgis/src/providers/osm/osmprovider.cpp:1264: error:
>> &#8216;memcpy&#8217; is not a member of &#8216;std&#8217;
>> /home/an/dev/cpp/qgis/src/providers/osm/osmprovider.cpp: In member
>> function &#8216;bool QgsOSMDataProvider::postparsing()&#8217;:
>> /home/an/dev/cpp/qgis/src/providers/osm/osmprovider.cpp:1565: error:
>> &#8216;memset&#8217; is not a member of &#8216;std&#8217;
>> /home/an/dev/cpp/qgis/src/providers/osm/osmprovider.cpp:1568: error:
>> &#8216;memcpy&#8217; is not a member of &#8216;std&#8217;
>> /home/an/dev/cpp/qgis/src/providers/osm/osmprovider.cpp:1585: error:
>> &#8216;memcpy&#8217; is not a member of &#8216;std&#8217;
>> /home/an/dev/cpp/qgis/src/providers/osm/osmprovider.cpp:1586: error:
>> &#8216;memcpy&#8217; is not a member of &#8216;std&#8217;
>> make[2]: ***
>> [src/providers/osm/CMakeFiles/osmprovider.dir/osmprovider.o]
>> Error 1
>> make[1]: *** [src/providers/osm/CMakeFiles/osmprovider.dir/all] Error 2
>> make: *** [all] Error 2
>> ----------------
>>
>> I am on Ubuntu 8.10, 64bit; QGIS trunk; QT 4.4.3
>>
>> Any idea what's wrong here?
>
> Hi Andreas,
>
> there is a missing #include which causes that the compilation fails on
> some configurations.
> Please use a newer snapshot with the fixed problem:
> http://mapserver.sk/~wonder/qgis/osm_provider-snapshot-090209.tar.gz
>
> Martin
>


-- 
Andreas Neumann
http://www.carto.net/neumann/
http://www.svgopen.org/



More information about the Qgis-developer mailing list