kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #45289
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
-
old ngspice in 599 macOS nightly
From: Holger Vogt, 2021-07-21
-
Re: old ngspice in 599 macOS nightly
From: Jon Evans, 2021-07-21
-
Re: old ngspice in 599 macOS nightly
From: Holger Vogt, 2021-07-22
-
Re: old ngspice in 599 macOS nightly
From: Adam Wolf, 2021-07-22
-
Re: old ngspice in 599 macOS nightly
From: Holger Vogt, 2021-07-22
-
Re: old ngspice in 599 macOS nightly
From: Carsten Schoenert, 2021-07-22
-
Re: old ngspice in 599 macOS nightly
From: Holger Vogt, 2021-07-24
-
Re: old ngspice in 599 macOS nightly
From: Carsten Schoenert, 2021-07-24
-
Re: old ngspice in 599 macOS nightly
From: Holger Vogt, 2021-07-27
-
Re: libngspice versioning by libtool
From: Carsten Schoenert, 2021-07-27
-
Re: libngspice versioning by libtool
From: Holger Vogt, 2021-07-27
-
Re: libngspice versioning by libtool
From: Ian McInerney, 2021-07-27
-
Re: libngspice versioning by libtool
From: Holger Vogt, 2021-07-28
-
Re: libngspice versioning by libtool
From: Ian McInerney, 2021-07-28
-
Re: libngspice versioning by libtool
From: Carsten Schoenert, 2021-07-29
-
Re: libngspice versioning by libtool
From: Carsten Schoenert, 2021-07-29
-
Re: libngspice versioning by libtool
From: Holger Vogt, 2021-07-30
-
Re: libngspice versioning by libtool
From: Carsten Schoenert, 2021-07-30