On 29/mag/2014, at 18:21, jp charras <[email protected]> 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
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help : https://help.launchpad.net/ListHelp