Just another name for (double) Pi.  It is actually defined in almost all C and C++ math libraries, but the ISO standard language bindings disable that definition, perhaps because it is officially supposed to be implemented as a global double constant rather than just a symbolic value.  You can put switches on most compilers that will make the library definition visible, but just defining it (conditionally) yourself is easier and more portable.

-- Tom

On Tue, Oct 13, 2009 at 4:38 AM, walter harms <wharms@bfs.de> wrote:
M_PI is posix if i remember correctly


Jim Watters schrieb:
> Pablo d'Angelo wrote:
>> Hi all,
>> I have just commited some experimental extension to the TrX, TrY, TrZ
>> parameters for mosaicing images of a planar scene to the libpano13 SVN trunk
>> ciao
>>    Pablo
> I just attempted to build.  And I get a build error.
> 1>.\math.c(1807) : error C2065: 'M_PI' : undeclared identifier
> Maybe you meant PI instead, that is defined in filter.h

Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
PanoTools-devel mailing list