Comments (6)
Can you paste errors? I used libusbx to compile and link against.
I also working on some major refactor to make the cancellations work and add some remote control features.
from bmd-tools.
hi
with libusb-dev libusb-1-0-0-dev and libusb++-dev installed , after make, i get:
gcc -g -O3 -lpthread -lm bmd-streamer.c -o bmd-streamer
bmd-streamer.c:21:20: fatal error: libusb.h: Arquivo ou diretório não encontrado
compilation terminated.
make: ** [bmd-streamer] Erro 1
thanks
from bmd-tools.
Looks like the libusb flags are not found. Maybe the distribution has different pkgconfig file name than what I had. The makefile uses:
LIBUSB_FLAGS += $(shell pkgconf --cflags --libs libusb-1.0)
You might try changing 'libusb-1.0' to 'libusb'. Oh, and it's likely pkg-config and not pkgconf on "regular" distributions.
Try changing that line to:
LIBUSB_FLAGS += $(shell pkg-config --cflags --libs libusb-1.0)
or
LIBUSB_FLAGS += $(shell pkg-config --cflags --libs libusb)
that might fix the issue.
from bmd-tools.
The pkg-config and libusb-1.0 combination did the trick for getting libusb.h , however, now I have this whan trying to make:
gcc -g -O3 -I/usr/include/libusb-1.0 -lusb-1.0 -lpthread -lm bmd-streamer.c -o bmd-streamer
bmd-streamer.c:788:68: error: unknown type name ‘libusb_hotplug_event’
bmd-streamer.c: In function ‘main’:
bmd-streamer.c:826:2: error: unknown type name ‘libusb_hotplug_callback_handle’
bmd-streamer.c:844:3: error: ‘LIBUSB_HOTPLUG_EVENT_DEVICE_ARRIVED’ undeclared (first use in this function)
bmd-streamer.c:844:3: note: each undeclared identifier is reported only once for each function it appears in
bmd-streamer.c:845:3: error: ‘LIBUSB_HOTPLUG_ENUMERATE’ undeclared (first use in this function)
bmd-streamer.c:847:3: error: ‘LIBUSB_HOTPLUG_MATCH_ANY’ undeclared (first use in this function)
bmd-streamer.c:849:3: error: ‘handle_hotplug’ undeclared (first use in this function)
make: ** [bmd-streamer] Erro 1
Fotgot to mention I 'm using debian wheezy 64 bits
thanks again
from bmd-tools.
I suppose libusb is too old. Seems libusb 1.0.16 is the first version where hotplug is supported. libusbx is ok too.
from bmd-tools.
Very nice . compiling https://github.com/libusbx/libusbx from source did
the trick! maybe is good to remark that in the README ?
thanks
2014/1/24 Timo Teräs [email protected]
I suppose libusb is too old. Seems libusb 1.0.16 is the first version
where hotplug is supported. libusbx is ok too.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-33217443
.
Daniel Roviriego
(21) 35920701
(21) 99561654
from bmd-tools.
Related Issues (18)
- H56 Error
- Compilation Issue HOT 1
- Input mode not supported HOT 7
- display_modes not supported HOT 2
- f option not available
- H56 Error on 1080p/60 with -B HOT 1
- Add releses HOT 1
- Usage instructions HOT 1
- USB device accessible only with sudo privileges HOT 3
- Display mode not supported 0x04 HOT 2
- Pro Recorder first Test HOT 8
- bmd-streamer to open in another bash/app HOT 3
- Display modes not supported HOT 9
- better handle for video signal interruption HOT 6
- choose input signal definition and avoid poling HOT 7
- trouble making bmd-streamer to work HOT 7
- input format not supported
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bmd-tools.