← Back to team overview

kicad-developers team mailing list archive

Re: running gerbview from local build on macOS

 

Isn't there a new cmakevariable to enable the binaries to be run from the
build dir?

ons. 19. aug. 2020 11.38 skrev Jeff Young <jeff@xxxxxxxxx>:

> 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
>

References