[Marble-devel] M_PI on Windows

Tim Sutton tim at linfiniti.com
Wed Aug 15 20:31:37 CEST 2007


Hi

Are you compiling with mingw or mscv? What exactly was the file on
which the compiler halted? Try sending the console output that
includes the error. I'm guessing math.h is missing from one of the
headers but I dont have enough info from your report to say from
which.


Regards

Tim

2007/8/15, Prashanth Udupa <prashanth.udupa at gmail.com>:
> Hi,
>
> When I try to compile Marble on Windows I get a message saying that M_PI was
> not found. Currently I just inserting a statement (const double M_PI =
> 3.1415) in global.h and getting it to work. Is this the right way to do it?
> What should M_PI be? Where is this constant defined?
>
> --
> Thanks and Warm Regards,
> Prashanth N Udupa
>      EMail:      prashanth.udupa at gmail.com
>      Website: http://www.prashanthudupa.com
>      LJ: http://prashanthudupa.livejournal.com/
> _______________________________________________
> Marble-devel mailing list
> Marble-devel at kde.org
> https://mail.kde.org/mailman/listinfo/marble-devel
>
>


-- 
Tim Sutton
QGIS Project Steering Committee Member - Release  Manager
Visit http://qgis.org for a great open source GIS
openModeller Desktop Developer
Visit http://openModeller.sf.net for a great open source ecological
niche modelling tool
Home Page: http://tim.linfiniti.com
Skype: timlinux
Irc: timlinux on #qgis at freenode.net


More information about the Marble-devel mailing list