Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KiCAD 5 missing modules #49089

Closed
crawford opened this issue Oct 25, 2018 · 2 comments
Closed

KiCAD 5 missing modules #49089

crawford opened this issue Oct 25, 2018 · 2 comments

Comments

@crawford
Copy link
Contributor

Issue description

KISYSMOD and KISYS3DMOD point to missing directories. On my system they are /nix/store/dlx19m6rpfh79nqng9n7yxflr1vkqyn0-kicad-5.0.0/share/kicad/modules and /nix/store/dlx19m6rpfh79nqng9n7yxflr1vkqyn0-kicad-5.0.0/share/kicad/modules/packages3d/, respectively. Neither of these paths exist though. I do see a few other kicad-5.0.0 directories in the Nix store, but I'm not sure if I should use those (and if so, which one).

Steps to reproduce

  1. rm -rf ~/.config/kicad
  2. kicad
  3. View the environment variables (Preferences > Configure Paths...)

Technical details

 - system: `"x86_64-linux"`
 - host os: `Linux 4.14.76, NixOS, 18.09.932.09195057114 (Jellyfish)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.1.1`
 - channels(root): `"nixos-18.09.932.09195057114"`
 - channels(alex): `"nixpkgs-18.09pre151052.4477cf04b67"`
 - nixpkgs: `/home/alex/.nix-defexpr/channels/nixpkgs`
@crawford crawford changed the title KiCAD 5 missing models KiCAD 5 missing modules Oct 25, 2018
@wirew0rm
Copy link
Contributor

wirew0rm commented Feb 8, 2019

The library is also supposed to be at /nix/store/v6lx1n4ilkkh33ym55avkj7wz665lkh9-kicad-5.0.2/share/kicad/library which does not exist while KICAD_SYMBOL_DIR points to it.

ThibautMarty added a commit to ThibautMarty/nixpkgs that referenced this issue Mar 14, 2019
This splits the KiCad package in several derivations:
- original package (main KiCad package)
- internationalization package
- templates
- schematic symbols libraries
- PCB footprints libraries
- 3D models libraries

From these derivations, 2 packages are exposed in top level:
- `kicad` (main KiCad package + all libraries except 3D models)
- `kicad-with-3dpackages` (kicad + all libraries)

The 3D models can also be installed separately with `kicad.packages3d`.
This prevents a new compilation of KiCad, but the user must set the
`KISYS3DMOD` environment variable or option accordingly.
@gebner
Copy link
Member

gebner commented Apr 30, 2019

Mostly fixed by #57452. Symbols and footprints are now included, and the variables point to the correct location. We don't have the 3D models by default as they're five gigabytes, for that you need to use the kicad-with-packages3d derivation (which unfortunately means recompiling kicad for now).

@gebner gebner closed this as completed Apr 30, 2019
gebner added a commit that referenced this issue Apr 30, 2019
kicad: fix #49089 by adding libraries files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants