Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

Kicad no libraries

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
andrewwalker27
l33t
l33t
User avatar
Posts: 660
Joined: Mon Jun 27, 2005 6:56 pm

Kicad no libraries

  • Quote

Post by andrewwalker27 » Sun Sep 23, 2018 2:06 pm

I've decided to abandon Eagle due to Aoutodesk's takeover and thought I'd try to get to grips with Kicad. As version 5 is now out, and it looks a bit better that older versions,I tried the tutorial but I'm stuck at the first hurdle!
I've created a new project and opened the schema and a requester popped up about a symbol library table so I picked the default 'copy default global symbol library table' as recommended but nothing appears in the library when I go to add a component.
I've installed the kicad-meta-5.0.0 so it all should be there and the libraries seem to exist in /usr/share/kicad/library but nothing appears. I've checked the path and the following exists

KICAD_SYMBOL_DIR /usr/share/kicad/library

So it should work.
When I go to 'manage symbol libraries/global libraries/' it shows /home/fred/.config/sym-lib-table, I'm assuming this is my user config file, can I edit this to point to the correct place?
Is there a more simple fix? The kicad forums are full of these problems but no definitive answer as most of them refer to version 4, does anyone have any solutions?
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56088
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sun Sep 23, 2018 2:20 pm

andrewwalker27,

kicad has been modularised.

Code: Select all

$ eix kicad
* app-doc/kicad-doc
     Available versions:  4.0.7 (~)4.0.7-r1 (~)5.0.0 {html +pdf L10N="ca de en es fr id it ja nl pl"}
     Homepage:            http://www.kicad-pcb.org/
     Description:         Electronic Schematic and PCB design tools manuals

* sci-electronics/kicad
     Available versions:  4.0.7 (~)5.0.0 {debug doc examples github i18n libressl minimal +ngspice +oce +python L10N="bg ca cs de el es fi fr hu it ja ko nl pl pt ru sk sl sv zh-CN" PYTHON_TARGETS="python2_7"}
     Homepage:            http://www.kicad-pcb.org
     Description:         Electronic Schematic and PCB design tools

* sci-electronics/kicad-footprints
     Available versions:  (~)5.0.0
     Homepage:            https://kicad.github.io/footprints/
     Description:         Electronic Schematic and PCB design tools footprint libraries

* sci-electronics/kicad-i18n
     Available versions:  (~)5.0.0
     Homepage:            https://github.com/KiCad/kicad-i18n
     Description:         Electronic Schematic and PCB design tools GUI translations.

* sci-electronics/kicad-meta
     Available versions:  (~)5.0.0 {doc nls}
     Homepage:            http://www.kicad-pcb.org
     Description:         Electronic Schematic and PCB design tools (meta package)

* sci-electronics/kicad-packages3d
     Available versions:  (~)5.0.0
     Homepage:            https://kicad.github.io/packages3d/
     Description:         Electronic Schematic and PCB design tools 3D package libraries

* sci-electronics/kicad-symbols
     Available versions:  (~)5.0.0
     Homepage:            https://kicad.github.io/symbols/
     Description:         Electronic Schematic and PCB design tools symbol libraries

* sci-electronics/kicad-templates
     Available versions:  (~)5.0.0
     Homepage:            https://github.com/kicad/kicad-templates
     Description:         Electronic Schematic and PCB design tools project templates

Found 8 matches
Do you have all the bits you need?
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
andrewwalker27
l33t
l33t
User avatar
Posts: 660
Joined: Mon Jun 27, 2005 6:56 pm

  • Quote

Post by andrewwalker27 » Sun Sep 23, 2018 9:21 pm

Yes, all were pulled in by the kicad-meta package.
Top
Naib
Watchman
Watchman
User avatar
Posts: 6101
Joined: Fri May 21, 2004 9:42 pm
Location: Removed by Neddy
Contact:
Contact Naib
Website

  • Quote

Post by Naib » Wed Oct 03, 2018 10:09 pm

I just checked my kicad setup. I have a locally cloned instance of the git libraries to keep them up to date.

KICAD_SYMBOLS_DIR = home/.../kicad_sources/kicad-symbols
KISYS3DMOD = home/.../kicad_sources/kicad-packages3D


I just installed the meta and pointed back to

KICAD_SYMBOLS_DIR /usr/share/kicad/library/
KICAD_TEMPLATE_DIR /usr/share/kicad/template
KISYS3DMOD /usr/share/kicad/modules/packages3d/
KISYSMOD /usr/share/kicad/modules

I had to remove and re-add within PCBnew for the 3d pretty files but apart from that, all appers fine.

can you see any symbols?

from within Eeschema under symbols library, does it list the libraries?
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Top
andrewwalker27
l33t
l33t
User avatar
Posts: 660
Joined: Mon Jun 27, 2005 6:56 pm

  • Quote

Post by andrewwalker27 » Thu Oct 04, 2018 3:49 pm

It seems that sym-lib-table doesn't get populated for some reason, all I have in /home/user/.config/kicad/sym-lib-table is one line

Code: Select all

(sym_lib_table
)
despite selecting the option to copy the default libraries. I've got another Gentoo box that it seemed to work correctly on so I'll just copy the file over and hope that works!
Top
andrewwalker27
l33t
l33t
User avatar
Posts: 660
Joined: Mon Jun 27, 2005 6:56 pm

  • Quote

Post by andrewwalker27 » Fri Oct 05, 2018 9:01 am

Damn, fixed that problem, now no footprints! Looks like a failure of everything to do with libraries. Is there any way to rerun the script which copies the libraries? I'd like to run it through a console to see why it's failing.
Top
Naib
Watchman
Watchman
User avatar
Posts: 6101
Joined: Fri May 21, 2004 9:42 pm
Location: Removed by Neddy
Contact:
Contact Naib
Website

  • Quote

Post by Naib » Fri Oct 05, 2018 4:25 pm

why not just delete the .config/kicad directory and let kicad repopulate aspects of it
Then you can go into kicad + eeschema + pcbnew and add the relevant directories/files
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Top
andrewwalker27
l33t
l33t
User avatar
Posts: 660
Joined: Mon Jun 27, 2005 6:56 pm

  • Quote

Post by andrewwalker27 » Sat Oct 06, 2018 9:18 pm

That was the first thing I tried with exactly the same result, no libraries or footprints!
I've solved it by copying /usr/share/kicad/template/fp-lib-table and /usr/share/kicad/template/sym-lib-table by hand to my home directory ~/.config/kicad/ and it's now ok. No idea why it didn't do this itself though!
Top
RayDude
Advocate
Advocate
User avatar
Posts: 2195
Joined: Sat May 29, 2004 6:11 am
Location: San Jose, CA

  • Quote

Post by RayDude » Sat Nov 30, 2019 6:12 pm

andrewwalker27 wrote:That was the first thing I tried with exactly the same result, no libraries or footprints!
I've solved it by copying /usr/share/kicad/template/fp-lib-table and /usr/share/kicad/template/sym-lib-table by hand to my home directory ~/.config/kicad/ and it's now ok. No idea why it didn't do this itself though!
Thanks for this.
Some day there will only be free software.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic