[Merkaartor] Countdown to 0.16 release

Chris Browet cbro at semperpax.com
Wed May 19 23:51:20 BST 2010


I used zbar 0.10, while only zbar 0.8 is availabel in Debian, I think, and
the interface changed.. I'll see if I can make it work with zbar 0.8.

In the meanwhile, just omit ZBAR=1. The walking paper is usable without it,
just that you have to input the WP code manually.

- Chris -

On Thu, May 20, 2010 at 00:26, Bernd Zeimetz <bernd at bzed.de> wrote:

> On 05/19/2010 10:42 AM, Chris Browet wrote:
>
> Last git head from gitorious doesn't build unfortunately:
>
>
> g++ -c -pipe -I/usr/include/gdal -g -Wall -W -D_REENTRANT -DVERSION=0.16
> -DREVISION= -DUSE_WEBKIT -D_TTY_POSIX_ -DUSE_GPS -DUSE_GPSD_LIB
> -DPLUGINS_DIR=/usr/lib/merkaartor/plugins -DSHARE_DIR=/usr/share/merkaartor
> -DTRANSDIR_MERKAARTOR=/usr/share/merkaartor/translations
> -DTRANSDIR_SYSTEM=/usr/share/qt4/translations/ -DGEOIMAGE -DUSE_ZBAR
> -DUSE_GDAL
> -DWORLD_SHP=/usr/share/merkaartor/world_background.osb -DQT_WEBKIT_LIB
> -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
> -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I.
> -I/usr/include/qt4/QtCore
> -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui
> -I/usr/include/qt4/QtXml
> -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtWebKit -I/usr/include/qt4
> -I../3rdparty/qtsingleapplication-2.6_1-opensource/src -I../include
> -I../interfaces -I../include/builtin-ggl -I. -IRender -Iqextserialport
> -IGPS
> -INameFinder -IFeatures -ILayers -IPreferences -ISync -ICommands
> -IInteractions
> -IDocks -IImportExport -ITools -ITagTemplate -I. -I. -o GeoImageDock.o
> Docks/GeoImageDock.cpp
> Docks/GeoImageDock.cpp:10:18: error: zbar.h: No such file or directory
> In file included from Docks/GeoImageDock.cpp:11:
> /usr/include/zbar/QZBarImage.h:38: error: expected class-name before ‘{’
> token
> /usr/include/zbar/QZBarImage.h: In constructor
> ‘zbar::QZBarImage::QZBarImage(const QImage&)’:
> /usr/include/zbar/QZBarImage.h:50: error: ‘FormatError’ was not declared in
> this
> scope
> /usr/include/zbar/QZBarImage.h:55: error: ‘set_size’ was not declared in
> this scope
> /usr/include/zbar/QZBarImage.h:56: error: ‘set_format’ was not declared in
> this
> scope
> /usr/include/zbar/QZBarImage.h:58: error: ‘set_data’ was not declared in
> this scope
> /usr/include/zbar/QZBarImage.h:62: error: ‘FormatError’ was not declared in
> this
> scope
> Docks/GeoImageDock.cpp: In member function ‘void
> GeoImageDock::loadImages(QStringList)’:
> Docks/GeoImageDock.cpp:558: error: ‘ImageScanner’ is not a member of ‘zbar’
> Docks/GeoImageDock.cpp:558: error: expected ‘;’ before ‘scanner’
> Docks/GeoImageDock.cpp:561: error: ‘scanner’ was not declared in this scope
> Docks/GeoImageDock.cpp:561: error: ‘ZBAR_NONE’ is not a member of ‘zbar’
> Docks/GeoImageDock.cpp:561: error: ‘ZBAR_CFG_ENABLE’ is not a member of
> ‘zbar’
> Docks/GeoImageDock.cpp:565: error: ‘Image’ is not a member of ‘zbar’
> Docks/GeoImageDock.cpp:565: error: expected ‘;’ before ‘tmp’
> Docks/GeoImageDock.cpp:566: error: ‘tmp’ was not declared in this scope
> Docks/GeoImageDock.cpp:567: error: ‘class zbar::QZBarImage’ has no member
> named
> ‘set_symbols’
> Docks/GeoImageDock.cpp:575: error: ‘zbar::Image’ has not been declared
> Docks/GeoImageDock.cpp:575: error: expected ‘;’ before ‘symbol’
> Docks/GeoImageDock.cpp:575: error: ‘symbol’ was not declared in this scope
> Docks/GeoImageDock.cpp:575: error: ‘class zbar::QZBarImage’ has no member
> named
> ‘symbol_end’
> Docks/GeoImageDock.cpp:610: error: ‘class zbar::QZBarImage’ has no member
> named
> ‘set_data’
> make[2]: *** [GeoImageDock.o] Error 1
>
> >
>
> Cheers,
>
> Bernd
>
> --
>  Bernd Zeimetz                            Debian GNU/Linux Developer
>  http://bzed.de                                http://www.debian.org
>  GPG Fingerprints: 06C8 C9A2 EAAD E37E 5B2C BE93 067A AD04 C93B FF79
>                   ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F
>
> _______________________________________________
> Merkaartor mailing list
> Merkaartor at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/merkaartor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/merkaartor/attachments/20100520/1a7d23c7/attachment.html>


More information about the Merkaartor mailing list