[OSM-dev] Compiling osm-editor; HOWTO?

Joerg Ostertag (OSM Munich/Germany) openstreetmap at ostertag.name
Fri Aug 18 13:50:40 BST 2006


On Friday 18 August 2006 13:24, Nick Whitelegg wrote:
> On Friday 18 Aug 2006 12:11, Joerg Ostertag (OSM Munich/Germany) wrote:
> > Hi,
> >
> > I just tried to compile osm-editor on my debian etch machine. BUt I can't
> > find how to do this. I don't see any autocon or Makefiles and the debian
> > make debuild tells me the following:
> >
> > tweety at moby:~/svn.openstreetmap.org/editors/osm-editor$ debuild
> > debuild: fatal error at line 600:
> > cannot find readable debian/changelog anywhere!
> > Are you in the source code tree?
> >
> >
> > Is there a README i didn't see in svn?
> > If there isn't can we add one?
>
> Hello Joerg,
>
> Which version are you trying to compile - the Qt4 version ? (you should do,
> that's the one being developed at the moment).
>
> If so, you use qmake, which is the Trolltech make system for Qt
> applications. Just type
>
> qmake osmeditor2.pro
>
> followed by
>
> make

tweety at moby:~/svn.openstreetmap.org/editors/osm-editor/qt4$ make
g++ -c -pipe -Wall -W -O2 -D_REENTRANT  -DNO_USB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I. -Ijeeps-gpsbabel-1.2.7 -I/usr/include/qt3 -o 
BatchUploader.o BatchUploader.cpp
OSMObject.h:45: warning: 'class OpenStreetMap::OSMObject' has virtual 
functions but non-virtual destructor
OSMObject.h: In member function 'QByteArray 
OpenStreetMap::OSMObject::toOSM()':
OSMObject.h:113: error: no matching function for call 
to 'QTextStream::QTextStream(QByteArray*)'
/usr/include/qt3/qtextstream.h:191: note: candidates are: 
QTextStream::QTextStream(const QTextStream&)
/usr/include/qt3/qtextstream.h:70: note:                 
QTextStream::QTextStream(FILE*, int)
/usr/include/qt3/qtextstream.h:69: note:                 
QTextStream::QTextStream(QByteArray, int)
/usr/include/qt3/qtextstream.h:68: note:                 
QTextStream::QTextStream(QString&, int)
/usr/include/qt3/qtextstream.h:67: note:                 
QTextStream::QTextStream(QString*, int)
/usr/include/qt3/qtextstream.h:66: note:                 
QTextStream::QTextStream(QIODevice*)
/usr/include/qt3/qtextstream.h:65: note:                 
QTextStream::QTextStream()
OSMObject.h: In member function 'void OpenStreetMap::OSMObject::printTags()':
OSMObject.h:132: error: 'const class QString' has no member named 'toAscii'
OSMObject.h:132: error: 'class QString' has no member named 'toAscii'
Node.h: At global scope:
Node.h:46: warning: 'class OpenStreetMap::Node' has virtual functions but 
non-virtual destructor
OSMLinear.h:29: warning: 'class OpenStreetMap::OSMLinear' has virtual 
functions but non-virtual destructor
Segment.h:31: warning: 'class OpenStreetMap::Segment' has virtual functions 
but non-virtual destructor
Way.h:40: warning: 'class OpenStreetMap::Way' has virtual functions but 
non-virtual destructor
BatchUploader.cpp: In member function 'void 
OpenStreetMap::BatchUploader::nodeAdded(const QByteArray&, void*)':
BatchUploader.cpp:51: error: 'class QString' has no member named 'toAscii'
BatchUploader.cpp:52: error: 'class QString' has no member named 'split'
BatchUploader.cpp:57: error: 'class QString' has no member named 'toAscii'
BatchUploader.cpp:58: error: 'class QString' has no member named 'toAscii'
BatchUploader.cpp: In member function 'void 
OpenStreetMap::BatchUploader::segmentAdded(const QByteArray&, void*)':
BatchUploader.cpp:102: error: 'class QString' has no member named 'split'
BatchUploader.cpp:107: error: 'class QString' has no member named 'toAscii'
BatchUploader.cpp:109: error: 'class QString' has no member named 'toAscii'
BatchUploader.cpp: In member function 'void 
OpenStreetMap::BatchUploader::handleHttpError(int, const QString&)':
BatchUploader.cpp:133: error: 'const class QString' has no member 
named 'toAscii'
BatchUploader.cpp:134: error: 'const class QString' has no member 
named 'toAscii'
BatchUploader.cpp: In member function 'void 
OpenStreetMap::BatchUploader::handleError(const QString&)':
BatchUploader.cpp:140: error: 'const class QString' has no member 
named 'toAscii'
make: *** [BatchUploader.o] Error 1





More information about the dev mailing list