Hi again, Am 29.07.21 um 10:29 schrieb Carsten Schoenert: > From a quick built of ngspice (branch pre-master with current HEAD) I > can run a KiCad 5.99 without issues with a new version of > libngspice0.so.0.0.1. > > Will do further testing this.
to shorten the story, I can use any existing old version of KiCad 5.1.9 .10 and also .99 together with an updated package libngspice to pre-master 35 of ngspice within a Debian testing. Al my testing did happen on Debian testing. I could also configure, built and use successful some old tree of KiCad 5.99 to together with a new library of libngspice.so.0.0.1. The current HEAD (4633840) is able to get a target built configured, but breaks later with some non libngspice related failure. > [ 42%] Building CXX object > eeschema/CMakeFiles/eeschema_kiface_objects.dir/dialogs/dialog_print_using_printer.cpp.o > [ 42%] Building CXX object > common/CMakeFiles/pcbcommon.dir/__/pcbnew/kicad_clipboard.cpp.o > [ 42%] Building CXX object > common/CMakeFiles/pcbcommon.dir/__/pcbnew/netlist_reader/kicad_netlist_reader.cpp.o > [ 42%] Building CXX object > eeschema/CMakeFiles/eeschema_kiface_objects.dir/dialogs/dialog_print_using_printer_base.cpp.o > /home/carsten/gitprojects/kicad-upstream/kicad/pcbnew/netlist_reader/kicad_netlist_reader.cpp:241:22: > error: use of undeclared identifier 'T_pinfunction' > case T_pinfunction: > ^ > /home/carsten/gitprojects/kicad-upstream/kicad/pcbnew/netlist_reader/kicad_netlist_reader.cpp:247:22: > error: use of undeclared identifier 'T_pintype' > case T_pintype: > ^ > /home/carsten/gitprojects/kicad-upstream/kicad/pcbnew/netlist_reader/kicad_netlist_reader.cpp:371:14: > error: use of undeclared identifier 'T_property' > case T_property: > ^ > 3 errors generated. > make[2]: *** [common/CMakeFiles/pcbcommon.dir/build.make:689: > common/CMakeFiles/pcbcommon.dir/__/pcbnew/netlist_reader/kicad_netlist_reader.cpp.o] > Fehler 1 > make[2]: *** Es wird auf noch nicht beendete Prozesse gewartet.... > [ 42%] Building CXX object > eeschema/CMakeFiles/eeschema_kiface_objects.dir/dialogs/dialog_rescue_each.cpp.o > make[1]: *** [CMakeFiles/Makefile2:2983: common/CMakeFiles/pcbcommon.dir/all] > Fehler 2 > make[1]: *** Es wird auf noch nicht beendete Prozesse gewartet.... The current HEAD in branch 5.1. is getting configured successful but is failing while compiling with this error message with then updated packages of libngspice0 and libngspice0-dev: > [ 87%] Building CXX object > pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/dialogs/dialog_pns_length_tuning_settings.cpp.o > [ 87%] Building CXX object > eeschema/CMakeFiles/eeschema_kiface.dir/sim/netlist_exporter_pspice_sim.cpp.o > [ 87%] Building CXX object > eeschema/CMakeFiles/eeschema_kiface.dir/sim/ngspice.cpp.o > [ 87%] Building CXX object > pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/dialogs/dialog_pns_length_tuning_settings_base.cpp.o > /home/carsten/gitprojects/kicad-upstream/kicad/eeschema/sim/ngspice.cpp:341:47: > error: cannot initialize a parameter of type 'ControlledExit *' (aka 'int > (*)(int, int, int, int, void *)') with an rvalue of type 'int (*)(int, bool, > bool, int, void *)': type mismatch at 2nd parameter ('NG_BOOL' (aka 'int') vs > 'bool') > m_ngSpice_Init( &cbSendChar, &cbSendStat, &cbControlledExit, NULL, NULL, > &cbBGThreadRunning, this ); > ^~~~~~~~~~~~~~~~~ > 1 error generated. > make[2]: *** [eeschema/CMakeFiles/eeschema_kiface.dir/build.make:2588: > eeschema/CMakeFiles/eeschema_kiface.dir/sim/ngspice.cpp.o] Fehler 1 > make[2]: *** Es wird auf noch nicht beendete Prozesse gewartet.... Looks currently to me if something needs to get cherry picked from master into 5.1. At least I can remembering that some fixing around this was already happen in the past. -- Regards Carsten _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp