How to update Kicad 5.1.2 windows with NGSpice 30?

Hi again,

I typed the script Holger proposed in the message Kicad and simulation and NGspice returned version #27.

I’d like to update it to ver 30 but only process the files that are necessary to Ngspice, not the full installation of Kicad.
Is that possible ?
TIA

Updating is possible. The procedure depends on the operating system.

Please have a look at http://ngspice.sourceforge.net/ngspice-eeschema.html#setting

Thank you for your reply.
I did it but when I launch the simulator from the Tool menu, error messages are displayed:
“Missing ngspice shared library” then
"an unhandled exception occurred. Press “Abort to terminate the program,“Retry” to exit the program normally and “Ignore” to try to continue”.
Ignore and Retry have the same effect:
“Failed to load shared library ‘ngspice.dll’ (error 126: le module spécifié est introuvable.)”.

No trace of any ngspice.dll on my HD.
Reverting to ver #27 is working again.

if I copy the ‘dll-vs’ sub-directory of the zip file containing ngspice.dll or if I put it along with libngspice-0.dll that doesn’t work either: similar error messages.
I’m running windows 7 French version with an English version of kicad. It might be the reason of the message that’s partly in French language.
TIA.

You will need to have the 64 bit version of KiCAD 5.1.2 installed on your system (as recommended by https://kicad.org/download/windows/).

With KiCad 32 bit the update procedure will not work, and you would have to re-install KiCad 32 bit completely, as ngspice-30 is now offered by KiCad 5.1.2.

Please post the KiCad version info here (Eeschema -> help -> version info).

In reply to your request:

Application: kicad
Version: 5.1.2, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.60.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.61.1
Compiler: GCC 7.3.0 with C++ ABI 1011

Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=OFF
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=OFF
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_USE_OCC=OFF
KICAD_SPICE=ON

Thanks

It might just be easier for you to reinstall KiCad. There was a rebuild of the Windows version to include ngspice 30 “in the box” that is distributed as 5.1.2_2 (see the download link in Holger’s message). The underscore 2 may not show in the version information because that is a second version of the installation packaging (to update the bundled ngspice), and not a change to the base KiCad suite.

I haven’t tried this myself yet, but you should hopefully be able to install 5.1.2_2 on top of your current install and that should update the bundled ngspice. If not, try uninstalling your 5.1.2 and then reinstalling with the 5.1.2_2 distribution package.

Hi,
No zip or tar archive I might drop the files from to the right directories on my HD ?
Thanks

Hi,
I upgraded to Kicad 5.1.4 stable found at https://kicad.org/download/windows/
However, after installation, it is reported as:

Application: kicad
Version: (5.1.2)-2, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.68.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.61.1
Compiler: GCC 8.2.0 with C++ ABI 1013
Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=OFF
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=OFF
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_USE_OCC=OFF
KICAD_SPICE=ON

Is that normal ?
Thanks

Mmm I installed the same way, here my information

Application: KiCad
Version: (5.1.4)-1, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.61.1 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.6 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) nghttp2/1.34.0
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.68.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.61.1
Compiler: GCC 8.2.0 with C++ ABI 1013

Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=OFF
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=OFF
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_USE_OCC=OFF
KICAD_SPICE=ON

Did you update your BAT file to point to the correct file?

Hi,
My mistake, I’m really feeling old when I do such kind of errors !
I installed the wrong version. Two or three weeks ago, I downloaded both 5.1.2-2 and 5.1.4 on my disk and clicked on the wrong executable when I installed it.
Everything is running fine at the moment.
Thanks again.

:slight_smile: happens, no need to feel old, It has happened to me as kid, teen, young adult, adult and most probably will keep happening, somebody got a good laugh out of it and that is what matters :stuck_out_tongue:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.