Hi,<br><br>I am using Visual Studio 2005. The compiler says <br><br>e:\marblekde\src\lib\global.h(33) : error C2065: 'M_PI' : 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> <<a href="mailto:tim@linfiniti.com">tim@linfiniti.com</a>> 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'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 <
<a href="mailto:prashanth.udupa@gmail.com">prashanth.udupa@gmail.com</a>>:<br>> Hi,<br>><br>> When I try to compile Marble on Windows I get a message saying that M_PI was<br>> not found. Currently I just inserting a statement (const double M_PI =
<br>> 3.1415) in global.h and getting it to work. Is this the right way to do it?<br>> What should M_PI be? Where is this constant defined?<br>><br>> --<br>> Thanks and Warm Regards,<br>> Prashanth N Udupa
<br>> EMail: <a href="mailto:prashanth.udupa@gmail.com">prashanth.udupa@gmail.com</a><br>> Website: <a href="http://www.prashanthudupa.com">http://www.prashanthudupa.com</a><br>> LJ: <a href="http://prashanthudupa.livejournal.com/">
http://prashanthudupa.livejournal.com/</a><br>> _______________________________________________<br>> Marble-devel mailing list<br>> <a href="mailto:Marble-devel@kde.org">Marble-devel@kde.org</a><br>> <a href="https://mail.kde.org/mailman/listinfo/marble-devel">
https://mail.kde.org/mailman/listinfo/marble-devel</a><br>><br>><br><br><br>--<br>Tim Sutton<br>QGIS Project Steering Committee Member - Release 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> EMail: <a href="mailto:prashanth.udupa@gmail.com">
prashanth.udupa@gmail.com</a><br> Website: <a href="http://www.prashanthudupa.com">http://www.prashanthudupa.com</a><br> LJ: <a href="http://prashanthudupa.livejournal.com/">http://prashanthudupa.livejournal.com/</a>