Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure due to missing libusb_common.h #3

Open
ankostis opened this issue Jun 4, 2022 · 0 comments
Open

Build failure due to missing libusb_common.h #3

ankostis opened this issue Jun 4, 2022 · 0 comments

Comments

@ankostis
Copy link

ankostis commented Jun 4, 2022

Cannot build this repo due to missing libusb_common.h:

/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -I./src -I./src -DPKGDATADIR=\"/usr/local/share/openocd\" -DBINDIR=\"/usr/local/bin\" -I./jimtcl -I./jimtcl -isystem /usr/include/libusb-1.0     -I./src/jtag/drivers/libjaylink/libjaylink -I./src/jtag/drivers/libjaylink  -Wall -Wstrict-prototypes -Wformat-security -Wshadow -Wextra -Wno-unused-parameter -Wbad-function-cast -Wcast-align -Wredundant-decls -Wpointer-arith -Wundef -Wno-error=deprecated-declarations -Werror -g -O2 -MT src/jtag/drivers/libocdjtagdrivers_la-blackmagic.lo -MD -MP -MF src/jtag/drivers/.deps/libocdjtagdrivers_la-blackmagic.Tpo -c -o src/jtag/drivers/libocdjtagdrivers_la-blackmagic.lo `test -f 'src/jtag/drivers/blackmagic.c' || echo './'`src/jtag/drivers/blackmagic.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./src -I./src -DPKGDATADIR=\"/usr/local/share/openocd\" -DBINDIR=\"/usr/local/bin\" -I./jimtcl -I./jimtcl -isystem /usr/include/libusb-1.0 -I./src/jtag/drivers/libjaylink/libjaylink -I./src/jtag/drivers/libjaylink -Wall -Wstrict-prototypes -Wformat-security -Wshadow -Wextra -Wno-unused-parameter -Wbad-function-cast -Wcast-align -Wredundant-decls -Wpointer-arith -Wundef -Wno-error=deprecated-declarations -Werror -g -O2 -MT src/jtag/drivers/libocdjtagdrivers_la-blackmagic.lo -MD -MP -MF src/jtag/drivers/.deps/libocdjtagdrivers_la-blackmagic.Tpo -c src/jtag/drivers/blackmagic.c -o src/jtag/drivers/libocdjtagdrivers_la-blackmagic.o
src/jtag/drivers/blackmagic.c:33:10: fatal error: libusb_common.h: No such file or directory
   33 | #include "libusb_common.h"
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:3829: src/jtag/drivers/libocdjtagdrivers_la-blackmagic.lo] Error 1
make[2]: Leaving directory 'openocd.git'
make[1]: *** [Makefile:4843: all-recursive] Error 1
make[1]: Leaving directory 'openocd.git'
make: *** [Makefile:2005: all] Error 2
(

Couldn't find any help in blackmagic-debug/blackmagic#570 (announcement of this repo).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant