Hi,<br><br>I am using Visual Studio 2005. The compiler says <br><br>e:\marblekde\src\lib\global.h(33) : error C2065: &#39;M_PI&#39; : undeclared identifier<br><br>Actually math.h is included in this header. May be in MSVC 2005 
math.h does not define M_PI?<br><br>Best Regards,<br>Prashanth<br><br><div><span class="gmail_quote">On 8/16/07, <b class="gmail_sendername">Tim Sutton</b> &lt;<a href="mailto:tim@linfiniti.com">tim@linfiniti.com</a>&gt; wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi<br><br>Are you compiling with mingw or mscv? What exactly was the file on<br>which the compiler halted? Try sending the console output that
<br>includes the error. I&#39;m guessing math.h is missing from one of the<br>headers but I dont have enough info from your report to say from<br>which.<br><br><br>Regards<br><br>Tim<br><br>2007/8/15, Prashanth Udupa &lt;
<a href="mailto:prashanth.udupa@gmail.com">prashanth.udupa@gmail.com</a>&gt;:<br>&gt; Hi,<br>&gt;<br>&gt; When I try to compile Marble on Windows I get a message saying that M_PI was<br>&gt; not found. Currently I just inserting a statement (const double M_PI =
<br>&gt; 3.1415) in global.h and getting it to work. Is this the right way to do it?<br>&gt; What should M_PI be? Where is this constant defined?<br>&gt;<br>&gt; --<br>&gt; Thanks and Warm Regards,<br>&gt; Prashanth N Udupa
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;EMail:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:prashanth.udupa@gmail.com">prashanth.udupa@gmail.com</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Website: <a href="http://www.prashanthudupa.com">http://www.prashanthudupa.com</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LJ: <a href="http://prashanthudupa.livejournal.com/">
http://prashanthudupa.livejournal.com/</a><br>&gt; _______________________________________________<br>&gt; Marble-devel mailing list<br>&gt; <a href="mailto:Marble-devel@kde.org">Marble-devel@kde.org</a><br>&gt; <a href="https://mail.kde.org/mailman/listinfo/marble-devel">
https://mail.kde.org/mailman/listinfo/marble-devel</a><br>&gt;<br>&gt;<br><br><br>--<br>Tim Sutton<br>QGIS Project Steering Committee Member - Release&nbsp;&nbsp;Manager<br>Visit <a href="http://qgis.org">http://qgis.org</a> for a great open source GIS
<br>openModeller Desktop Developer<br>Visit <a href="http://openModeller.sf.net">http://openModeller.sf.net</a> for a great open source ecological<br>niche modelling tool<br>Home Page: <a href="http://tim.linfiniti.com">http://tim.linfiniti.com
</a><br>Skype: timlinux<br>Irc: timlinux on #qgis at <a href="http://freenode.net">freenode.net</a><br></blockquote></div><br><br clear="all"><br>-- <br>Thanks and Warm Regards,<br>Prashanth N Udupa<br>&nbsp;&nbsp;&nbsp;&nbsp; EMail:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:prashanth.udupa@gmail.com">
prashanth.udupa@gmail.com</a><br>&nbsp;&nbsp;&nbsp;&nbsp; Website: <a href="http://www.prashanthudupa.com">http://www.prashanthudupa.com</a><br>&nbsp;&nbsp;&nbsp;&nbsp; LJ: <a href="http://prashanthudupa.livejournal.com/">http://prashanthudupa.livejournal.com/</a>