← Back to team overview

kicad-developers team mailing list archive

Re: wxDC zoom break through.

 

Dick Hollenbeck wrote:
Wayne Stambaugh wrote:
I got wxWidgets to compile with --enable-graph_ctx on MinGW/MSYS using the modified header files and link libraries from the following link without making any changes.

Nice job Wayne.

I can't take credit for this. Thank the folks who were gracious enough to do this for the community. I just got lucky and stumbled upon it on my travels through internet.

http://www.miscdebris.net/blog/2009/09/17/adding-gdi-headers-to-mingw-to-compile-wxwidgets-with-wxgraphicscontext-support/

As far as licensing goes, I can't really answer that. I'm pretty sure the modified GDI+ header files are not redistributable but I'm not sure about the executables created from them.

We don't have to distribute the header, we could patch an original. But.... as you say..... this says nothing of the binaries built from a modified form of it.

A good reading of the license will help.

I didn't bother to check the license. I wanted to make sure it even worked first. I'll take a look at it when I get a chance.

The last time I checked, Kicad builds on Visual Studio so you should be able to build without any licensing issues that way assuming the GdiPlus headers are included.


Yes, good point. But, out of curiosity, why should we have to redistribute a Microsoft header file?

You wouldn't. You also would not need the modified GdiPlus header files on Visaul Studio. I'm guessing that's where the modified ones used for MinGW ones came from.

Besides, aren't there precompiled wxWidgets libraries for Windows anywhere?

Yes. The binaries and developer files for VS users can be downloaded from wxPython.org.

Wayne

I don't see why everyone has to compile wxWindows for windows. It should be possible to have a binary repo somewhere, download a binary, and build on top of it at the Kicad <-> wxWidgets boundary.


Dick






Follow ups

References