Giter Site home page Giter Site logo

Running on Windows about plotkicadsch HOT 7 CLOSED

jnavila avatar jnavila commented on June 5, 2024
Running on Windows

from plotkicadsch.

Comments (7)

jnavila avatar jnavila commented on June 5, 2024

plotgitsch.exe version 0.8.0 is downloadable from the release page: https://github.com/jnavila/plotkicadsch/releases/download/v0.8.0/plotgitsch.exe

Are you trying to compile the master branch? I haven't compiled on windows for a while and it's still a difficult task as I only rely on an external build pipeline.

from plotkicadsch.

jnavila avatar jnavila commented on June 5, 2024

Did you opam pin add kicadsch . ?

You don't really need to use the opam command. Try make build and get the binary in "_build/default/plotkicadsch/src/plotgitsch.exe`

from plotkicadsch.

jorlee99 avatar jorlee99 commented on June 5, 2024

Did you opam pin add kicadsch . ?

You don't really need to use the opam command. Try make build and get the binary in "_build/default/plotkicadsch/src/plotgitsch.exe`
Hi there, so I am trying to get this on windows so thanks for your help!

the opam pin add kicadsch . and opam pin add plotkicadsch . worked and now both packages are installed. Going through your tutorial on the user guide I hit another roadblock. I run the following command within the kicad_playground directory and get the following

$plotgitsch
fatal: ambiguous argument 'HEAD^commit': unknown revision or path not in the wor king tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]' use compare (ImageMagick) between bitmaps between Git rev HEAD and file system .

If you could lend a hand that would be great!

from plotkicadsch.

jnavila avatar jnavila commented on June 5, 2024

The argument should be HEAD^{commit}. So the curly braces have been removed... Are you using PowerShell? Curly braces have a special meaning in PowerShell and they are removed when passed to the program.

If you have another shell (bash, cmd.com), could you try with it?

from plotkicadsch.

jorlee99 avatar jorlee99 commented on June 5, 2024

I have tried this with git bash as well as cygdrive (bash and a unix based terminal). this is the following output out of cygdrive

$ plotgitsch schematic/kicad_playground.kicad_pcb
fatal: ambiguous argument 'schematic/kicad_playground.kicad_pcb^commit': unknown
 revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
use compare (ImageMagick) between bitmaps between Git rev schematic/kicad_playgr
ound.kicad_pcb and file system .
Git Exception: cannot parse rev schematic/kicad_playground.kicad_pcb

and this is the one out of bash

$ plotgitsch schematic/kicad_playground.kicad_pcb
fatal: ambiguous argument 'schematic/kicad_playground.kicad_pcb^{commit}': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
use compare (ImageMagick) between bitmaps between Git rev schematic/kicad_playground.kicad_pcb and file system .
Git Exception: cannot parse rev schematic/kicad_playground.kicad_pcb

I'm not sure if this is any help? Seems like the same error.

from plotkicadsch.

jnavila avatar jnavila commented on June 5, 2024

Hello,

The command is not plotgitsch schematic/kicad_playground.kicad_pcb . This utility compares schematics, not PCB. As stated in the small tutorial, plotgitsch only accepts revisions as parameters. Comparing specific files can only work if you specify a *.sch file with the -f option.

from plotkicadsch.

leoheck avatar leoheck commented on June 5, 2024

Hey @jnavila thanks for your help. plotgitsch is working on Windows with WSL, which is actually linux hehe.

Issues with Opam were fixed by disabling the sandboxing.

opam init --disable-sandboxing --reinit

from plotkicadsch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.