← Back to team overview

kicad-developers team mailing list archive

Re: running gerbview from local build on macOS

 

I won't speak for Jonatan, but installing after a full build on MacOS takes
significant time.  In fact, if I'm changing a single file and recompiling,
doing the install probably takes ~10x longer than the compile.  So, for
iterating quickly, it's not great.

On Wed, Aug 26, 2020 at 5:22 PM Nick Østergaard <oe.nick@xxxxxxxxx> wrote:

> Why don't you just install it?
>
> On Wed, 19 Aug 2020 at 13:04, Jonatan Liljedahl <lijon@xxxxxxxxxxxx>
> wrote:
> >
> > I see! But isn't gerbview always run standalone? Running pcbnew and
> > eeschema from the main kicad project manager works fine from the build
> > directory, as long as you don't open a pcb or schematic which are not
> > named the same as the project - then it will launch a standalone
> > instance.
> >
> > On Wed, Aug 19, 2020 at 12:14 PM Ian McInerney <Ian.S.McInerney@xxxxxxxx>
> wrote:
> > >
> > > My solution was not to use anything other than the main kicad launcher
> ;). So I never used standalone pcbnew/eeschema/gerbview/... on OSX. I did
> figure out what it would take to fix the kiface detection issue, and
> started https://gitlab.com/kicad/code/kicad/-/merge_requests/82 to try to
> make it so everything will work from the build directory, but I haven't
> gotten around to figuring out the Python pathing yet (that is the one that
> is most troublesome for me now that I switched back to a Linux daily driver
> machine - the kifaces just work for me now :) ).
> > >
> > > -Ian
> > >
> > > On Wed, Aug 19, 2020 at 10:39 AM Jeff Young <jeff@xxxxxxxxx> wrote:
> > >>
> > >> It’s a “thing” on OSX.  I run the attached script which fixes things
> up.  Sadly it has to be run after each build.
> > >>
> > >> I know Jon has the same issue, but I haven’t heard about it from
> Ian.  Perhaps he has a better solution….
> > >>
> > >> Cheers,
> > >> Jeff.
> > >>
> > >>
> > >>
> > >> On 19 Aug 2020, at 10:32, Jonatan Liljedahl <lijon@xxxxxxxxxxxx>
> wrote:
> > >>
> > >> I now tried deleting the old system-wide /Applications/KiCad, and now
> > >> when clicking the gerbview button in project manager it gives the same
> > >> error about not finding _gerbview.kiface
> > >>
> > >> On Wed, Aug 19, 2020 at 11:25 AM Jonatan Liljedahl <
> lijon@xxxxxxxxxxxx> wrote:
> > >>
> > >>
> > >> Hi! I'm having difficulties launching gerbview from my local build.
> > >>
> > >> I'm opening kicad.app like this, while standing in the build directory
> > >> (/Users/lijon/Coding/kicad/build/master)
> > >>
> > >>    open kicad/kicad.app
> > >>
> > >> ...which works fine. However, clicking the gerbview button in the
> > >> project manager launches an old gerbview installed in systemwide
> > >> /Applications/KiCad/
> > >>
> > >> Trying to open it manually by
> > >>
> > >>    open gerbview/gerbview.app
> > >>
> > >> fails with "Failed to load kiface library
> > >> “/Users/lijon/Coding/kicad/build/Contents/PlugIns/_gerbview.kiface”
> > >> and then crashes.
> > >>
> > >> Same with:
> > >>
> > >>    ./gerbview/gerbview.app/Contents/MacOS/gerbview
> > >>
> > >> except now it tries to look in
> > >> /Users/lijon/Coding/kicad/build/master/Contents/PlugIns/
> > >>
> > >> I've also tried to stand in the kicad.app directory and open it from
> > >> there, but with similar results.
> > >>
> > >> Any ideas how to run a locally built gerbview on macOS?
> > >>
> > >> Cheers
> > >> --
> > >> /Jonatan
> > >> http://kymatica.com
> > >>
> > >>
> > >>
> > >>
> > >> --
> > >> /Jonatan
> > >> http://kymatica.com
> > >>
> > >> _______________________________________________
> > >> Mailing list: https://launchpad.net/~kicad-developers
> > >> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> > >> Unsubscribe : https://launchpad.net/~kicad-developers
> > >> More help   : https://help.launchpad.net/ListHelp
> > >>
> > >>
> > >> _______________________________________________
> > >> Mailing list: https://launchpad.net/~kicad-developers
> > >> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> > >> Unsubscribe : https://launchpad.net/~kicad-developers
> > >> More help   : https://help.launchpad.net/ListHelp
> >
> >
> >
> > --
> > /Jonatan
> > http://kymatica.com
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~kicad-developers
> > Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~kicad-developers
> > More help   : https://help.launchpad.net/ListHelp
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References