Works on my machine

ok I have a group project. I added a bunch of files and in a folder named Libraries/ in the project folder.
on my machine I assigned the project PATH Libraries to ${PROJ}
when the other collaborators of this project go to look at the model, they don’t see my changes, which amounts to everything in the ${PROJ} environmental variable.

I’d like to change it, but I’m not sure what I should name it, or how to make the enviornemental variable in such a way that all other collaborators will be able to view the project in the same way.
I also don’t understand why I’m having issues creating a relative path, or why other users wouldnt be able to see the files in the relative path.

Beyond this, I’m not sure if there is a way to have a relative environmental variable path, or what to change the path to so that the other folks can see the changes.

KiCad has a default environment variable ${KIPRJMOD} that always points to the current location of the active project.

For the rest, KiCad has also defined some default locations (~/.local/share/kicad/ on linux) which you can use for personalized global libraries.

In a recent similar thread, there was a mention of using git submodules for additional libraries.

Are the other users being authenticated on your local machine ? if they don’t have rights and are not authenticated they won’t get access . . .

1 Like

${KIPROJMOD} is reserved. I did try it, both through the GUI and manually, it either throws a warning, or refuses to let me use that environmental variable.

From ~/.config/kicad/9.0/kicad_common.json


“environment”: {
“vars”: {
“PROJ”: “Libraries”
}

Works on my machine, but Im not sure why it wouldnt work on other linux user systems.
I mean ~/.config/kicad/9.0/kicad_common.json isnt part of the project. … but whatever.
and now this forum is saying i cant reply, bc Im doing it too fast…

The project is shared via github they’ll clone it, so other users will clone the repo, there is no remote access.

I guess you meant ${KIPRJMOD}, which has one O less.
And what do you mean with “reserved”? You do not attempt to set this variable. KiCad defines it for you. You just use it to reference libraries which have a location relative to your project.