On Mon, 2003-06-09 at 17:42, mnicolet wrote: > > I expect that my subscription is complete when this mail arrives > I tried to build 4.2.16 on QNX 4.25, with the following configure options > $ > //1/free/fvwm/fvwm-2.4.16/configure --disable-gnome-hints --disable-shape -- > disable-sm --disable-xinerama --disable-gtk-test > > After make started, the compiler stopped on libs/Graphics.c with the > following errors > > Graphics.c(616): Error! E1011: Symbol 'M_PI' has not been declared > Graphics.c(764): Error! E1011: Symbol 'M_PI_2' has not been declared > Graphics.c(768): Error! E1011: Symbol 'M_PI' has not been declared > Graphics.c(773): Error! E1011: Symbol 'M_1_PI' has not been declared > Graphics.c(799): Error! E1011: Symbol 'M_PI_2' has not been declared > Graphics.c(803): Error! E1011: Symbol 'M_PI' has not been declared > Graphics.c(812): Error! E1011: Symbol 'M_1_PI' has not been declared [snip]
These should be defined in your system's math.h. M_PI is π (3.14159...), M_PI_2 is π/2, M_1_PI is 1/π. You should be able to figure out any other constants based on that, should you need to define them by hand. I'm not sure what calculations pi is used in offhand, but you should probably use at least 10-20 digits after the decimal point. -- Ben Winslow <[EMAIL PROTECTED]>
signature.asc
Description: This is a digitally signed message part
