← Back to team overview

kicad-developers team mailing list archive

Re: wxDC zoom break through.

 

Wayne Stambaugh wrote:
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.



CMake has a nice download feature. It is well hidden in the docs, but it has a wget like function, which means it can fetch files off the internet from a CMakeLists.txt script or *.cmake script.

Some of these difficult Windows binaries could be pre-built by someone, including us.

It is all part of the grand emperor's plan, that we all fill in the holes of Windows, shore it up, embrace it, work twice as hard to support it, bend over backwards, all the while the emperor frolics around in the nude.

Where is the youth that will notice and alert everyone? I'm amazed it could commercially survive Vista. Yet everyone waited in line to see the naked emperor bring out Windows 7. Go figure, I can't.


Dick







Follow ups

References