Giter VIP home page Giter VIP logo

Comments (7)

schakko avatar schakko commented on August 13, 2024

Does pkg-config --libs libusb or pkg-config --libs usb work?

from node-usb.

geuis avatar geuis commented on August 13, 2024

Neither of those commands runs when executed in the node-usb directory. I had to brew install pkg-config just to try them.

The messages I get for each command are, in turn:

geuiss-Mac-Pro:nodeusb geuis$ pkg-config --libs libusb
Package libusb was not found in the pkg-config search path.
Perhaps you should add the directory containing `libusb.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libusb' found

geuiss-Mac-Pro:nodeusb geuis$ pkg-config --libs usb
Package usb was not found in the pkg-config search path.
Perhaps you should add the directory containing `usb.pc'
to the PKG_CONFIG_PATH environment variable
No package 'usb' found

from node-usb.

schakko avatar schakko commented on August 13, 2024

Ok, does pkg-config --libs libusb-1.0 now work? The error above occured 'cause you did not have installed pkg-config...

from node-usb.

geuis avatar geuis commented on August 13, 2024

Since the time earlier that I filed the issue, I reinstalled libusb via homebrew, hence the path in this message:

-L/usr/local/Cellar/libusb/1.0.8/lib -lusb-1.0

from node-usb.

schakko avatar schakko commented on August 13, 2024

Aww... that seems to be correct.

from node-usb.

geuis avatar geuis commented on August 13, 2024

That seems to have fixed this particular issue. It might be useful to add a check for pkg-config to the build process as a requirement.

from node-usb.

schakko avatar schakko commented on August 13, 2024

wscript searches for pkg-config (f0747e6)

from node-usb.

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.