[Openstreetmap] osmeditor make problem

Jeremy Davis jdavis72 at gmail.com
Wed Jan 11 18:35:25 GMT 2006


On 1/11/06, Nick Whitelegg <Nick.Whitelegg at solent.ac.uk> wrote:
>
>
>
>
> Jeremy Davis <jdavis72 at gmail.com>
> 11/01/2006 03:37
>
> Sent by:    openstreetmap-bounces at vr.ucl.ac.uk
>
>
> To:    openstreetmap at vr.ucl.ac.uk
> cc:
> Subject:    [Openstreetmap] osmeditor make problem
>
> >I'm trying to compile the latest version from svn, and I get this
> >error at the end:
>
> >/usr/bin/ld: cannot find -lqt
> >collect2: ld returned 1 exit status
> >make: *** [osmeditor] Error 1
> >rm moc_MainWindow.cpp
>
> >What does this mean? This is on Ubuntu 5.10 Thanks in advance!
>
> >Jeremy
>
>
> Hello Jeremy,
>
> You need to install the Qt development library, this might be something
> like libqt3-dev ie
>
> apt-get install libqt3-dev
>
> You'll also need to install the cURL development library:
>
> apt-get install libcurl-dev
>
> Also you should make osmeditor2 for the latest version:
>
> make osmeditor2
>
> I need to change the makefile to do this automatically....
>
> Nick
>
>

Hey Nick. I've got the libqt3-mt-dev, libqt4-dev, & libcurl3-dev
libraries from the ubuntu repositories. However, using "make
osmeditor2" gives me this error now:

c++ -w -g -I/usr/include/qt3 `curl-config --cflags`
-I/usr/local/include  -Ijeeps-gpsbabel-1.2.7   -c -o osmeditor2.o
osmeditor2.cpp
Node.h: In member function 'bool OpenStreetMap::Node::operator==(const
OpenStreetMap::Node&)':
Node.h:92: error: 'fabs' was not declared in this scope
make: *** [osmeditor2.o] Error 1

Jeremy




More information about the talk mailing list