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
idftools.diff
Description: Binary data
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

