Compilation errors

Rizsanyi Zsolt rizsanyi at myrealbox.com
Sat Oct 12 16:12:52 CDT 2002


On Saturday 12 October 2002 22:58, Shachar Shemesh wrote:
> make[2]: Entering directory `/home/sun/sources/wine/wine/dlls/d3d8'
> ../../tools/makedep -I. -I. -I../../include -I../../include
> -I/usr/X11R6/include -C. basetexture.c cubetexture.c d3d8_main.c
> device.c directx.c indexbuffer.c resource.c surface.c swapchain.c
> texture.c vertexbuffer.c volume.c volumetexture.c
> math.h: No such file or directory
>   math.h was first included from device.c:26
> make[2]: *** [depend] Error 1
> make[2]: Leaving directory `/home/sun/sources/wine/wine/dlls/d3d8'
> make[1]: *** [d3d8/__depend__] Error 2
> make[1]: Leaving directory `/home/sun/sources/wine/wine/dlls'
> make: *** [dlls/__depend__] Error 2
>
> The strange thing is that /usr/include/math.h exists, and seems ok. Then
> again, it does not appear to be in the include path provided for the
> command. Explanations?

The problem is that the math.h is included as:
#include "math.h"
instead of 
#include <math.h>

Change that and it would be ok... (yes that is a bug)

Regards
Zsolt



More information about the wine-devel mailing list