kicad-developers team mailing list archive
Mailing list archive
Using class CMP_LIBRARY - resolving dependencies
I am working on a standalone, fast library/component move/edit program.
First, I thought that I will write my own code for handling libraries files, but then I decided to use eeschema classes to do it.
I would like to create in my program two instances of eeschema CMP_LIBRARY class, to copy/edit components between two libraries.
I've wasted the whole day trying to resolve dependencies between different classes (I think the biggest problem are CMP_LIB_ENTRY & LIB_ENTRY classes which includes almost every other file/class). The structure is too messy for me to understand (too many externs etc.). I would like to ask you for help! Which files I need to include/link to make it work?