[Openstreetmap] osmeditor make problem
Nick Whitelegg
Nick.Whitelegg at solent.ac.uk
Wed Jan 11 19:34:16 GMT 2006
Jeremy Davis <jdavis72 at gmail.com>
11/01/2006 18:35
Sent by: openstreetmap-bounces at vr.ucl.ac.uk
To: openstreetmap at vr.ucl.ac.uk
cc:
Subject: Re: [Openstreetmap] osmeditor make problem
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!
>
>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
Hello Jeremy,
Add #include <cmath> to the top of the file Node.h.
<rant>
It's *so* annoying how these errors crop up in some distributions and not
others. Makes identification of this type of error virtually
impossible....:-(
</rant>
Nick
More information about the talk
mailing list