← Back to team overview

kicad-developers team mailing list archive

Re: libngspice versioning by libtool

 

Hello Carsten,

there are two thing now open:

I have made an update to ngspice in branch pre-master:
Now all boolean symbols transferred over the ABI are of true boolean type. So the interfacing from any caller does not need to be changed, your compile should then (hopefully) finish successfully.

Concerning loading the ngspice shared library:
With the help of reading the commit
https://gitlab.com/kicad/code/kicad/-/commit/b445b0fab28f7dd41273801d06d7705215c57c0f
the procedure seems to be:
With cmake function get_filename_component() at compile time KiCad detects a path to ngspice and hard-codes it in NGSPICE_DLL_FILE. This variable then is used to load ngspice dynamically at runtime. So everything depends what string one finds in NGSPICE_DLL_FILE (ngspice.cpp).

Unfortunately I have not been able to compile KiCad so far (wxPython/Phoenix seems to be not yet available in openSUSE Leap 15.3). So, Carsten, if you can compile, could you have a look at the contents of NGSPICE_DLL_FILE?

Holger



Follow ups

References