← Back to team overview

kicad-developers team mailing list archive

[PATCH] Build broken on OSX since rev. 4895

 

Hi,

build on OSX is broken since rev. 4895 (I guess)… 
The include <glu.h> is not found because __DARWIN__ is not set. Moving the include of glcanvas.h from the .cpp to the beginning of the header seems to fix this. Further, it seems as if no special library is needed to link against - especially “GLU” doesn’t exist (and pcbnew also does link glu32 only on Windows).

The attached patch fixes at least the compilation problem for me on OSX and corrects the include guard (copy&paste bug I guess).


Regards,
Bernhard

Attachment: idftools.diff
Description: Binary data


Follow ups