I have projects from last spring, they didn’t have errors then, and PCBs worked. But now when I update PCB from SCH I get a lot of errors.
Have libraries or paths changed somehow?
This
It may be that you are using a different KiCad version. Because then the paths no longer match.
Yes, that is the problem. I am now trying to use 7.08
I wonder what has changed
You can simply copy the old libraries from the old KiCad directory to the new KiCad directory in the file manager.
Your project did not get “worse” by sitting on a shelf, but KiCad’s error checking has been improved and extended, and therefore it flags more things that are possibly wrong. So you have to figure out why KiCad flags those warnings and errors, and then make a decision on how you want to fix it.
Also, what else did you change in that project? Take J1 for example. Your used version is from an “OmaLibrary”, and KiCad wants to replace it with a verion from the **“Connector_PinHeader_2.54mm”**library, which is one of KiCad’s defaults.
And what is “a lot of errors”? I see 6, which is not much, and 5 of those 6 are related to a (non standard) “CM4IO” library. For me that is not a lot of errors.
OmaLibrary is my own library in finnish. I wonder why my old paths or libraries didn’t get copied to this project.
I have used quite lot “Save As” with projects, it has worked quite well.
And I dont think my projects had this kind of errors in spring. PCBs worked and library paths were good. (I think)
There is no need to get philosophical about it. Half a year ago you did a project which may have had some residual issues (maybe you just forgot to check it back then). And now KiCad flags a few things for attention. Just fix it and get on with it. That would have taken less time than writing and reading this thread.
Did you even read those error messages. Something is wrong in libraries.
Yes, I did. See my remark from a few posts back. Your project apparently uses some custom libraries that are not in the library table for the project. (or global). If you have trouble with library management, then I recommend you read the part of the manual about it. There are also some FAQ articles about library management. A lot of the FAQ articles are getting a bit old (Written for KiCad V5) but the way the sym-lib-table and fp-lib-table files work is still very similar.
In an attempt to be double plus clear:
The libraries mentioned in your screenshot are not part of KiCad, so you must have installed them yourself at some time. From this part of the world we can’t see What is wrong with your libraries. For that you have to verify the path names in the lib-tables with the actual locations of those libraries. Library management in KiCad is not difficult, but it is not automatic either. So spend some time to read how it works, and then fix your problem.
Something is wrong in libraries
According to your screenshot you have two different kinds of problem.
- error messages like “cannot update U3 - footprint file not found”:
Possible reasons:
library deleted
footprint deleted from library
library not contained in library table (see all answers from paul)
For a first check you could start the footprint editor and try to open the “CM4IO”-library and look which footprints are contained in this library. If the library is not shown in the footprint editor you have re-add it to your library table.
Also make sure to check all the path-variables “Kicad–>Preferences–>Configure Path”, as most library links rely on a correctly set pathname.
How the loss of these libraries happened: I think this is hard to determine in retrospect.
2.) All "Change footprint from “Omalibrary:Pinheader_1x02” to “Connector_Pinheader:Pinheader_1x02” messages. These are information messages and these messages show that prior to your “Update pcb from schematic” there is already a inconsistency between schematic <–>board. And this inconsistency was already present on your old, original version. I would guess that you used the “File–>Export all footprints to library” tool on the old project. This can (optionally) replace all footprint links with links to the new created library. But it doesn’t automatically back-annotate these changes to your schematic, so you ended up with inconsistent board<–>schematic.
Thank you for your comments.
A large part of the problem is that I have had a longish pause with KiCad.
" I would guess that you used the “File–>Export all footprints to library” tool on the old project. This can (optionally) replace all footprint links with links to the new created library. But it doesn’t automatically back-annotate these changes to your schematic, so you ended up with inconsistent board<–>schematic."
I may have used that.
“But* it doesn’t automatically back-annotate these changes to your schematic, so you ended up with inconsistent board<–>schematic.”
" That was it probably
And the database based libraries. I hope I didn’t use that in a production project.
I think I have to build the libraries and their settings once again.
One question: Is it possible to copy all the symbols of the schematic into some folder/Library
Look into File → Export.
Thanks. I did just that, (after copying a couple of symbols via symbol editor.) But KiCad just crashed in the middle of this
By the way. I have problems with libraries. I get these while starting the Library editor
Errors loading symbols:
Error loading symbol library 4xxx.
Library file ‘C:\Users\LM10\Documents\1PCBCAD_LIB\4xxx.kicad_sym’ not found.
Error loading symbol library 4xxx_IEEE.
Library file ‘C:\Users\LM10\Documents\1PCBCAD_LIB\4xxx_IEEE.kicad_sym’ not found.
Error loading symbol library 74xGxx.
Library file ‘C:\Users\LM10\Documents\1PCBCAD_LIB\74xGxx.kicad_sym’ not found.
Error loading symbol library 74xx.
…
…
All Symbols are in my library now. Good
And now library paths, but that is an another problem.
I’ll mark this as solved. At least 1/2 solved.
Edit: I can’t mark more than one message as the solution. I’ll wait until I find a solution for path or not found problem.
Edit 2: It took some time but I have my libraries in a better shape than before.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.