Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

osm-editor Node.h needs to include cmath to compile osmeditor2 #123

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

Comments

@openstreetmap-trac
Copy link

Reporter: openstreetmap[at]gagravarr.org
[Submitted to the original trac issue database at 6.42pm, Wednesday, 11th January 2006]

Currently, building osmeditor2 on debian testing or fedora core 4 fails with:

make osmeditor2
c++ -w -g -I/usr/lib/qt-3.3/include/ 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

Adding "#include " to Node.h fixes this

@openstreetmap-trac
Copy link
Author

Author: jth[at]home.se
[Added to the original trac issue at 7.10pm, Sunday, 23rd July 2006]

This looks old. Have you tried the new version for QT4?

@openstreetmap-trac
Copy link
Author

Author: osm[at]bcowan.fastmail.co.uk
[Added to the original trac issue at 2.15am, Saturday, 24th November 2007]

osm-editor is probably dead these days.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant