← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Build broken on OSX since rev. 4895

 

On 29/mag/2014, at 18:21, jp charras <jp.charras@xxxxxxxxxx> wrote:

> Le 29/05/2014 11:45, Bernhard Stegmaier a écrit :
>> 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).
> I just committed changes for OSX compatibility.

Gives a lot of warnings under gcc (10.8) but seems work.

/Users/marco/Development/product/utils/idftools/idf2vrml.cpp:109: warning: missing braces around initializer for 'double [3]'

—
Marco

References