Programming with gtkmm: problem with Arcs and Circles, Clock examples
- From: Wenzel <wgwenzel t-online de>
- To: gtkmm <gtkmm-list gnome org>
- Subject: Programming with gtkmm: problem with Arcs and Circles, Clock examples
- Date: Fri, 27 Apr 2007 17:46:02 +0200
The example applications "Drawing Arcs and Circles" and "Creating a
Clock with Cairo" won't compile (under Windows XP, only !?).
"M_PI" isn't defined.
Inserting "#define pi 3.14159265359" (compare
http://www.gtkmm.org/docs/gtkmm-2.4/examples/gdk/radar.cc)
or - more C++ish - "const double pi = 3.14159265359;" fixes this issue.
Werner Wenzel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]