Re: [Kicad-developers] wxPython/wxWidgets compatibility check

2018-02-21 Thread Maciej Sumiński
Gah, I would expect there is a consistent way to do the checks. I made the check Linux specific, as actually it is the only platform that can have wxWidgets built against different toolkits. Thanks for the report. Cheers, Orson On 02/21/2018 11:30 AM, Nick Østergaard wrote: > But I notice it is b

Re: [Kicad-developers] wxPython/wxWidgets compatibility check

2018-02-21 Thread Nick Østergaard
But I notice it is broken on the macos nightly. It can not import the wx python module and hence we get an empty string for the toolkit from wxpython, (osx_cocoa vs ). http://ci.kicad-pcb.org/job/osx-kicad-adam-head/576/console 2018-02-20 23:55 GMT+01:00 Nick Østergaard : > Yippee, build fixed

Re: [Kicad-developers] wxPython/wxWidgets compatibility check

2018-02-20 Thread Nick Østergaard
Yippee, build fixed! Project KiCad (Windows, MSYS2) Nightly Build build #203: FIXED in 30 min: http://darine.hogyros.de:8080/job/windows-kicad-msys2/203/ 2018-02-20 20:33 GMT+01:00 Maciej Suminski : > Apologies, it should be fine now. > > Cheers, > Orson > > On 02/20/2018 08:09 PM, Wayne Stambaug

Re: [Kicad-developers] wxPython/wxWidgets compatibility check

2018-02-20 Thread Maciej Suminski
Apologies, it should be fine now. Cheers, Orson On 02/20/2018 08:09 PM, Wayne Stambaugh wrote: > Me too! Orson, can you please take a look at this when you get a chance. > > On 2/20/2018 12:10 PM, Nick Østergaard wrote: >> Ok, but it seems to break the msys2 build. >> >> http://darine.hogyros.d

Re: [Kicad-developers] wxPython/wxWidgets compatibility check

2018-02-20 Thread Wayne Stambaugh
Me too! Orson, can you please take a look at this when you get a chance. On 2/20/2018 12:10 PM, Nick Østergaard wrote: > Ok, but it seems to break the msys2 build. > > http://darine.hogyros.de:8080/job/windows-kicad-msys2/202/console > > *17:58:19* > C:/msys64/mingw32/lib/python2.7/site-packag

Re: [Kicad-developers] wxPython/wxWidgets compatibility check

2018-02-20 Thread Nick Østergaard
Ok, but it seems to break the msys2 build. http://darine.hogyros.de:8080/job/windows-kicad-msys2/202/console *17:58:19* C:/msys64/mingw32/lib/python2.7/site-packages/wx-3.0-msw/wx/_core.py:16633: UserWarning: wxPython/wxWidgets release number mismatch*17:58:19* warnings.warn("wxPython/wxWidgets

Re: [Kicad-developers] wxPython/wxWidgets compatibility check

2018-02-20 Thread Maciej Sumiński
Ok, committed with a message explaining the possible solutions. Cheers, Orson On 02/20/2018 03:22 PM, Wayne Stambaugh wrote: > Orson, > > You should just be able to turn of the wxPython scripting. All of the > other scripting should work fine unless someone changed something that > drags in wxP

Re: [Kicad-developers] wxPython/wxWidgets compatibility check

2018-02-20 Thread Wayne Stambaugh
Orson, You should just be able to turn of the wxPython scripting. All of the other scripting should work fine unless someone changed something that drags in wxPython when only the KICAD_SCRIPTING option is enabled. Cheers, Wayne On 2/20/2018 2:40 AM, Maciej Sumiński wrote: > Hi Nick, > > Than

Re: [Kicad-developers] wxPython/wxWidgets compatibility check

2018-02-19 Thread Maciej Sumiński
Hi Nick, Thank you for testing the patch. I think a hint about disabling scripting is a good idea. Do you know if it is enough just to disable wxPython or rather everything scripting related should be turned off? There is a different warning when GTK3 is detected as the wxWidgets toolkit. Regard

Re: [Kicad-developers] wxPython/wxWidgets compatibility check

2018-02-19 Thread Nick Østergaard
Ok, I just tried to do: In [3]: wx.version() Out[3]: '4.0.1 gtk3 (phoenix)' I clearly also have python2-wxpython-phoenix installed. I just tried to remove that from my system. Now it seems to complete the cmake configure successfully. I guess the patch works afterall :D But I have a comment. Sh

Re: [Kicad-developers] wxPython/wxWidgets compatibility check

2018-02-19 Thread Nick Østergaard
Hello Maciej, I just tested your patch on archlinux. It does not seem to work properly, tested in a clean build dir. Even if I remove wxpython (with gtk3) and install wxpython-gtk2 (with gtk2 from AUR) it still complains that there is a mismatch. I have wxwidgets with gtk2 and gtk3 installed, taht

[Kicad-developers] wxPython/wxWidgets compatibility check

2018-02-17 Thread Maciej Suminski
In order to prevent faulty builds in case of wxPython/wxWidgets toolkit mismatch [1,2] (gtk2 vs gtk3), I added a check in CMakeLists. I verified it with Windows 7 and Linux, but I would love to hear from OSX users that I do not break their build. Cheers, Orson 1. https://forum.kicad.info/t/9493 2