Giter Club home page Giter Club logo

Comments (10)

robin-weaver avatar robin-weaver commented on May 31, 2024 1

Installing via snap worked perfectly! All working fine, thanks for the help.

from huhnitor.

the-Jamz avatar the-Jamz commented on May 31, 2024

No worries- on Windows or (I presume) Mac, if you don't need to enter any arguments, just running it as you would a normal program should work fine. If you need manual mode, or if you're having trouble, CDing into the folder containing the executable and entering the full name
(including .exe on Windows) followed by any arguments will run it.

On Linux, CDing into the directory containing the executable then running ./[name] eg ./huhnitor_1.0.1_linux will run it.

If you're on Mac, please note we currently can't test for this platform, but we should be able to soon.

from huhnitor.

robin-weaver avatar robin-weaver commented on May 31, 2024

Okay, turns out I'm not as bad as thought, that's what I was doing but I'm getting this error:
-bash: ./huhnitor_1.0.1_linux: cannot execute binary file: Exec format error

Any thoughts? Running this on a Pi on raspbian lite.

Edit: Only having this issue on the pi. It launches perfectly on my debian based VM.

from huhnitor.

the-Jamz avatar the-Jamz commented on May 31, 2024

Yes, appears that Raspbian is not supported on our pre-compiled Linux release. If you would like to run it on there, check the README for instructions on how to compile it on the Pi. (This would allow you to run it on there). You can download the code at the time of the release on the releases page, next to the executables. If you're feeling brave, you could try the code from master.

from huhnitor.

robin-weaver avatar robin-weaver commented on May 31, 2024

Thanks! I'll see how I get on.

from huhnitor.

spacehuhn avatar spacehuhn commented on May 31, 2024

Maybe we can setup a raspi to compile a binary for our releases too 🤔

from huhnitor.

robin-weaver avatar robin-weaver commented on May 31, 2024

@spacehuhn If you don't have one or access to one I'd be happy to help :)

from huhnitor.

spacehuhn avatar spacehuhn commented on May 31, 2024

Yes you can help by trying to compile and run it on your pi and give us feedback :)

from huhnitor.

robin-weaver avatar robin-weaver commented on May 31, 2024

Hey just tried this on a fresh upgraded install of raspbian lite, got the following error while compiling after following the readme compiling instructions:

`error: failed to run custom build command for `libudev-sys v0.1.4`

Caused by:
  process didn't exit successfully: `/home/pi/Huhnitor/target/release/build/libudev-sys-0ca2f787a064fa72/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "`\"pkg-config\" \"--libs\" \"--cflags\" \"libudev\"` did not exit successfully: exit code: 1\n--- stderr\nPackage libudev was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libudev.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'libudev\' found\n"', /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/libudev-sys-0.1.4/build.rs:38:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

warning: build failed, waiting for other jobs to finish...
error: build failed`

Should I open a separate issue for this?

from huhnitor.

spacehuhn avatar spacehuhn commented on May 31, 2024

Sorry for the late reply, it seems like you're missing dependencies, try running sudo apt install libudev-dev pkg-config.
Also, just setup snap support yesterday sudo snap install huhnitor --edge --devmode - check out the README

from huhnitor.

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.