Simulator and pspice export: library include path is always empty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Undecided
|
jean-pierre charras |
Bug Description
I'm using kicad compiled from master on debian (lmde). I pulled just now (d365dc590efa2e
Application: kicad
Version: (2016-12-22 revision d365dc5)-master, release build
Libraries: wxWidgets 3.0.2
Platform: Linux 3.16.0-4-amd64 x86_64, 64 bit, Little endian, wxGTK
- Build Info -
wxWidgets: 3.0.2 (wchar_t,wx containers,
Boost: 1.55.0
Curl: 7.38.0
KiCad - Compiler: GCC 4.9.2 with C++ ABI 1002
Settings: USE_WX_
If NET_ADJUST_
.include ""
instead of using the original path. Presumably this is why the new built-in simulator also fails with a cryptic message (wish I could get a dump of its internal spice commands on failure!).
It looks like there is no way to set NET_ADJUST_
thx
tags: | added: export spice |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
On further consideration, i think this bug primarily affects the spice netlist export.
The diff is so small I'm just pasting it. :)
diff --git a/eeschema/ netlist_ exporters/ netlist_ exporter_ pspice. cpp b/eeschema/ netlist_ exporters/ netlist_ exporter_ pspice. cpp netlist_ exporters/ netlist_ exporter_ pspice. cpp netlist_ exporters/ netlist_ exporter_ pspice. cpp EXPORTER_ PSPICE: :Format( OUTPUTFORMATTER* aFormatter, unsigned aCtl
full_ path = lib;
index 6a4511a..fd1cc37 100644
--- a/eeschema/
+++ b/eeschema/
@@ -83,6 +83,10 @@ bool NETLIST_
}
}
+ else
+ {
+ full_path = lib; // just use the unaltered path
+ }
}