Compilation problem

classic Classic list List threaded Threaded
2 messages Options
David David
Reply | Threaded
Open this post in threaded view
|

Compilation problem

Hi folks,

I wanted to compile osgearth (trunk version) and encountered a compilation error:

/home/ddangelo/apps/osgearth_trunk/src/osgEarth/CacheSeed.cpp: In member function ‘void osgEarth::CacheSeed::seed(osgEarth::MapConfig*)’:                                  
/home/ddangelo/apps/osgearth_trunk/src/osgEarth/CacheSeed.cpp:57: error: ‘INT_MAX’ was not declared in this scope

I just inserted
#include <limits.h> in CacheSeed.cpp to fix this. I am using ubuntu with g++ 4.3.2.

Cheers,
David
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: Compilation problem

Thanks David, fixed and checked in to the trunk.
Glenn Waldron / Pelican Mapping