[Openstreetmap-dev] Error compiling osm-editor

Niccolo Rigacci niccolo at rigacci.org
Wed Sep 14 09:18:57 BST 2005

Hi to all,

Today I downloaded osm sources from svn:

svn --username anonymous co http://www.openstreetmap.org/svn

than I did:

   cd ~/svn/osm-editor/jeeps-0.1.4-nick/
   cd ~/svn/osm-editor/

I get this error:

SRTMConGen.cpp:71: error: 'floor' was not declared in this scope

If I "#include <math.h>" in the file SRTMConGen.cpp the error
goes away, but I get several other errors in other files, always
related to missing <math.h>. Is there something I missed?

I'm on a Debian Etch box, upgraded yesterday to gcc 4.0.1, libc6 
2.3.5, ...

Niccolo Rigacci
Firenze - Italy

War against Iraq? Not in my name!

More information about the dev mailing list