Re: [Kicad-developers] [PATCH] Remove write-only member variables from PNS router.

2016-10-05 Thread Damiano
Freerouting would really appreciate if the "fixed" status is exported correctly from Kicad By doing so it would be possible to correctly "fix" something like radio guides in a PCB and use Freerouting to route in free angle the rest of PCB A "recent" version of Freerouting can be found searc

[Kicad-developers] -Wsuggest-override with scripting enabled

2016-10-05 Thread John Beard
Hi, Rather than blanket-disabling -Wsuggest-override when scripting is enabled, it's possible to turn the warnings off for just the problematic pcbnew_wrap.cxx file using set_source_file_properties(). This means when building with scripting (which I always do), the warnings are still enabled for

Re: [Kicad-developers] Spice simulation on windows.

2016-10-05 Thread Nick Østergaard
Is this really needed? What exactly does the .cm files provide? When I run the latest nightly I can run the allen key demo without problems as far as I can see. Maybe some other simulation modes do not work properly? 2016-09-30 14:37 GMT+02:00 Wayne Stambaugh : > That would work as a long term

Re: [Kicad-developers] Spice simulation on windows.

2016-10-05 Thread Wayne Stambaugh
The .cm files are required to use things like polynomial support used in behavioral models. This was what was giving me fits on windows. I had to modify the spinit file to point to the correct path for the .cm files and set the SPICE_INIT_DIR environment variable to point to the spinit file becau

Re: [Kicad-developers] -Wsuggest-override with scripting enabled

2016-10-05 Thread Wayne Stambaugh
Hey John, I just tested this on mingw32 using gcc 6.2.0 and I'm still getting the override warnings when building pcbnew_wrap.cxx on a clean config and build. I did a verbose build and here is the compiler command: [ 72%] Building CXX object pcbnew/CMakeFiles/pcbnew_kiface.dir/pcbnew_wrap.cxx.ob

Re: [Kicad-developers] -Wsuggest-override with scripting enabled

2016-10-05 Thread Wayne Stambaugh
This is odd. The warnings are not for the pcbnew_wrap.cxx file but the pcbnewPYTHON_wrap.cxx file. I don't see in the cmake source where that is being created. Here is one of the warnings. Is it possible you missed this when you where testing your changes? C:/msys64/home/wstambaugh/build32/kic

Re: [Kicad-developers] Spice simulation on windows.

2016-10-05 Thread Maciej Sumiński
Hi Nick, Are the .cm files included in the Windows nightlies installer? If so, could you tell me what is the relative path to the directory storing them? The easiest way to fix the problem is to send a few commands to ngspice before a simulation starts. Regards, Orson On 10/05/2016 10:23 PM, Nic

Re: [Kicad-developers] Spice simulation on windows.

2016-10-05 Thread Nick Østergaard
They are not currently copied, I have only copied the ngspice dll itself. I suspect they should be installed to the installdir/lib/ngspice/. 2016-10-05 23:16 GMT+02:00 Maciej Sumiński : > Hi Nick, > > Are the .cm files included in the Windows nightlies installer? If so, > could you tell me what is

Re: [Kicad-developers] -Wsuggest-override with scripting enabled

2016-10-05 Thread José Ignacio
On Wed, Oct 5, 2016 at 3:55 PM, Wayne Stambaugh wrote: > pcbnewPYTHON_wrap.cxx That file is a source of pain, it appears to be generated by swig as a side effect and it does go stale sometimes (whenever there is a breaking change in the python api) as cmake is not keeping track of it (the only so

Re: [Kicad-developers] Spice simulation on windows.

2016-10-05 Thread Wayne Stambaugh
@Nick, They are installed in ${CMAKE_INSTALL_PREFIX}/lib/ngspice on msys2 builds so your assumption is correct. The problem is that the spinit file generated at config time will no be correct. We may have to add some script fu to the ngspice-git pkgbuild file to correct the paths in the spinit f

Re: [Kicad-developers] -Wsuggest-override with scripting enabled

2016-10-05 Thread Wayne Stambaugh
On 10/5/2016 5:42 PM, José Ignacio wrote: > On Wed, Oct 5, 2016 at 3:55 PM, Wayne Stambaugh wrote: >> pcbnewPYTHON_wrap.cxx > > That file is a source of pain, it appears to be generated by swig as a > side effect and it does go stale sometimes (whenever there is a > breaking change in the python

Re: [Kicad-developers] -Wsuggest-override with scripting enabled

2016-10-05 Thread José Ignacio
Oh my solution was just to get the thing to build again if it got stale, it wouldn't fix the current problem :( On Wed, Oct 5, 2016 at 6:07 PM, Wayne Stambaugh wrote: > On 10/5/2016 5:42 PM, José Ignacio wrote: >> On Wed, Oct 5, 2016 at 3:55 PM, Wayne Stambaugh wrote: >>> pcbnewPYTHON_wrap.cxx >

Re: [Kicad-developers] -Wsuggest-override with scripting enabled

2016-10-05 Thread jp charras
Le 06/10/2016 à 01:07, Wayne Stambaugh a écrit : > On 10/5/2016 5:42 PM, José Ignacio wrote: >> On Wed, Oct 5, 2016 at 3:55 PM, Wayne Stambaugh wrote: >>> pcbnewPYTHON_wrap.cxx >> >> That file is a source of pain, it appears to be generated by swig as a >> side effect and it does go stale sometime

Re: [Kicad-developers] kicad promotion in help menu

2016-10-05 Thread Cirilo Bernardo
Hi folks, Any comments on this patch I proposed a few weeks ago? https://lists.launchpad.net/kicad-developers/msg26412.html The patch adds a menu item in the main menu Help list to launch the system's default browser and bring up the "Contribute to KiCad" page (http://kicad-pcb.org/contribute/)

Re: [Kicad-developers] kicad promotion in help menu

2016-10-05 Thread Tomasz Wlostowski
On 06.10.2016 08:13, Cirilo Bernardo wrote: > Hi folks, > > Any comments on this patch I proposed a few weeks ago? > > https://lists.launchpad.net/kicad-developers/msg26412.html > > The patch adds a menu item in the main menu Help list to launch the > system's default browser and bring up the "

Re: [Kicad-developers] kicad promotion in help menu

2016-10-05 Thread jp charras
Le 06/10/2016 à 08:13, Cirilo Bernardo a écrit : > Hi folks, > > Any comments on this patch I proposed a few weeks ago? > > https://lists.launchpad.net/kicad-developers/msg26412.html > > The patch adds a menu item in the main menu Help list to launch the > system's default browser and bring up

Re: [Kicad-developers] -Wsuggest-override with scripting enabled

2016-10-05 Thread John Beard
On Thu, Oct 6, 2016 at 7:10 AM, jp charras wrote: > > It works for me, but I had to modify the patch > the change in pcbnew/CMakeLists.txt is > if( COMPILER_SUPPORTS_WSUGGEST_OVERRIDE ) > set_source_files_properties(pcbnew_wrap.cxx pcbnewPYTHON_wrap.cxx > PROPERTIES COMPIL