KiCad / kicad-mac-builder

The macOS V5+ KiCad builder and packager [moved to https://gitlab.com/kicad]
13 stars 6 forks source link

packaging is breaking the ngspice code models #298

Open lijon opened 4 years ago

lijon commented 4 years ago

See https://bugs.launchpad.net/kicad/+bug/1835296

adamwolf commented 4 years ago

lijon are you still seeing this?

lijon commented 4 years ago

I just tried https://kicad-downloads.s3.cern.ch/osx/testing/5.1/kicad-5.1-nightly-20191026-103423-47deb8dea-10_14.dmg and it seems to work fine.

However, it's a bit confusing that libngspice is bundled at two locations in the app. In lldb I could only see it referencing the one in Frameworks, but if I remove the other one (in PlugIns/sim/) the simulator fails to start:

13:05:26: dlopen(libngspice.dylib, 2): image not found 13:05:28: Unhandled exception class: St13runtime_error what: Could not create simulator instance

adamwolf commented 4 years ago

Thanks. I'll close this.

We do not do this explicitly, it's something that comes with how CMake's bundles things on macOS. Feel free to look into it--I'd love to understand why.

On Sun, Oct 27, 2019 at 7:06 AM Jonatan Liljedahl notifications@github.com wrote:

I just tried https://kicad-downloads.s3.cern.ch/osx/testing/5.1/kicad-5.1-nightly-20191026-103423-47deb8dea-10_14.dmg and it seems to work fine.

However, it's a bit confusing that libngspice is bundled at two locations in the app. In lldb I could only see it referencing the one in Frameworks, but if I remove the other one (in PlugIns/sim/) the simulator fails to start:

13:05:26: dlopen(libngspice.dylib, 2): image not found 13:05:28: Unhandled exception class: St13runtime_error what: Could not create simulator instance

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.