Giter VIP home page Giter VIP logo

Comments (7)

couriersud avatar couriersud commented on July 25, 2024

Hi Mike,

I have added the TARGETOS=arch option to the makefile and updated README.md.
Can you please check if this is now working?

What monitor are you using? The information would be helpful to update the supported monitor matrix in README.md.

from msigd.

cosmicdan avatar cosmicdan commented on July 25, 2024

Just FYI, I didn't have to do anything special on Arch - I just compiled as normal while installing those packages.

With the latest update, I can still just call make fine. With TARGETOS=arch I get a linker error though, easily fixed by changing -lhidapi to -lhidapi-libusb in arch makefile bit :)

from msigd.

mike-vivas avatar mike-vivas commented on July 25, 2024

Hi @couriersud,
thank you for the changes and sorry for the delay.
The lusb-1.0 is now working but, as cosmicdan mentioned, now the hidapi-library link is broken.
In arch the library is called -lhidapi-hidraw (like for the normal "linux" targetos)
could you please change it back in the makefile?
(The pacman command that you put in the README is correct - the library is installed as "hidapi" but it has to be linked as "lhidapi-hidraw" or "lhidapi-libusb" - I do not really know the difference but it compiles with both)

@cosmicdan: thanks for the feedback.
How is this possible? Before posting I also checked with a friend of mine running on arch (kernel 5.6.4). He also installed the libusb library but was not able to build with the -lusb link. He had to change it to -lusb-1.0 as well.
What does it depend upon? It is just a missing link in /usr/lib/ I guess...

from msigd.

cosmicdan avatar cosmicdan commented on July 25, 2024

from msigd.

couriersud avatar couriersud commented on July 25, 2024

When make TARGETOS=arch is used, LIBS now default to
LIBS = -lusb-1.0 -lhidapi-hidraw
@mike-vivas : Can you please check this is working now? Thanks a lot!

from msigd.

mike-vivas avatar mike-vivas commented on July 25, 2024

works perfectly! Thanks!

As for your question about the monitor: I've got a MAG321CURV, which seems to be quite well documented in the README...
should you need any additional information, let me know.

from msigd.

couriersud avatar couriersud commented on July 25, 2024

Mike, thanks a lot!
And well, the MAG321CURV is the monitor in front of me :-)

from msigd.

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.